Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9098/0.9098, allocations: 158.6 MB / 185 MB, free: 3.062 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1369/0.1369, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.285e-05, allocations: 2.281 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002615/0.002637, allocations: 1.676 MB / 408.6 MB, free: 484 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.004202, allocations: 1.485 MB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.143e-05/0.004274, allocations: 0 / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.004576, allocations: 39.77 kB / 410.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.004813, allocations: 63.62 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.005031, allocations: 87.64 kB / 410.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.005189, allocations: 103.6 kB / 410.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.005291, allocations: 4.234 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.205e-05/0.005373, allocations: 55.88 kB / 410.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.005477, allocations: 27.91 kB / 410.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.005499, allocations: 4 kB / 410.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.00561, allocations: 63.84 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.005666, allocations: 23.91 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.005704, allocations: 15.94 kB / 410.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.005908, allocations: 123.5 kB / 410.7 MB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005911, allocations: 4 kB / 410.7 MB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005912, allocations: 3.938 kB / 410.7 MB, free: 14.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.005917, allocations: 0 / 410.7 MB, free: 14.37 MB / 394.7 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.0005162/0.006433, allocations: 329.7 kB / 411 MB, free: 14.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.006479, allocations: 12.03 kB / 411 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.006517, allocations: 30.75 kB / 411.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.006559, allocations: 8.891 kB / 411.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.006753, allocations: 145.6 kB / 411.2 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.006767, allocations: 4.375 kB / 411.2 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.006783, allocations: 384 / 411.2 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.00693, allocations: 113.3 kB / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.006939, allocations: 0 / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.006948, allocations: 0 / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.006954, allocations: 4 kB / 411.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.838e-05/0.007002, allocations: 19.92 kB / 411.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.007289, allocations: 259.9 kB / 411.6 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.007405, allocations: 58.61 kB / 411.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.007439, allocations: 16.86 kB / 411.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.007451, allocations: 4 kB / 411.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.007571, allocations: 71.38 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.007572, allocations: 0 / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003975/0.007969, allocations: 173.4 kB / 411.9 MB, free: 12.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.008013, allocations: 81.11 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.008118, allocations: 161 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.008132, allocations: 29.7 kB / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.008173, allocations: 96.09 kB / 412.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.008198, allocations: 31.77 kB / 412.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.008228, allocations: 21.72 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.008316, allocations: 330.8 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.829e-05/0.008354, allocations: 19.98 kB / 412.7 MB, free: 12.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.981e-05/0.008404, allocations: 76.2 kB / 412.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.32e-05/0.008477, allocations: 57.7 kB / 412.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008478, allocations: 0 / 412.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001135/0.008592, allocations: 97.66 kB / 412.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.008604, allocations: 8 kB / 412.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.008608, allocations: 80 / 412.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.008621, allocations: 8.047 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.339e-05/0.008684, allocations: 12.19 kB / 412.9 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.008691, allocations: 7.984 kB / 412.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.926e-05/0.00872, allocations: 3.938 kB / 412.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.008728, allocations: 8 kB / 412.9 MB, free: 11.88 MB / 394.7 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 7.208e-05/0.0088, allocations: 129.7 kB / 413.1 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.008811, allocations: 7.953 kB / 413.1 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.008966, allocations: 118.4 kB / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.008968, allocations: 0 / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.008972, allocations: 4 kB / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.008975, allocations: 0 / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.009264, allocations: 370.3 kB / 413.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.009265, allocations: 0 / 413.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.009286, allocations: 8.375 kB / 413.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.00929, allocations: 11.92 kB / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.009298, allocations: 4 kB / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.0093, allocations: 4 kB / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.009302, allocations: 7.938 kB / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.009435, allocations: 204.3 kB / 413.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.009446, allocations: 15.97 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.009462, allocations: 7.984 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.057e-05/0.009503, allocations: 4 kB / 413.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.009533, allocations: 11.92 kB / 413.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.009545, allocations: 4 kB / 413.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.211e-05/0.009607, allocations: 119.2 kB / 413.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009607, allocations: 0 / 413.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.009797, allocations: 31.88 kB / 414 MB, free: 10.76 MB / 394.7 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.001052/0.01085, allocations: 1.183 MB / 415.2 MB, free: 9.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.01099, allocations: 59.97 kB / 415.2 MB, free: 9.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01099, allocations: 0 / 415.2 MB, free: 9.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.312e-05/0.01103, allocations: 31.92 kB / 415.3 MB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.01126, allocations: 31.86 kB / 415.3 MB, free: 9.457 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.01246, allocations: 1.57 MB / 416.9 MB, free: 7.789 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.414e-05/0.01254, allocations: 88 kB / 416.9 MB, free: 7.684 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.835e-05/0.0126, allocations: 12.97 kB / 417 MB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.01266, allocations: 36.48 kB / 417 MB, free: 7.633 MB / 394.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01266, allocations: 0 / 417 MB, free: 7.633 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.0296, allocations: 4.427 MB / 421.4 MB, free: 3.051 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.063/7.093, allocations: 3.953 kB / 421.4 MB, free: 3.047 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.298469992354512]