Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001714/0.001713, 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.696/1.696, allocations: 205.3 MB / 213.7 MB, free: 1.746 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.0009037/0.0009036, allocations: 90.58 kB / 261.8 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.2282/0.2282, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.281e-05/2.282e-05, allocations: 8 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1307, allocations: 58.86 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4612/0.592, allocations: 86.82 MB / 0.5507 GB, free: 8.098 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.5922, allocations: 77.17 kB / 0.5508 GB, free: 8.059 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0138/0.606, allocations: 6.431 MB / 0.5571 GB, free: 2.848 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.606, allocations: 4 kB / 0.5571 GB, free: 2.844 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.294e-05/0.6061, allocations: 8 kB / 0.5571 GB, free: 2.836 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000589/0.6067, allocations: 0.5995 MB / 0.5577 GB, free: 2.219 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.6067, allocations: 8.031 kB / 0.5577 GB, free: 2.211 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.863e-05/0.6068, allocations: 51.38 kB / 0.5577 GB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000707/0.6075, allocations: 486 kB / 0.5582 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.6076, allocations: 0 / 0.5582 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.6076, allocations: 7.984 kB / 0.5582 GB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001013/0.6077, allocations: 24.69 kB / 0.5582 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.6078, allocations: 85.25 kB / 0.5583 GB, free: 1.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6078, allocations: 0 / 0.5583 GB, free: 1.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.6079, allocations: 3.984 kB / 0.5583 GB, free: 1.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6079, allocations: 0 / 0.5583 GB, free: 1.586 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.6082, allocations: 365.3 kB / 0.5587 GB, free: 1.246 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.6083, allocations: 91.34 kB / 0.5587 GB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.552e-05/0.6084, allocations: 39.83 kB / 0.5588 GB, free: 1.121 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.6084, allocations: 8 kB / 0.5588 GB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.6086, allocations: 99.98 kB / 0.5589 GB, free: 1.012 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.6086, allocations: 0 / 0.5589 GB, free: 1.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003013/0.6089, allocations: 170.1 kB / 0.5591 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.609, allocations: 77.11 kB / 0.5591 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009887/0.61, allocations: 0.9068 MB / 0.56 GB, free: 68 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.61, allocations: 25.7 kB / 0.56 GB, free: 36 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.6102, allocations: 228 kB / 0.5603 GB, free: 15.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.6102, allocations: 29.83 kB / 0.5603 GB, free: 15.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.6103, allocations: 0 / 0.5603 GB, free: 15.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.6105, allocations: 370 kB / 0.5606 GB, free: 15.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.813e-05/0.6105, allocations: 22.75 kB / 0.5607 GB, free: 15.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.889e-05/0.6106, allocations: 49.42 kB / 0.5607 GB, free: 15.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.535e-05/0.6107, allocations: 38.17 kB / 0.5607 GB, free: 15.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6107, allocations: 0 / 0.5607 GB, free: 15.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002698/0.611, allocations: 153.9 kB / 0.5609 GB, free: 15.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.611, allocations: 8 kB / 0.5609 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.611, allocations: 0 / 0.5609 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.611, allocations: 0 / 0.5609 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.6112, allocations: 23.98 kB / 0.5609 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.6112, allocations: 4.062 kB / 0.5609 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.6113, allocations: 19.83 kB / 0.5609 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.6113, allocations: 4 kB / 0.5609 GB, free: 15.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001309/0.6115, allocations: 120.4 kB / 0.5611 GB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/0.6115, allocations: 47.44 kB / 0.5611 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.6119, allocations: 193.7 kB / 0.5613 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.6119, allocations: 4 kB / 0.5613 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6119, allocations: 0 / 0.5613 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6119, allocations: 4 kB / 0.5613 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.6123, allocations: 366.8 kB / 0.5616 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6123, allocations: 320 / 0.5616 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.6123, allocations: 15.95 kB / 0.5617 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.6123, allocations: 0 / 0.5617 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.6123, allocations: 4 kB / 0.5617 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.6123, allocations: 0 / 0.5617 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6124, allocations: 0 / 0.5617 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.6127, allocations: 221.3 kB / 0.5619 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.6129, allocations: 195.7 kB / 0.5621 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.613, allocations: 11.92 kB / 0.5621 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.405e-05/0.6131, allocations: 4 kB / 0.5621 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.6131, allocations: 7.984 kB / 0.5621 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.6131, allocations: 4 kB / 0.5621 GB, free: 14.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007634/0.6139, allocations: 0.7161 MB / 0.5628 GB, free: 13.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6139, allocations: 4 kB / 0.5628 GB, free: 13.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000314/0.6142, allocations: 79.94 kB / 0.5629 GB, free: 13.52 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008288/0.6151, allocations: 356.5 kB / 0.5632 GB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.6152, allocations: 70.36 kB / 0.5633 GB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6153, allocations: 128 / 0.5633 GB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.834e-05/0.6153, allocations: 50.61 kB / 0.5633 GB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.6157, allocations: 57.06 kB / 0.5634 GB, free: 13.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.6168, allocations: 0.7742 MB / 0.5641 GB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/0.6173, allocations: 0.8502 MB / 0.565 GB, free: 11.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.6175, allocations: 94.75 kB / 0.5651 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.935e-05/0.6176, allocations: 39.38 kB / 0.5651 GB, free: 11.39 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6176, allocations: 3.938 kB / 0.5651 GB, free: 11.39 MB / 378.7 MB Notification: Performance of Templates: time 0.008262/0.6259, allocations: 3.968 MB / 0.569 GB, free: 7.441 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches