Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 180.9 kB / 8.006 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.662/1.662, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0008904/0.0008904, allocations: 82.62 kB / 261.7 MB, free: 1.68 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.2455/0.2455, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.921e-05, allocations: 8 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1327, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4548/0.5876, allocations: 86.96 MB / 0.5509 GB, free: 7.984 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.5879, allocations: 75.12 kB / 0.5509 GB, free: 7.949 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01257/0.6005, allocations: 5.669 MB / 0.5565 GB, free: 3.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6006, allocations: 0 / 0.5565 GB, free: 3.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.6006, allocations: 11.25 kB / 0.5565 GB, free: 3.41 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.0003591/0.6009, allocations: 421 kB / 0.5569 GB, free: 2.961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.601, allocations: 12.03 kB / 0.5569 GB, free: 2.949 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.601, allocations: 11.81 kB / 0.5569 GB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.6013, allocations: 228.5 kB / 0.5571 GB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.6013, allocations: 0 / 0.5571 GB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.6014, allocations: 0 / 0.5571 GB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.804e-05/0.6014, allocations: 22.98 kB / 0.5571 GB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.907e-05/0.6015, allocations: 49.06 kB / 0.5572 GB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.6015, allocations: 4 kB / 0.5572 GB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.6016, allocations: 0 / 0.5572 GB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.6016, allocations: 0 / 0.5572 GB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.6019, allocations: 288.7 kB / 0.5575 GB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.435e-05/0.602, allocations: 50.94 kB / 0.5575 GB, free: 2.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.602, allocations: 15.98 kB / 0.5575 GB, free: 2.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.602, allocations: 4 kB / 0.5575 GB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.6022, allocations: 69.2 kB / 0.5576 GB, free: 2.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.6022, allocations: 0 / 0.5576 GB, free: 2.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004177/0.6026, allocations: 161.1 kB / 0.5578 GB, free: 2.039 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.6026, allocations: 62.59 kB / 0.5578 GB, free: 1.969 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.6028, allocations: 247.1 kB / 0.5581 GB, free: 1.762 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.6029, allocations: 25.7 kB / 0.5581 GB, free: 1.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.6029, allocations: 117.2 kB / 0.5582 GB, free: 1.633 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.6029, allocations: 23.2 kB / 0.5582 GB, free: 1.613 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-06/0.6029, allocations: 0 / 0.5582 GB, free: 1.613 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.492e-05/0.603, allocations: 325.9 kB / 0.5585 GB, free: 1.293 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.6031, allocations: 18.44 kB / 0.5585 GB, free: 1.281 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.479e-05/0.6031, allocations: 29.53 kB / 0.5586 GB, free: 1.254 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.676e-05/0.6031, allocations: 22.67 kB / 0.5586 GB, free: 1.238 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.6031, allocations: 4 kB / 0.5586 GB, free: 1.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001132/0.6033, allocations: 99.42 kB / 0.5587 GB, free: 1.145 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.6033, allocations: 4 kB / 0.5587 GB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.6033, allocations: 3.938 kB / 0.5587 GB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.6033, allocations: 4 kB / 0.5587 GB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.6034, allocations: 12 kB / 0.5587 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.6034, allocations: 0 / 0.5587 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.6035, allocations: 11.05 kB / 0.5587 GB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.6035, allocations: 7.953 kB / 0.5587 GB, free: 1.105 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.659e-05/0.6035, allocations: 113 kB / 0.5588 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.6036, allocations: 15.81 kB / 0.5589 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.6038, allocations: 115.9 kB / 0.559 GB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6038, allocations: 0 / 0.559 GB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.6038, allocations: 0 / 0.559 GB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6038, allocations: 3.984 kB / 0.559 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.6041, allocations: 407 kB / 0.5594 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6041, allocations: 4.031 kB / 0.5594 GB, free: 480 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.6042, allocations: 15.92 kB / 0.5594 GB, free: 464 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.6042, allocations: 0 / 0.5594 GB, free: 464 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.6042, allocations: 4 kB / 0.5594 GB, free: 460 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.6042, allocations: 0 / 0.5594 GB, free: 460 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6042, allocations: 0 / 0.5594 GB, free: 460 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.6044, allocations: 222.6 kB / 0.5596 GB, free: 228 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.6044, allocations: 104.2 kB / 0.5597 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.6044, allocations: 0 / 0.5597 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.6045, allocations: 4 kB / 0.5597 GB, free: 104 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.6046, allocations: 19.81 kB / 0.5597 GB, free: 88 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.6046, allocations: 0 / 0.5597 GB, free: 88 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001832/0.6048, allocations: 201.3 kB / 0.5599 GB, free: 15.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6048, allocations: 0 / 0.5599 GB, free: 15.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.605, allocations: 31.88 kB / 0.5599 GB, free: 15.9 MB / 378.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.0008814/0.6059, allocations: 388.7 kB / 0.5603 GB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.6061, allocations: 61.91 kB / 0.5604 GB, free: 15.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6061, allocations: 0 / 0.5604 GB, free: 15.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.113e-05/0.6061, allocations: 26.5 kB / 0.5604 GB, free: 15.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.6064, allocations: 22.8 kB / 0.5604 GB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.6069, allocations: 235 kB / 0.5606 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.6072, allocations: 0.7233 MB / 0.5613 GB, free: 14.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.391e-05/0.6073, allocations: 16.55 kB / 0.5614 GB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.6073, allocations: 18.88 kB / 0.5614 GB, free: 14.48 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6074, allocations: 7.938 kB / 0.5614 GB, free: 14.48 MB / 378.7 MB Notification: Performance of Templates: time 0.00431/0.6117, allocations: 1.767 MB / 0.5631 GB, free: 12.73 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches