Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001733, allocations: 177.5 kB / 17.06 MB, free: 5.094 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.41/1.41, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009122/0.0009121, allocations: 94.56 kB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3397/0.3397, allocations: 44.21 MB / 387.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 12 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3421, allocations: 61.9 MB / 0.5096 GB, free: 37.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.4571, allocations: 90.06 MB / 0.5975 GB, free: 5.102 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.4574, allocations: 83.89 kB / 0.5976 GB, free: 5.023 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01931/0.4768, allocations: 7.156 MB / 0.6046 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.4768, allocations: 0 / 0.6046 GB, free: 13.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.087e-05/0.4768, allocations: 8 kB / 0.6046 GB, free: 13.86 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006537/0.4775, allocations: 0.5311 MB / 0.6051 GB, free: 13.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.398e-05/0.4775, allocations: 11.97 kB / 0.6051 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.4776, allocations: 35.7 kB / 0.6052 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.478, allocations: 290.4 kB / 0.6054 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.478, allocations: 7.984 kB / 0.6054 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.478, allocations: 7.953 kB / 0.6054 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.4782, allocations: 104.2 kB / 0.6055 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.4783, allocations: 3.938 kB / 0.6055 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.4783, allocations: 7.984 kB / 0.6056 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-06/0.4783, allocations: 0 / 0.6056 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.4784, allocations: 43.97 kB / 0.6056 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.4789, allocations: 385.6 kB / 0.606 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.4792, allocations: 121.4 kB / 0.6061 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.4792, allocations: 4.078 kB / 0.6061 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.4794, allocations: 128.9 kB / 0.6062 GB, free: 12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.4794, allocations: 0 / 0.6062 GB, free: 12 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003893/0.4798, allocations: 181.3 kB / 0.6064 GB, free: 11.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.4799, allocations: 110.8 kB / 0.6065 GB, free: 11.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.4802, allocations: 306 kB / 0.6068 GB, free: 11.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.4803, allocations: 33.7 kB / 0.6068 GB, free: 11.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.4803, allocations: 132.1 kB / 0.6069 GB, free: 11.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.4804, allocations: 35.7 kB / 0.607 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.4804, allocations: 4 kB / 0.607 GB, free: 11.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4805, allocations: 334.8 kB / 0.6073 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-05/0.4806, allocations: 31.98 kB / 0.6073 GB, free: 10.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.4807, allocations: 79.23 kB / 0.6074 GB, free: 10.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.063e-05/0.4808, allocations: 43.95 kB / 0.6074 GB, free: 10.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.4808, allocations: 7.953 kB / 0.6075 GB, free: 10.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002619/0.4811, allocations: 149.9 kB / 0.6076 GB, free: 10.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4811, allocations: 4 kB / 0.6076 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4811, allocations: 0 / 0.6076 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.4812, allocations: 4 kB / 0.6076 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.4813, allocations: 23.92 kB / 0.6076 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4813, allocations: 8.062 kB / 0.6076 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.435e-05/0.4814, allocations: 23.89 kB / 0.6077 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.4814, allocations: 8 kB / 0.6077 GB, free: 10.43 MB / 426.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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001206/0.4815, allocations: 150.3 kB / 0.6078 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.4816, allocations: 27.67 kB / 0.6078 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.4819, allocations: 167.3 kB / 0.608 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.4819, allocations: 11.98 kB / 0.608 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.4819, allocations: 0 / 0.608 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.482, allocations: 0 / 0.608 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.4822, allocations: 261.4 kB / 0.6083 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4822, allocations: 4 kB / 0.6083 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/0.4822, allocations: 15.89 kB / 0.6083 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4823, allocations: 0 / 0.6083 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.4823, allocations: 8 kB / 0.6083 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4823, allocations: 0 / 0.6083 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4823, allocations: 3.984 kB / 0.6083 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.4826, allocations: 203.3 kB / 0.6085 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.527e-05/0.4827, allocations: 128.7 kB / 0.6086 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.4827, allocations: 4 kB / 0.6086 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.4828, allocations: 8 kB / 0.6086 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.4829, allocations: 15.92 kB / 0.6086 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.4829, allocations: 11.98 kB / 0.6086 GB, free: 9.324 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002501/0.4831, allocations: 241.9 kB / 0.6089 GB, free: 9.086 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4832, allocations: 4 kB / 0.6089 GB, free: 9.082 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.4834, allocations: 43.98 kB / 0.6089 GB, free: 9.039 MB / 426.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0008955/0.4843, allocations: 420.5 kB / 0.6093 GB, free: 8.777 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.4846, allocations: 103.9 kB / 0.6094 GB, free: 8.676 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4846, allocations: 8.125 kB / 0.6094 GB, free: 8.668 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.4847, allocations: 47.92 kB / 0.6095 GB, free: 8.621 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.485, allocations: 68.48 kB / 0.6095 GB, free: 8.555 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.4857, allocations: 427.7 kB / 0.6099 GB, free: 8.109 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.486, allocations: 0.7596 MB / 0.6107 GB, free: 7.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.589e-05/0.4861, allocations: 33.53 kB / 0.6107 GB, free: 7.285 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.4861, allocations: 27.44 kB / 0.6107 GB, free: 7.258 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4862, allocations: 4 kB / 0.6107 GB, free: 7.254 MB / 426.7 MB Notification: Performance of Templates: time 0.005549/0.4917, allocations: 2.952 MB / 0.6136 GB, free: 4.34 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches