Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 180.2 kB / 8.008 MB, free: 1.066 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.669/1.669, allocations: 205.3 MB / 213.7 MB, free: 1.727 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.0009121/0.0009121, allocations: 94.14 kB / 261.8 MB, free: 1.676 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.2205/0.2205, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.121e-05, allocations: 8 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1305, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4366/0.5671, allocations: 87.06 MB / 0.551 GB, free: 7.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.5673, allocations: 80.86 kB / 0.551 GB, free: 7.891 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01767/0.585, allocations: 7.759 MB / 0.5586 GB, free: 1.656 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.5851, allocations: 0 / 0.5586 GB, free: 1.656 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.5851, allocations: 4 kB / 0.5586 GB, free: 1.652 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005302/0.5856, allocations: 0.4967 MB / 0.5591 GB, free: 1.129 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5857, allocations: 8.031 kB / 0.5591 GB, free: 1.121 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.5858, allocations: 36.33 kB / 0.5592 GB, free: 1.086 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.5862, allocations: 310 kB / 0.5594 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.5862, allocations: 0 / 0.5594 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.5862, allocations: 4 kB / 0.5595 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001048/0.5864, allocations: 31.73 kB / 0.5595 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.5865, allocations: 90.73 kB / 0.5596 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.5865, allocations: 4 kB / 0.5596 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.5865, allocations: 0 / 0.5596 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5865, allocations: 7.891 kB / 0.5596 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.587, allocations: 458.8 kB / 0.56 GB, free: 208 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.5871, allocations: 104.5 kB / 0.5601 GB, free: 104 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.5872, allocations: 37.03 kB / 0.5602 GB, free: 68 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.5872, allocations: 3.984 kB / 0.5602 GB, free: 64 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.5874, allocations: 112 kB / 0.5603 GB, free: 15.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.5874, allocations: 0 / 0.5603 GB, free: 15.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006806/0.5881, allocations: 328.7 kB / 0.5606 GB, free: 15.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.5881, allocations: 81.11 kB / 0.5607 GB, free: 15.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004488/0.5886, allocations: 418.2 kB / 0.5611 GB, free: 15.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.5886, allocations: 25.7 kB / 0.5611 GB, free: 15.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.5887, allocations: 157.6 kB / 0.5612 GB, free: 15.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.5888, allocations: 50.8 kB / 0.5613 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.5888, allocations: 0 / 0.5613 GB, free: 15.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.589, allocations: 346.5 kB / 0.5616 GB, free: 14.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-05/0.589, allocations: 35.06 kB / 0.5616 GB, free: 14.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.303e-05/0.5891, allocations: 66.86 kB / 0.5617 GB, free: 14.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.342e-05/0.5892, allocations: 47.05 kB / 0.5617 GB, free: 14.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.5892, allocations: 0 / 0.5617 GB, free: 14.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002343/0.5895, allocations: 168.1 kB / 0.5619 GB, free: 14.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.5895, allocations: 4 kB / 0.5619 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.5895, allocations: 4 kB / 0.5619 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.5895, allocations: 8 kB / 0.5619 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.5897, allocations: 31.98 kB / 0.562 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5897, allocations: 0 / 0.562 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.362e-05/0.5898, allocations: 11.89 kB / 0.562 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.5898, allocations: 11.88 kB / 0.562 GB, free: 14.4 MB / 378.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 (20): * Single equations (assignments): 20 * 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 9.089e-05/0.5899, allocations: 108.9 kB / 0.5621 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.59, allocations: 35.58 kB / 0.5621 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.5903, allocations: 198.8 kB / 0.5623 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.5903, allocations: 4.188 kB / 0.5623 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5903, allocations: 0 / 0.5623 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.5903, allocations: 3.938 kB / 0.5623 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007059/0.591, allocations: 0.6554 MB / 0.563 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5911, allocations: 0 / 0.563 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/0.5911, allocations: 27.98 kB / 0.563 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.5912, allocations: 4 kB / 0.563 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.5912, allocations: 4 kB / 0.563 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.5912, allocations: 3.938 kB / 0.563 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5912, allocations: 0.6875 kB / 0.563 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.5916, allocations: 412.8 kB / 0.5634 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.5917, allocations: 124.7 kB / 0.5635 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.5917, allocations: 4 kB / 0.5635 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.5919, allocations: 11.98 kB / 0.5635 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.5919, allocations: 19.75 kB / 0.5635 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.592, allocations: 4 kB / 0.5635 GB, free: 12.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003192/0.5923, allocations: 344.7 kB / 0.5639 GB, free: 12.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5923, allocations: 0 / 0.5639 GB, free: 12.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000346/0.5926, allocations: 51.81 kB / 0.5639 GB, free: 12.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 14 * 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.0009422/0.5936, allocations: 400.6 kB / 0.5643 GB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.5938, allocations: 102.6 kB / 0.5644 GB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5938, allocations: 4 kB / 0.5644 GB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.779e-05/0.5939, allocations: 55.42 kB / 0.5645 GB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.5944, allocations: 49.48 kB / 0.5645 GB, free: 12.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007775/0.5952, allocations: 447.1 kB / 0.5649 GB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.5956, allocations: 0.7904 MB / 0.5657 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.5957, allocations: 34.47 kB / 0.5657 GB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.5958, allocations: 34.55 kB / 0.5658 GB, free: 10.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5958, allocations: 0 / 0.5658 GB, free: 10.77 MB / 378.7 MB Notification: Performance of Templates: time 0.006406/0.6022, allocations: 2.833 MB / 0.5685 GB, free: 7.961 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches