Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 186.7 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008676/0.0008674, allocations: 86.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2345/0.2345, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1497, allocations: 58.84 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4849/0.6347, allocations: 87.56 MB / 0.5643 GB, free: 12.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/0.6351, allocations: 72.53 kB / 0.5643 GB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01453/0.6497, allocations: 5.234 MB / 0.5694 GB, free: 7.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6497, allocations: 0 / 0.5694 GB, free: 7.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.6497, allocations: 4 kB / 0.5694 GB, free: 7.727 MB / 378.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.0005663/0.6503, allocations: 416.5 kB / 0.5698 GB, free: 7.281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.6504, allocations: 15.97 kB / 0.5699 GB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.6504, allocations: 7.906 kB / 0.5699 GB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.6507, allocations: 213.3 kB / 0.5701 GB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.6508, allocations: 4 kB / 0.5701 GB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.6508, allocations: 0 / 0.5701 GB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.6509, allocations: 52.8 kB / 0.5701 GB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.651, allocations: 0 / 0.5701 GB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.651, allocations: 0 / 0.5701 GB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.651, allocations: 4 kB / 0.5701 GB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.199e-05/0.6511, allocations: 15.42 kB / 0.5701 GB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.6513, allocations: 191.8 kB / 0.5703 GB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.6514, allocations: 49.25 kB / 0.5704 GB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.6515, allocations: 0 / 0.5704 GB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.6516, allocations: 70.59 kB / 0.5704 GB, free: 6.598 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.6516, allocations: 0 / 0.5704 GB, free: 6.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002857/0.6519, allocations: 102.9 kB / 0.5705 GB, free: 6.508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.652, allocations: 51.41 kB / 0.5706 GB, free: 6.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.6521, allocations: 170.9 kB / 0.5707 GB, free: 6.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.6522, allocations: 29.27 kB / 0.5708 GB, free: 6.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.6522, allocations: 98.75 kB / 0.5709 GB, free: 6.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.6523, allocations: 15.19 kB / 0.5709 GB, free: 6.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.6523, allocations: 4 kB / 0.5709 GB, free: 6.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6524, allocations: 322.5 kB / 0.5712 GB, free: 5.836 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.961e-05/0.6525, allocations: 22.67 kB / 0.5712 GB, free: 5.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.047e-05/0.6525, allocations: 25.14 kB / 0.5712 GB, free: 5.793 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.757e-05/0.6526, allocations: 18.94 kB / 0.5713 GB, free: 5.781 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.6526, allocations: 7.891 kB / 0.5713 GB, free: 5.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001592/0.6528, allocations: 87.27 kB / 0.5713 GB, free: 5.695 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.6528, allocations: 10.69 kB / 0.5714 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6528, allocations: 0 / 0.5714 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.6528, allocations: 0 / 0.5714 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.108e-05/0.6529, allocations: 8 kB / 0.5714 GB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.6529, allocations: 7.938 kB / 0.5714 GB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.653, allocations: 3.984 kB / 0.5714 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.653, allocations: 4 kB / 0.5714 GB, free: 5.664 MB / 378.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 () * Number of clocked 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 9.902e-05/0.6531, allocations: 127.5 kB / 0.5715 GB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.6531, allocations: 19.77 kB / 0.5715 GB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.6533, allocations: 98.09 kB / 0.5716 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6533, allocations: 0 / 0.5716 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6534, allocations: 0 / 0.5716 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6534, allocations: 0 / 0.5716 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.6535, allocations: 183.8 kB / 0.5718 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6535, allocations: 4 kB / 0.5718 GB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.6536, allocations: 11.89 kB / 0.5718 GB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6536, allocations: 0 / 0.5718 GB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.6536, allocations: 7.484 kB / 0.5718 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6536, allocations: 4 kB / 0.5718 GB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.6536, allocations: 0 / 0.5718 GB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.6538, allocations: 115.6 kB / 0.5719 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.836e-05/0.6539, allocations: 96.47 kB / 0.572 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.6539, allocations: 3.953 kB / 0.572 GB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.197e-05/0.654, allocations: 7.984 kB / 0.572 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.654, allocations: 0 / 0.572 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.654, allocations: 11.19 kB / 0.572 GB, free: 4.941 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.6542, allocations: 139.4 kB / 0.5722 GB, free: 4.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6542, allocations: 4 kB / 0.5722 GB, free: 4.816 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.6544, allocations: 19 kB / 0.5722 GB, free: 4.801 MB / 378.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) * Number of clocked states: 0 () * 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.000925/0.6553, allocations: 419.8 kB / 0.5726 GB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.6555, allocations: 47.03 kB / 0.5726 GB, free: 4.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6555, allocations: 0 / 0.5726 GB, free: 4.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.965e-05/0.6556, allocations: 33.42 kB / 0.5727 GB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.6558, allocations: 20.67 kB / 0.5727 GB, free: 4.367 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.6563, allocations: 213.2 kB / 0.5729 GB, free: 4.145 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.6566, allocations: 0.7082 MB / 0.5736 GB, free: 3.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.827e-05/0.6566, allocations: 20.34 kB / 0.5736 GB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.6567, allocations: 19.11 kB / 0.5736 GB, free: 3.375 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6567, allocations: 0 / 0.5736 GB, free: 3.375 MB / 378.7 MB Notification: Performance of Templates: time 0.003937/0.6606, allocations: 1.459 MB / 0.5751 GB, free: 1.926 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches