Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 108.3 kB / 20.48 MB, free: 0.9805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 218.5 kB / 23.78 MB, free: 4.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.5 MB / 257.5 MB, free: 7.715 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 46.95 MB / 360.9 MB, free: 3.852 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 87.8 kB / 0.4963 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3609, allocations: 66.09 MB / 0.5609 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003175/0.3641, allocations: 1.701 MB / 0.5625 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.3658, allocations: 0.9671 MB / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.794e-05/0.3659, allocations: 3.938 kB / 0.5635 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.3662, allocations: 55.75 kB / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.3665, allocations: 99.59 kB / 0.5636 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.3667, allocations: 75.69 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.3669, allocations: 107.7 kB / 0.5638 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.655e-05/0.367, allocations: 9.828 kB / 0.5638 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.047e-05/0.3671, allocations: 43.78 kB / 0.5638 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.777e-05/0.3672, allocations: 35.72 kB / 0.5639 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3672, allocations: 4 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.25e-05/0.3673, allocations: 39.98 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.3674, allocations: 27.92 kB / 0.5639 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.422e-05/0.3674, allocations: 43.72 kB / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.3676, allocations: 119.5 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3677, allocations: 0 / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3677, allocations: 0 / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3677, allocations: 3.938 kB / 0.5641 GB, free: 0.5859 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000581/0.3682, allocations: 369.3 kB / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3683, allocations: 8.031 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.3683, allocations: 34.75 kB / 0.5645 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.3684, allocations: 12.89 kB / 0.5645 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.3687, allocations: 163 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.3687, allocations: 8.359 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.3687, allocations: 4.375 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3689, allocations: 57.8 kB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3689, allocations: 0 / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3689, allocations: 7.984 kB / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3689, allocations: 3.938 kB / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.369, allocations: 19.98 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.3694, allocations: 259.9 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.3696, allocations: 58.67 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.23e-05/0.3696, allocations: 24.78 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.3696, allocations: 4 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.3698, allocations: 63.39 kB / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3698, allocations: 0 / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005912/0.3704, allocations: 189.3 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.3705, allocations: 51.41 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.3707, allocations: 239 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3707, allocations: 29.7 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.3708, allocations: 120.1 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.3708, allocations: 27.83 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.3709, allocations: 29.66 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.371, allocations: 330.8 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.3711, allocations: 20 kB / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.3712, allocations: 34.08 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.3713, allocations: 65.64 kB / 0.5662 GB, free: 14.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3713, allocations: 0 / 0.5662 GB, free: 14.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002048/0.3715, allocations: 113.5 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3715, allocations: 10.03 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3715, allocations: 0 / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3715, allocations: 0 / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.3716, allocations: 15.98 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3716, allocations: 4 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.001e-05/0.3717, allocations: 7.938 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.3717, allocations: 4 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.3718, allocations: 133.8 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.3718, allocations: 15.91 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.3721, allocations: 127.2 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3721, allocations: 0 / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3721, allocations: 4 kB / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3721, allocations: 0 / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.3726, allocations: 378.3 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3726, allocations: 0 / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.3726, allocations: 15.94 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3726, allocations: 0 / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.3726, allocations: 0 / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3726, allocations: 11.97 kB / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3726, allocations: 240 / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.3729, allocations: 220.2 kB / 0.5672 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.3729, allocations: 11.91 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.3729, allocations: 0 / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/0.373, allocations: 11.94 kB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.3731, allocations: 7.984 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3731, allocations: 4 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001565/0.3732, allocations: 175.2 kB / 0.5675 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3732, allocations: 0 / 0.5675 GB, free: 12.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.3735, allocations: 27.98 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002243/0.3757, allocations: 1.133 MB / 0.5686 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.3759, allocations: 63.84 kB / 0.5686 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3759, allocations: 4.062 kB / 0.5686 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.376, allocations: 35.91 kB / 0.5687 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.3763, allocations: 31.73 kB / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.3783, allocations: 1.763 MB / 0.5704 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.401e-05/0.3784, allocations: 96.86 kB / 0.5705 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.181e-05/0.3785, allocations: 25.2 kB / 0.5706 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.3785, allocations: 40.48 kB / 0.5706 GB, free: 9.68 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3785, allocations: 0 / 0.5706 GB, free: 9.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.4075, allocations: 4.38 MB / 0.5749 GB, free: 5.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.46, allocations: 14.25 kB / 0.5749 GB, free: 5.32 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.656664695008658]