Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001447/0.001447, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.801/1.801, allocations: 205.3 MB / 213.7 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001014, allocations: 90.61 kB / 261.7 MB, free: 1.605 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2508/0.2508, allocations: 43.49 MB / 353.2 MB, free: 264 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.765e-05/1.767e-05, allocations: 8 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.13, allocations: 58.86 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4543/0.5844, allocations: 86.79 MB / 0.5507 GB, free: 8.082 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.5848, allocations: 75.52 kB / 0.5508 GB, free: 8.043 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01253/0.5973, allocations: 5.181 MB / 0.5558 GB, free: 3.938 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5974, allocations: 4 kB / 0.5558 GB, free: 3.934 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.5974, allocations: 0 / 0.5558 GB, free: 3.934 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003709/0.5978, allocations: 384.5 kB / 0.5562 GB, free: 3.523 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.5978, allocations: 8.031 kB / 0.5562 GB, free: 3.516 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.5979, allocations: 15.91 kB / 0.5562 GB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.5981, allocations: 217.5 kB / 0.5564 GB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.5982, allocations: 4 kB / 0.5564 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.5982, allocations: 0 / 0.5564 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.856e-05/0.5983, allocations: 15.73 kB / 0.5565 GB, free: 3.242 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.688e-05/0.5983, allocations: 40.88 kB / 0.5565 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.5984, allocations: 0 / 0.5565 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.5984, allocations: 7.25 kB / 0.5565 GB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.5984, allocations: 0 / 0.5565 GB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.5985, allocations: 163 kB / 0.5567 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.441e-05/0.5986, allocations: 50.12 kB / 0.5567 GB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.5987, allocations: 16.17 kB / 0.5567 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.5987, allocations: 0 / 0.5567 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.5988, allocations: 66.36 kB / 0.5568 GB, free: 2.875 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.5988, allocations: 0 / 0.5568 GB, free: 2.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001707/0.599, allocations: 80.2 kB / 0.5569 GB, free: 2.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.599, allocations: 51.41 kB / 0.5569 GB, free: 2.738 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.5991, allocations: 163.9 kB / 0.5571 GB, free: 2.594 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.5992, allocations: 25.7 kB / 0.5571 GB, free: 2.562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.5992, allocations: 109.2 kB / 0.5572 GB, free: 2.465 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.5992, allocations: 15.12 kB / 0.5572 GB, free: 2.453 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.5992, allocations: 3.938 kB / 0.5572 GB, free: 2.449 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.033e-05/0.5993, allocations: 322.1 kB / 0.5575 GB, free: 2.129 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/0.5993, allocations: 15.5 kB / 0.5575 GB, free: 2.117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.143e-05/0.5994, allocations: 24.78 kB / 0.5576 GB, free: 2.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.5994, allocations: 15.23 kB / 0.5576 GB, free: 2.082 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5994, allocations: 0 / 0.5576 GB, free: 2.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001001/0.5995, allocations: 80.36 kB / 0.5576 GB, free: 2.008 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.5995, allocations: 4 kB / 0.5576 GB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5996, allocations: 0 / 0.5576 GB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.5996, allocations: 0 / 0.5576 GB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.5997, allocations: 23.95 kB / 0.5577 GB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.5997, allocations: 0 / 0.5577 GB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.5997, allocations: 4 kB / 0.5577 GB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.5997, allocations: 3.188 kB / 0.5577 GB, free: 1.977 MB / 362.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 ($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 (7): * Single equations (assignments): 7 * 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 5.287e-05/0.5998, allocations: 108.9 kB / 0.5578 GB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.5998, allocations: 15.77 kB / 0.5578 GB, free: 1.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.5999, allocations: 95.3 kB / 0.5579 GB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.6, allocations: 0 / 0.5579 GB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6, allocations: 4 kB / 0.5579 GB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6, allocations: 0 / 0.5579 GB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.699e-05/0.6001, allocations: 165.4 kB / 0.5581 GB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.6001, allocations: 0 / 0.5581 GB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.6001, allocations: 7.984 kB / 0.5581 GB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.6001, allocations: 0 / 0.5581 GB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.6001, allocations: 7.953 kB / 0.5581 GB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.6001, allocations: 0 / 0.5581 GB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6001, allocations: 160 / 0.5581 GB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.6002, allocations: 108.1 kB / 0.5582 GB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.6003, allocations: 96.42 kB / 0.5583 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.6003, allocations: 0 / 0.5583 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.131e-05/0.6004, allocations: 12.12 kB / 0.5583 GB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.6004, allocations: 0 / 0.5583 GB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.6004, allocations: 8 kB / 0.5583 GB, free: 1.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.581e-05/0.6005, allocations: 132.7 kB / 0.5584 GB, free: 1.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6005, allocations: 7.875 kB / 0.5584 GB, free: 1.199 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000209/0.6007, allocations: 23.31 kB / 0.5584 GB, free: 1.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0006773/0.6014, allocations: 342 kB / 0.5588 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.248e-05/0.6015, allocations: 38.3 kB / 0.5588 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6015, allocations: 0 / 0.5588 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.429e-05/0.6016, allocations: 22.5 kB / 0.5588 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.6018, allocations: 23.61 kB / 0.5588 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.602, allocations: 140.3 kB / 0.559 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.6022, allocations: 0.7005 MB / 0.5597 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.085e-05/0.6023, allocations: 19.73 kB / 0.5597 GB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.6023, allocations: 11.44 kB / 0.5597 GB, free: 15.93 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6023, allocations: 0 / 0.5597 GB, free: 15.93 MB / 378.7 MB Notification: Performance of Templates: time 0.003747/0.6061, allocations: 1.42 MB / 0.5611 GB, free: 14.52 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches