Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00095/0.00095, allocations: 183.8 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.292/1.292, 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.001/0.0009998, allocations: 83.23 kB / 267 MB, free: 9.277 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.3473/0.3473, allocations: 43.46 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.896e-05, allocations: 4 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.127, allocations: 58.85 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3888/0.5159, allocations: 87.48 MB / 0.5582 GB, free: 16.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.5162, allocations: 78.81 kB / 0.5583 GB, free: 16.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01471/0.5309, allocations: 6.44 MB / 0.5646 GB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5309, allocations: 0 / 0.5646 GB, free: 12.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.349e-05/0.531, allocations: 7.281 kB / 0.5646 GB, free: 12.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005535/0.5315, allocations: 0.5924 MB / 0.5652 GB, free: 12.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.5316, allocations: 12.03 kB / 0.5652 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.648e-05/0.5317, allocations: 54.77 kB / 0.5653 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006525/0.5323, allocations: 470.5 kB / 0.5657 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.5323, allocations: 11.25 kB / 0.5657 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.5324, allocations: 0 / 0.5657 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.5325, allocations: 89.3 kB / 0.5658 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.5325, allocations: 0 / 0.5658 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.5325, allocations: 4.75 kB / 0.5658 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5326, allocations: 0 / 0.5658 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.784e-05/0.5326, allocations: 34.55 kB / 0.5658 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.5329, allocations: 382.3 kB / 0.5662 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.5331, allocations: 103.2 kB / 0.5663 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.5331, allocations: 36.92 kB / 0.5663 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.5332, allocations: 0 / 0.5663 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.5333, allocations: 105.6 kB / 0.5664 GB, free: 10.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.414e-06/0.5333, allocations: 0 / 0.5664 GB, free: 10.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002801/0.5336, allocations: 162 kB / 0.5666 GB, free: 10.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.5337, allocations: 84.61 kB / 0.5667 GB, free: 10.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009453/0.5346, allocations: 0.9057 MB / 0.5676 GB, free: 9.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.5346, allocations: 32.12 kB / 0.5676 GB, free: 9.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.5348, allocations: 226.8 kB / 0.5678 GB, free: 9.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.5348, allocations: 38.72 kB / 0.5678 GB, free: 9.629 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.5348, allocations: 4 kB / 0.5678 GB, free: 9.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.109e-05/0.5349, allocations: 372.9 kB / 0.5682 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.442e-05/0.535, allocations: 25.12 kB / 0.5682 GB, free: 9.258 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.535, allocations: 61.09 kB / 0.5683 GB, free: 9.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.416e-05/0.5351, allocations: 31.55 kB / 0.5683 GB, free: 9.176 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5351, allocations: 8 kB / 0.5683 GB, free: 9.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002078/0.5353, allocations: 160.2 kB / 0.5685 GB, free: 9.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5354, allocations: 8 kB / 0.5685 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5354, allocations: 0 / 0.5685 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5354, allocations: 0 / 0.5685 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.5355, allocations: 27.92 kB / 0.5685 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5355, allocations: 0 / 0.5685 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.666e-05/0.5356, allocations: 19.27 kB / 0.5685 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.5356, allocations: 4 kB / 0.5685 GB, free: 8.973 MB / 394.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 5.896e-05/0.5357, allocations: 125.2 kB / 0.5686 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.5358, allocations: 47.44 kB / 0.5687 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.536, allocations: 188.2 kB / 0.5689 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5361, allocations: 7.938 kB / 0.5689 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5361, allocations: 3.938 kB / 0.5689 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5361, allocations: 0 / 0.5689 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.5364, allocations: 387 kB / 0.5693 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.5364, allocations: 9.297 kB / 0.5693 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.5364, allocations: 12 kB / 0.5693 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.5364, allocations: 0 / 0.5693 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.5364, allocations: 4 kB / 0.5693 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5365, allocations: 0 / 0.5693 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5365, allocations: 0 / 0.5693 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.5367, allocations: 228.4 kB / 0.5695 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.537, allocations: 187.5 kB / 0.5697 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.62e-05/0.537, allocations: 11.67 kB / 0.5697 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.022e-05/0.5371, allocations: 8 kB / 0.5697 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.5372, allocations: 7.984 kB / 0.5697 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.5372, allocations: 7.625 kB / 0.5697 GB, free: 7.805 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000705/0.5379, allocations: 0.7196 MB / 0.5704 GB, free: 7.281 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5379, allocations: 3.938 kB / 0.5704 GB, free: 7.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002929/0.5382, allocations: 80.42 kB / 0.5705 GB, free: 7.203 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: 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.0008153/0.5391, allocations: 382.2 kB / 0.5709 GB, free: 6.898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.5392, allocations: 78.55 kB / 0.5709 GB, free: 6.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5393, allocations: 0 / 0.5709 GB, free: 6.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.469e-05/0.5393, allocations: 46.44 kB / 0.571 GB, free: 6.809 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.5397, allocations: 67.75 kB / 0.571 GB, free: 6.762 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008687/0.5406, allocations: 0.7569 MB / 0.5718 GB, free: 6.059 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.5408, allocations: 0.8591 MB / 0.5726 GB, free: 5.191 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.5409, allocations: 81.39 kB / 0.5727 GB, free: 5.117 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.674e-05/0.541, allocations: 42.92 kB / 0.5727 GB, free: 5.078 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.541, allocations: 0 / 0.5727 GB, free: 5.078 MB / 394.7 MB Notification: Performance of Templates: time 0.006882/0.5479, allocations: 4.517 MB / 0.5771 GB, free: 0.582 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches