Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001045, allocations: 182.5 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.299/1.299, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.000992/0.000992, allocations: 97.53 kB / 267.1 MB, free: 9.262 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.3193/0.3193, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.854e-05/3.855e-05, allocations: 8 kB / 425.3 MB, free: 8.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 58.83 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/0.4843, allocations: 87.61 MB / 0.5584 GB, free: 16.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.4846, allocations: 82.61 kB / 0.5584 GB, free: 16.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01357/0.4981, allocations: 5.48 MB / 0.5638 GB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4982, allocations: 3.391 kB / 0.5638 GB, free: 13.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.4982, allocations: 4 kB / 0.5638 GB, free: 13.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003572/0.4986, allocations: 401.1 kB / 0.5642 GB, free: 12.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4986, allocations: 12.03 kB / 0.5642 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.4987, allocations: 18.39 kB / 0.5642 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.4989, allocations: 211 kB / 0.5644 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.4989, allocations: 0 / 0.5644 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.499, allocations: 7.938 kB / 0.5644 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.4991, allocations: 56.73 kB / 0.5645 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.4991, allocations: 0 / 0.5645 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.4991, allocations: 5.172 kB / 0.5645 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4991, allocations: 0 / 0.5645 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.266e-05/0.4992, allocations: 19.67 kB / 0.5645 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.4995, allocations: 294.6 kB / 0.5648 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.878e-05/0.4996, allocations: 65.44 kB / 0.5648 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.4997, allocations: 16.61 kB / 0.5649 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.4997, allocations: 3.984 kB / 0.5649 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.4998, allocations: 71.48 kB / 0.5649 GB, free: 12.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4998, allocations: 0 / 0.5649 GB, free: 12.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003934/0.5002, allocations: 162.9 kB / 0.5651 GB, free: 11.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.5002, allocations: 59.03 kB / 0.5651 GB, free: 11.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.5004, allocations: 197.4 kB / 0.5653 GB, free: 11.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.5004, allocations: 25.7 kB / 0.5654 GB, free: 11.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.5004, allocations: 102.6 kB / 0.5655 GB, free: 11.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.5005, allocations: 22.91 kB / 0.5655 GB, free: 11.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.5005, allocations: 0 / 0.5655 GB, free: 11.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.011e-05/0.5005, allocations: 326.4 kB / 0.5658 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.5006, allocations: 19.25 kB / 0.5658 GB, free: 11.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.706e-05/0.5006, allocations: 43 kB / 0.5659 GB, free: 11.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.801e-05/0.5007, allocations: 23.67 kB / 0.5659 GB, free: 11.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.5007, allocations: 0 / 0.5659 GB, free: 11.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001176/0.5008, allocations: 103.3 kB / 0.566 GB, free: 11.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.5008, allocations: 8 kB / 0.566 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5008, allocations: 4.062 kB / 0.566 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.5008, allocations: 0 / 0.566 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.179e-05/0.5009, allocations: 15.98 kB / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.5009, allocations: 12.09 kB / 0.566 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.501, allocations: 7.969 kB / 0.566 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.501, allocations: 7.688 kB / 0.566 GB, free: 11.08 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 (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 4.891e-05/0.5011, allocations: 108.2 kB / 0.5661 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.5011, allocations: 11.89 kB / 0.5661 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.5013, allocations: 113.1 kB / 0.5662 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5013, allocations: 4 kB / 0.5663 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5013, allocations: 5.297 kB / 0.5663 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5013, allocations: 3.953 kB / 0.5663 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.5016, allocations: 421.3 kB / 0.5667 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.5016, allocations: 0 / 0.5667 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.5017, allocations: 15.92 kB / 0.5667 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5017, allocations: 4 kB / 0.5667 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.5017, allocations: 3.984 kB / 0.5667 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5017, allocations: 7.891 kB / 0.5667 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5017, allocations: 0 / 0.5667 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.5019, allocations: 217 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.5019, allocations: 100.4 kB / 0.567 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.5019, allocations: 11.52 kB / 0.567 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.502, allocations: 0 / 0.567 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.5021, allocations: 7.984 kB / 0.567 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.5021, allocations: 4 kB / 0.567 GB, free: 10.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.635e-05/0.5022, allocations: 160.1 kB / 0.5672 GB, free: 9.914 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5022, allocations: 4 kB / 0.5672 GB, free: 9.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000227/0.5024, allocations: 30.25 kB / 0.5672 GB, free: 9.887 MB / 394.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.0008323/0.5033, allocations: 429 kB / 0.5676 GB, free: 9.543 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.5034, allocations: 55.75 kB / 0.5677 GB, free: 9.504 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5034, allocations: 0 / 0.5677 GB, free: 9.504 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.763e-05/0.5034, allocations: 30.38 kB / 0.5677 GB, free: 9.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.5037, allocations: 28.44 kB / 0.5677 GB, free: 9.461 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.504, allocations: 183 kB / 0.5679 GB, free: 9.281 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.5041, allocations: 0.7148 MB / 0.5686 GB, free: 8.543 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.78e-05/0.5042, allocations: 22.33 kB / 0.5686 GB, free: 8.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.5042, allocations: 19.25 kB / 0.5686 GB, free: 8.508 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5042, allocations: 0 / 0.5686 GB, free: 8.508 MB / 394.7 MB Notification: Performance of Templates: time 0.003562/0.5078, allocations: 1.739 MB / 0.5703 GB, free: 6.781 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches