Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000966/0.000966, allocations: 183.9 kB / 13.19 MB, free: 2.129 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.356/1.356, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008979/0.0008979, allocations: 86.59 kB / 267.1 MB, free: 9.273 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.3311/0.3311, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.51e-05/4.533e-05, allocations: 8 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3596/0.4743, allocations: 87.41 MB / 0.5582 GB, free: 16.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00017/0.4745, allocations: 77.31 kB / 0.5582 GB, free: 16.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01185/0.4864, allocations: 5.108 MB / 0.5632 GB, free: 13.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4864, allocations: 0 / 0.5632 GB, free: 13.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.4864, allocations: 0.5469 kB / 0.5632 GB, free: 13.64 MB / 394.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.0002741/0.4867, allocations: 386.2 kB / 0.5636 GB, free: 13.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.4868, allocations: 13.58 kB / 0.5636 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.4868, allocations: 15.34 kB / 0.5636 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.487, allocations: 205.8 kB / 0.5638 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.487, allocations: 0 / 0.5638 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.487, allocations: 4 kB / 0.5638 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.384e-05/0.4871, allocations: 47.47 kB / 0.5639 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.4871, allocations: 0 / 0.5639 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.4872, allocations: 4 kB / 0.5639 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4872, allocations: 2.969 kB / 0.5639 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.058e-05/0.4872, allocations: 17 kB / 0.5639 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.4873, allocations: 184.5 kB / 0.5641 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.411e-05/0.4874, allocations: 49.59 kB / 0.5641 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.777e-05/0.4875, allocations: 16.48 kB / 0.5641 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.4875, allocations: 5.672 kB / 0.5641 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.444e-05/0.4876, allocations: 65 kB / 0.5642 GB, free: 12.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.904e-06/0.4876, allocations: 4 kB / 0.5642 GB, free: 12.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001399/0.4877, allocations: 81.73 kB / 0.5643 GB, free: 12.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.4878, allocations: 53.19 kB / 0.5643 GB, free: 12.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4879, allocations: 162.9 kB / 0.5645 GB, free: 12.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.4879, allocations: 29.27 kB / 0.5645 GB, free: 12.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.4879, allocations: 98.41 kB / 0.5646 GB, free: 12.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.488, allocations: 11.28 kB / 0.5646 GB, free: 12.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.488, allocations: 0 / 0.5646 GB, free: 12.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.862e-05/0.488, allocations: 321.8 kB / 0.5649 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.434e-05/0.488, allocations: 16.5 kB / 0.5649 GB, free: 11.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.676e-05/0.4881, allocations: 26.39 kB / 0.565 GB, free: 11.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.854e-05/0.4881, allocations: 24.08 kB / 0.565 GB, free: 11.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.4881, allocations: 2.344 kB / 0.565 GB, free: 11.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.94e-05/0.4882, allocations: 75.05 kB / 0.5651 GB, free: 11.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.4882, allocations: 5.031 kB / 0.5651 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.4882, allocations: 0 / 0.5651 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.4882, allocations: 8.031 kB / 0.5651 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.4883, allocations: 10.34 kB / 0.5651 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4883, allocations: 3.938 kB / 0.5651 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.168e-05/0.4884, allocations: 12.28 kB / 0.5651 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.4884, allocations: 4 kB / 0.5651 GB, free: 11.73 MB / 394.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 3.856e-05/0.4884, allocations: 113.4 kB / 0.5652 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.4884, allocations: 7.906 kB / 0.5652 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.4886, allocations: 92.61 kB / 0.5653 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4886, allocations: 0 / 0.5653 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.4886, allocations: 4 kB / 0.5653 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.4886, allocations: 0 / 0.5653 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.266e-05/0.4887, allocations: 193.5 kB / 0.5655 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4887, allocations: 3.953 kB / 0.5655 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/0.4887, allocations: 7.938 kB / 0.5655 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.4887, allocations: 1.828 kB / 0.5655 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.4888, allocations: 4 kB / 0.5655 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.4888, allocations: 0 / 0.5655 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4888, allocations: 0 / 0.5655 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.4889, allocations: 113.8 kB / 0.5656 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.4889, allocations: 93.91 kB / 0.5657 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.4889, allocations: 1.219 kB / 0.5657 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.489, allocations: 8.125 kB / 0.5657 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.489, allocations: 3.281 kB / 0.5657 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.489, allocations: 7.938 kB / 0.5657 GB, free: 11.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.897e-05/0.4891, allocations: 129.5 kB / 0.5659 GB, free: 10.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4891, allocations: 0 / 0.5659 GB, free: 10.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.4893, allocations: 27.12 kB / 0.5659 GB, free: 10.96 MB / 394.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.0006665/0.49, allocations: 373.2 kB / 0.5662 GB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.553e-05/0.4901, allocations: 38.16 kB / 0.5663 GB, free: 10.65 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.4901, allocations: 0 / 0.5663 GB, free: 10.65 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.4901, allocations: 27.55 kB / 0.5663 GB, free: 10.63 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.4903, allocations: 28.19 kB / 0.5663 GB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.4906, allocations: 131.5 kB / 0.5665 GB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.25e-05/0.4907, allocations: 0.7051 MB / 0.5671 GB, free: 9.773 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.372e-05/0.4907, allocations: 23.69 kB / 0.5672 GB, free: 9.754 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.4907, allocations: 19.91 kB / 0.5672 GB, free: 9.738 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4907, allocations: 0 / 0.5672 GB, free: 9.738 MB / 394.7 MB Notification: Performance of Templates: time 0.002846/0.4936, allocations: 1.45 MB / 0.5686 GB, free: 8.398 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches