Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009371/0.000937, allocations: 180.9 kB / 14.15 MB, free: 1.164 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 221.3 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008199/0.00082, allocations: 98.64 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1771/0.1771, allocations: 44.14 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.606e-05/2.607e-05, allocations: 4 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3529/0.4589, allocations: 89.48 MB / 0.5891 GB, free: 15.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.4591, allocations: 75.95 kB / 0.5892 GB, free: 15.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02103/0.4802, allocations: 8.075 MB / 0.5971 GB, free: 7.688 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4802, allocations: 0 / 0.5971 GB, free: 7.688 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.4802, allocations: 4 kB / 0.5971 GB, free: 7.684 MB / 410.7 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.0005449/0.4808, allocations: 497.7 kB / 0.5975 GB, free: 7.152 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.4808, allocations: 8.031 kB / 0.5975 GB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.4809, allocations: 23.72 kB / 0.5976 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.4813, allocations: 274.5 kB / 0.5978 GB, free: 6.809 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.4813, allocations: 7.953 kB / 0.5978 GB, free: 6.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.4814, allocations: 11.91 kB / 0.5978 GB, free: 6.789 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.4815, allocations: 115.2 kB / 0.598 GB, free: 6.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4816, allocations: 0 / 0.598 GB, free: 6.664 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.4816, allocations: 4 kB / 0.598 GB, free: 6.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4816, allocations: 0 / 0.598 GB, free: 6.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.051e-05/0.4817, allocations: 43.98 kB / 0.598 GB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.4822, allocations: 484.7 kB / 0.5985 GB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.4825, allocations: 121.2 kB / 0.5986 GB, free: 5.953 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.4826, allocations: 45.77 kB / 0.5986 GB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.4826, allocations: 4 kB / 0.5986 GB, free: 5.898 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.4828, allocations: 121.1 kB / 0.5987 GB, free: 5.762 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.705e-06/0.4828, allocations: 0 / 0.5987 GB, free: 5.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007771/0.4836, allocations: 424.7 kB / 0.5991 GB, free: 5.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.4836, allocations: 81.11 kB / 0.5992 GB, free: 5.242 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.4839, allocations: 327.3 kB / 0.5995 GB, free: 4.918 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.484, allocations: 33.7 kB / 0.5996 GB, free: 4.879 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.4841, allocations: 140.5 kB / 0.5997 GB, free: 4.738 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.4841, allocations: 75 kB / 0.5998 GB, free: 4.664 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.4841, allocations: 7.938 kB / 0.5998 GB, free: 4.656 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.4842, allocations: 338.8 kB / 0.6001 GB, free: 4.316 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.4843, allocations: 55.98 kB / 0.6002 GB, free: 4.262 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.798e-05/0.4844, allocations: 84.73 kB / 0.6002 GB, free: 4.168 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.4846, allocations: 62.61 kB / 0.6003 GB, free: 4.109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4846, allocations: 4 kB / 0.6003 GB, free: 4.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002975/0.4849, allocations: 225.7 kB / 0.6005 GB, free: 3.879 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4849, allocations: 4 kB / 0.6005 GB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.4849, allocations: 0 / 0.6005 GB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4849, allocations: 7.953 kB / 0.6005 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.4851, allocations: 43.92 kB / 0.6006 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4851, allocations: 4 kB / 0.6006 GB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.289e-05/0.4852, allocations: 7.984 kB / 0.6006 GB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.4852, allocations: 16.06 kB / 0.6006 GB, free: 3.797 MB / 410.7 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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.706e-05/0.4853, allocations: 121 kB / 0.6007 GB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.4853, allocations: 31.62 kB / 0.6007 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004107/0.4858, allocations: 259.8 kB / 0.601 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.4858, allocations: 4 kB / 0.601 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4858, allocations: 3.953 kB / 0.601 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.4858, allocations: 7.922 kB / 0.601 GB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008128/0.4866, allocations: 0.7584 MB / 0.6017 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4866, allocations: 0 / 0.6017 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.912e-05/0.4867, allocations: 39.86 kB / 0.6018 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.4867, allocations: 4 kB / 0.6018 GB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.4868, allocations: 12.12 kB / 0.6018 GB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4868, allocations: 3.984 kB / 0.6018 GB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4868, allocations: 4 kB / 0.6018 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.4872, allocations: 481.8 kB / 0.6023 GB, free: 1.941 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.4873, allocations: 124.6 kB / 0.6024 GB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.4874, allocations: 11.98 kB / 0.6024 GB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.4875, allocations: 8 kB / 0.6024 GB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.4875, allocations: 23.97 kB / 0.6024 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.4876, allocations: 15.94 kB / 0.6024 GB, free: 1.742 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002379/0.4878, allocations: 255.1 kB / 0.6027 GB, free: 1.488 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4878, allocations: 0 / 0.6027 GB, free: 1.488 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003199/0.4881, allocations: 59.94 kB / 0.6027 GB, free: 1.43 MB / 410.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009615/0.4891, allocations: 497.8 kB / 0.6032 GB, free: 1.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.4893, allocations: 151.9 kB / 0.6034 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.4894, allocations: 0 / 0.6034 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.4895, allocations: 83.86 kB / 0.6034 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.4898, allocations: 49.19 kB / 0.6035 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.4904, allocations: 404 kB / 0.6039 GB, free: 364 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.4908, allocations: 0.7677 MB / 0.6046 GB, free: 15.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.4909, allocations: 50.06 kB / 0.6047 GB, free: 15.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.491, allocations: 31.42 kB / 0.6047 GB, free: 15.48 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.491, allocations: 0 / 0.6047 GB, free: 15.48 MB / 426.7 MB Notification: Performance of Templates: time 0.006103/0.4971, allocations: 3.134 MB / 0.6078 GB, free: 12.38 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches