Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002224/0.002223, allocations: 178.1 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 93.94 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3632/0.3632, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.358e-05/2.368e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4015, allocations: 58.86 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.5678, allocations: 86.96 MB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.5682, allocations: 71.97 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02512/0.5933, allocations: 5.644 MB / 0.5564 GB, free: 6.633 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5933, allocations: 0 / 0.5564 GB, free: 6.633 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.5934, allocations: 3.938 kB / 0.5564 GB, free: 6.629 MB / 395.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.000605/0.594, allocations: 414.1 kB / 0.5568 GB, free: 6.18 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.594, allocations: 12.03 kB / 0.5568 GB, free: 6.168 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.5941, allocations: 11.91 kB / 0.5568 GB, free: 6.156 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.5946, allocations: 226.7 kB / 0.5571 GB, free: 5.895 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.5946, allocations: 4 kB / 0.5571 GB, free: 5.891 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.5947, allocations: 0 / 0.5571 GB, free: 5.891 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001043/0.5948, allocations: 19.98 kB / 0.5571 GB, free: 5.871 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.5949, allocations: 53.67 kB / 0.5571 GB, free: 5.812 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.595, allocations: 3.938 kB / 0.5571 GB, free: 5.809 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.595, allocations: 3.938 kB / 0.5571 GB, free: 5.805 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.595, allocations: 4 kB / 0.5571 GB, free: 5.801 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.5955, allocations: 285.3 kB / 0.5574 GB, free: 5.484 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.5957, allocations: 50.69 kB / 0.5575 GB, free: 5.426 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.6e-05/0.5957, allocations: 16.98 kB / 0.5575 GB, free: 5.406 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.5958, allocations: 0 / 0.5575 GB, free: 5.406 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.5959, allocations: 75.33 kB / 0.5576 GB, free: 5.32 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.814e-06/0.596, allocations: 0 / 0.5576 GB, free: 5.32 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005996/0.5966, allocations: 153.2 kB / 0.5577 GB, free: 5.164 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.5966, allocations: 51.41 kB / 0.5577 GB, free: 5.102 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.597, allocations: 233.7 kB / 0.558 GB, free: 4.863 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.597, allocations: 29.7 kB / 0.558 GB, free: 4.828 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.861e-05/0.5972, allocations: 166.6 kB / 0.5582 GB, free: 4.664 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.5972, allocations: 35.58 kB / 0.5582 GB, free: 4.629 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.5972, allocations: 0 / 0.5582 GB, free: 4.629 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5974, allocations: 314.8 kB / 0.5585 GB, free: 4.312 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-05/0.5974, allocations: 16 kB / 0.5585 GB, free: 4.297 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.732e-05/0.5975, allocations: 33.7 kB / 0.5585 GB, free: 4.258 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.94e-05/0.5976, allocations: 20 kB / 0.5586 GB, free: 4.238 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5976, allocations: 0 / 0.5586 GB, free: 4.238 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000213/0.5978, allocations: 89.55 kB / 0.5586 GB, free: 4.145 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.5979, allocations: 8 kB / 0.5586 GB, free: 4.137 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.5979, allocations: 0 / 0.5586 GB, free: 4.137 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5979, allocations: 0 / 0.5586 GB, free: 4.137 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.5981, allocations: 16 kB / 0.5587 GB, free: 4.121 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5981, allocations: 0 / 0.5587 GB, free: 4.121 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.525e-05/0.5982, allocations: 7.984 kB / 0.5587 GB, free: 4.113 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.5982, allocations: 7.953 kB / 0.5587 GB, free: 4.105 MB / 395.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.5984, allocations: 105 kB / 0.5588 GB, free: 3.996 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.5984, allocations: 15.91 kB / 0.5588 GB, free: 3.98 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.5987, allocations: 119.5 kB / 0.5589 GB, free: 3.859 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.5988, allocations: 8.266 kB / 0.5589 GB, free: 3.852 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5988, allocations: 0 / 0.5589 GB, free: 3.852 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5988, allocations: 0 / 0.5589 GB, free: 3.852 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006626/0.5995, allocations: 403.8 kB / 0.5593 GB, free: 3.41 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5995, allocations: 0 / 0.5593 GB, free: 3.41 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.69e-05/0.5996, allocations: 11.98 kB / 0.5593 GB, free: 3.398 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.5996, allocations: 8.031 kB / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.5996, allocations: 4 kB / 0.5593 GB, free: 3.387 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.5996, allocations: 3.938 kB / 0.5593 GB, free: 3.383 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5996, allocations: 0 / 0.5593 GB, free: 3.383 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.5999, allocations: 213.9 kB / 0.5595 GB, free: 3.148 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.6001, allocations: 104.9 kB / 0.5596 GB, free: 3.027 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.6001, allocations: 4 kB / 0.5596 GB, free: 3.023 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.6003, allocations: 7.938 kB / 0.5596 GB, free: 3.016 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.6003, allocations: 11.94 kB / 0.5597 GB, free: 3.004 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.6004, allocations: 3.938 kB / 0.5597 GB, free: 3 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002634/0.6006, allocations: 192.2 kB / 0.5598 GB, free: 2.812 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6006, allocations: 0 / 0.5598 GB, free: 2.812 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004046/0.601, allocations: 39.92 kB / 0.5599 GB, free: 2.773 MB / 395.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) * 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 (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.001144/0.6022, allocations: 392.2 kB / 0.5603 GB, free: 2.434 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.6024, allocations: 51.94 kB / 0.5603 GB, free: 2.383 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6025, allocations: 0 / 0.5603 GB, free: 2.383 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.6026, allocations: 35.92 kB / 0.5603 GB, free: 2.348 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.603, allocations: 31.12 kB / 0.5604 GB, free: 2.32 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.6036, allocations: 247.7 kB / 0.5606 GB, free: 2.047 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.604, allocations: 0.7237 MB / 0.5613 GB, free: 1.297 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.6041, allocations: 15.44 kB / 0.5613 GB, free: 1.281 MB / 395.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6041, allocations: 0 / 0.5613 GB, free: 1.281 MB / 395.1 MB Notification: Performance of Templates: time 0.006032/0.6101, allocations: 2.135 MB / 0.5634 GB, free: 15.15 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches