Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001416/0.001416, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.00224/0.00224, allocations: 214.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.582/1.582, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.249/0.249, allocations: 46.94 MB / 360.8 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 71.88 kB / 0.4967 GB, free: 7.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.4609, allocations: 66.03 MB / 0.5612 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00402/0.4649, allocations: 1.942 MB / 0.5631 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.4675, allocations: 1.159 MB / 0.5642 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.4676, allocations: 3.938 kB / 0.5642 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006176/0.4682, allocations: 251.4 kB / 0.5645 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005746/0.4688, allocations: 243.1 kB / 0.5647 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.4691, allocations: 111.7 kB / 0.5648 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.4695, allocations: 271.2 kB / 0.5651 GB, free: 376 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.4697, allocations: 29.94 kB / 0.5651 GB, free: 344 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.4699, allocations: 135.4 kB / 0.5652 GB, free: 208 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.4702, allocations: 215.4 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.4702, allocations: 12 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.4704, allocations: 59.92 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.4705, allocations: 67.7 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.4706, allocations: 95.28 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004341/0.4711, allocations: 261.1 kB / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4711, allocations: 0 / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4711, allocations: 0 / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.4711, allocations: 0 / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009438/0.472, allocations: 0.5274 MB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4721, allocations: 8.031 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.4721, allocations: 32.75 kB / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.4726, allocations: 236.8 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.4726, allocations: 4.375 kB / 0.5667 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.4727, allocations: 16.12 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.4729, allocations: 107.3 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.4729, allocations: 4 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.473, allocations: 3.938 kB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.473, allocations: 4 kB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.4731, allocations: 43.97 kB / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006799/0.4738, allocations: 455.7 kB / 0.5673 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/0.4742, allocations: 117.2 kB / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.4743, allocations: 41.83 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.4743, allocations: 7.938 kB / 0.5675 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.4746, allocations: 125 kB / 0.5676 GB, free: 13.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.4746, allocations: 0 / 0.5676 GB, free: 13.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001442/0.476, allocations: 0.5086 MB / 0.5681 GB, free: 13.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.4761, allocations: 85.05 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005861/0.4767, allocations: 0.4976 MB / 0.5686 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.4767, allocations: 33.7 kB / 0.5687 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.4769, allocations: 172.5 kB / 0.5688 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.162e-05/0.477, allocations: 67.44 kB / 0.5689 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.477, allocations: 41.7 kB / 0.5689 GB, free: 12.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.4773, allocations: 350.8 kB / 0.5693 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.4774, allocations: 55.97 kB / 0.5693 GB, free: 11.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.4776, allocations: 95.34 kB / 0.5694 GB, free: 11.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.4779, allocations: 167.4 kB / 0.5696 GB, free: 11.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.4779, allocations: 4 kB / 0.5696 GB, free: 11.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004246/0.4783, allocations: 229.3 kB / 0.5698 GB, free: 11.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.4783, allocations: 15.88 kB / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4783, allocations: 4.062 kB / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.4783, allocations: 4 kB / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.4785, allocations: 39.97 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.4785, allocations: 4 kB / 0.5699 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.167e-05/0.4786, allocations: 8 kB / 0.5699 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.4786, allocations: 4 kB / 0.5699 GB, free: 11.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001928/0.4788, allocations: 178.3 kB / 0.57 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.4788, allocations: 47.67 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005341/0.4794, allocations: 269.3 kB / 0.5703 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.4794, allocations: 4 kB / 0.5704 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4794, allocations: 0 / 0.5704 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.4794, allocations: 4 kB / 0.5704 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.4804, allocations: 0.7184 MB / 0.5711 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4804, allocations: 0 / 0.5711 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.583e-05/0.4805, allocations: 27.98 kB / 0.5711 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4805, allocations: 3.938 kB / 0.5711 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.4805, allocations: 12 kB / 0.5711 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4805, allocations: 0 / 0.5711 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4805, allocations: 4.188 kB / 0.5711 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.481, allocations: 435.5 kB / 0.5715 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.4811, allocations: 27.81 kB / 0.5715 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.4812, allocations: 11.98 kB / 0.5716 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.4813, allocations: 8 kB / 0.5716 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.327e-05/0.4814, allocations: 27.91 kB / 0.5716 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.4814, allocations: 8 kB / 0.5716 GB, free: 9.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003924/0.4818, allocations: 375.1 kB / 0.572 GB, free: 8.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4818, allocations: 0 / 0.572 GB, free: 8.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003674/0.4821, allocations: 55.86 kB / 0.572 GB, free: 8.898 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002054/0.4842, allocations: 0.5176 MB / 0.5725 GB, free: 8.586 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003901/0.4846, allocations: 143.8 kB / 0.5727 GB, free: 8.445 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4846, allocations: 0 / 0.5727 GB, free: 8.445 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.4848, allocations: 75.84 kB / 0.5727 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/0.4853, allocations: 64.31 kB / 0.5728 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.4864, allocations: 0.6058 MB / 0.5734 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.4869, allocations: 0.787 MB / 0.5741 GB, free: 6.855 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.487, allocations: 37.94 kB / 0.5742 GB, free: 6.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.4871, allocations: 35.42 kB / 0.5742 GB, free: 6.785 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4871, allocations: 0 / 0.5742 GB, free: 6.785 MB / 414.1 MB Notification: Performance of Templates: time 0.008143/0.4952, allocations: 3.29 MB / 0.5774 GB, free: 3.523 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.654514060122892]