Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001794/0.001795, allocations: 179 kB / 8.007 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.734/1.734, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0008131/0.000813, allocations: 86.62 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.2251/0.2251, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.696e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1568, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4298/0.5867, allocations: 86.96 MB / 0.5509 GB, free: 8.027 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.587, allocations: 76.25 kB / 0.5509 GB, free: 7.992 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01266/0.5997, allocations: 5.298 MB / 0.5561 GB, free: 3.809 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5997, allocations: 0 / 0.5561 GB, free: 3.809 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.5997, allocations: 0 / 0.5561 GB, free: 3.809 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003826/0.6001, allocations: 389 kB / 0.5565 GB, free: 3.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.6002, allocations: 8.031 kB / 0.5565 GB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.6002, allocations: 7.906 kB / 0.5565 GB, free: 3.375 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.6005, allocations: 220.1 kB / 0.5567 GB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.6005, allocations: 0 / 0.5567 GB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.6005, allocations: 11.91 kB / 0.5567 GB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.874e-05/0.6006, allocations: 15.11 kB / 0.5567 GB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.889e-05/0.6007, allocations: 48.44 kB / 0.5568 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.6007, allocations: 0 / 0.5568 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.6007, allocations: 0 / 0.5568 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6008, allocations: 0 / 0.5568 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.6011, allocations: 270.2 kB / 0.557 GB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.439e-05/0.6012, allocations: 56.31 kB / 0.5571 GB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.6012, allocations: 21.22 kB / 0.5571 GB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.6012, allocations: 0 / 0.5571 GB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.6013, allocations: 62.34 kB / 0.5572 GB, free: 2.641 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.6014, allocations: 3.938 kB / 0.5572 GB, free: 2.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003867/0.6017, allocations: 149.6 kB / 0.5573 GB, free: 2.512 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.6018, allocations: 55.41 kB / 0.5574 GB, free: 2.445 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.6019, allocations: 155 kB / 0.5575 GB, free: 2.305 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.6019, allocations: 32.64 kB / 0.5575 GB, free: 2.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.602, allocations: 98.14 kB / 0.5576 GB, free: 2.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.602, allocations: 27.14 kB / 0.5577 GB, free: 2.156 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.602, allocations: 0 / 0.5577 GB, free: 2.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.762e-05/0.6021, allocations: 321.8 kB / 0.558 GB, free: 1.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.6021, allocations: 19 kB / 0.558 GB, free: 1.828 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.6021, allocations: 36.78 kB / 0.558 GB, free: 1.793 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.694e-05/0.6022, allocations: 26.8 kB / 0.5581 GB, free: 1.773 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.6022, allocations: 0 / 0.5581 GB, free: 1.773 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000109/0.6023, allocations: 83.47 kB / 0.5581 GB, free: 1.699 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.6023, allocations: 11.98 kB / 0.5581 GB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.6023, allocations: 3.984 kB / 0.5581 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.6023, allocations: 0 / 0.5581 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.6024, allocations: 15.94 kB / 0.5582 GB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.6025, allocations: 4.031 kB / 0.5582 GB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.129e-05/0.6025, allocations: 4 kB / 0.5582 GB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.6025, allocations: 12.12 kB / 0.5582 GB, free: 1.648 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 (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 5.402e-05/0.6026, allocations: 106.4 kB / 0.5583 GB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.6026, allocations: 7.906 kB / 0.5583 GB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.6028, allocations: 114.4 kB / 0.5584 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.6028, allocations: 4 kB / 0.5584 GB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6028, allocations: 0 / 0.5584 GB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.6028, allocations: 0 / 0.5584 GB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.6031, allocations: 376 kB / 0.5588 GB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.6031, allocations: 0 / 0.5588 GB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.6032, allocations: 15.98 kB / 0.5588 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.6032, allocations: 0 / 0.5588 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.6032, allocations: 0 / 0.5588 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6032, allocations: 4 kB / 0.5588 GB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.6032, allocations: 0 / 0.5588 GB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.6034, allocations: 219.3 kB / 0.559 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.6034, allocations: 92.23 kB / 0.5591 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.6034, allocations: 7.922 kB / 0.5591 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.6035, allocations: 4 kB / 0.5591 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.6036, allocations: 11.94 kB / 0.5591 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.6036, allocations: 4 kB / 0.5591 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.894e-05/0.6036, allocations: 129 kB / 0.5592 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6036, allocations: 0 / 0.5592 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.6039, allocations: 35.67 kB / 0.5593 GB, free: 0.5352 MB / 362.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: 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.0007908/0.6047, allocations: 386.7 kB / 0.5596 GB, free: 220 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.6048, allocations: 55 kB / 0.5597 GB, free: 180 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6048, allocations: 0 / 0.5597 GB, free: 180 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.634e-05/0.6049, allocations: 31.58 kB / 0.5597 GB, free: 156 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.6051, allocations: 23.69 kB / 0.5597 GB, free: 136 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.6055, allocations: 153.8 kB / 0.5599 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.6058, allocations: 0.7041 MB / 0.5606 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.114e-05/0.6059, allocations: 12.56 kB / 0.5606 GB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.6059, allocations: 19.42 kB / 0.5606 GB, free: 15.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6059, allocations: 0 / 0.5606 GB, free: 15.2 MB / 378.7 MB Notification: Performance of Templates: time 0.004116/0.61, allocations: 1.599 MB / 0.5622 GB, free: 13.63 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches