Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, 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.528/1.528, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.0007983/0.0007983, allocations: 88.45 kB / 267.1 MB, free: 9.289 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.3844/0.3844, allocations: 43.47 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.521e-05, allocations: 4 kB / 425.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1306, allocations: 58.84 MB / 484.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.39/0.5207, allocations: 88.61 MB / 0.5594 GB, free: 424 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.521, allocations: 79.05 kB / 0.5594 GB, free: 348 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01109/0.5321, allocations: 4.243 MB / 0.5636 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5321, allocations: 0 / 0.5636 GB, free: 12.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.5321, allocations: 8 kB / 0.5636 GB, free: 12.12 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005024/0.5326, allocations: 451.3 kB / 0.564 GB, free: 11.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5327, allocations: 8.031 kB / 0.564 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.5328, allocations: 23.25 kB / 0.564 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.5331, allocations: 235.9 kB / 0.5643 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.5331, allocations: 4 kB / 0.5643 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.5331, allocations: 8 kB / 0.5643 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.5333, allocations: 96.23 kB / 0.5644 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.5334, allocations: 0 / 0.5644 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.5334, allocations: 1.375 kB / 0.5644 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.5334, allocations: 4 kB / 0.5644 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.955e-05/0.5335, allocations: 43.94 kB / 0.5644 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.5341, allocations: 0.5126 MB / 0.5649 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.5344, allocations: 86.66 kB / 0.565 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.5344, allocations: 36.84 kB / 0.565 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.5344, allocations: 4 kB / 0.565 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.5346, allocations: 83.27 kB / 0.5651 GB, free: 10.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.785e-06/0.5346, allocations: 4 kB / 0.5651 GB, free: 10.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002316/0.5349, allocations: 105.4 kB / 0.5652 GB, free: 10.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.5349, allocations: 51.41 kB / 0.5653 GB, free: 10.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.5351, allocations: 176.2 kB / 0.5654 GB, free: 10.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.5351, allocations: 25.92 kB / 0.5655 GB, free: 9.984 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.5352, allocations: 116 kB / 0.5656 GB, free: 9.867 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.5352, allocations: 35.48 kB / 0.5656 GB, free: 9.832 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.5352, allocations: 0 / 0.5656 GB, free: 9.832 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.5354, allocations: 326.8 kB / 0.5659 GB, free: 9.504 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.5354, allocations: 24 kB / 0.5659 GB, free: 9.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.5355, allocations: 57.41 kB / 0.566 GB, free: 9.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.315e-05/0.5356, allocations: 31.92 kB / 0.566 GB, free: 9.379 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5356, allocations: 2.062 kB / 0.566 GB, free: 9.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001849/0.5358, allocations: 129.4 kB / 0.5662 GB, free: 9.246 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.5358, allocations: 4 kB / 0.5662 GB, free: 9.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5358, allocations: 5.406 kB / 0.5662 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.5358, allocations: 3.953 kB / 0.5662 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.5359, allocations: 27.98 kB / 0.5662 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.536, allocations: 0 / 0.5662 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.814e-05/0.536, allocations: 11.94 kB / 0.5662 GB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.5361, allocations: 8.125 kB / 0.5662 GB, free: 9.188 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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 8.117e-05/0.5361, allocations: 115.7 kB / 0.5663 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.5362, allocations: 19.8 kB / 0.5663 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.5364, allocations: 119.3 kB / 0.5665 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.5364, allocations: 4.047 kB / 0.5665 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5364, allocations: 3.938 kB / 0.5665 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5364, allocations: 0 / 0.5665 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.5366, allocations: 209.8 kB / 0.5667 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5366, allocations: 4 kB / 0.5667 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-05/0.5367, allocations: 19.98 kB / 0.5667 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5367, allocations: 4 kB / 0.5667 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.5367, allocations: 0 / 0.5667 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5367, allocations: 0 / 0.5667 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5367, allocations: 3.953 kB / 0.5667 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.537, allocations: 172.8 kB / 0.5669 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.5371, allocations: 100.9 kB / 0.567 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.5371, allocations: 4.062 kB / 0.567 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.5372, allocations: 12 kB / 0.567 GB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.5372, allocations: 15.92 kB / 0.567 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.5373, allocations: 3.953 kB / 0.567 GB, free: 8.297 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.5374, allocations: 149.1 kB / 0.5671 GB, free: 8.152 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5374, allocations: 0 / 0.5671 GB, free: 8.152 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002068/0.5376, allocations: 28.12 kB / 0.5672 GB, free: 8.125 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008594/0.5385, allocations: 385.2 kB / 0.5675 GB, free: 7.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.5386, allocations: 71.86 kB / 0.5676 GB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5386, allocations: 0 / 0.5676 GB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.562e-05/0.5387, allocations: 32 kB / 0.5676 GB, free: 7.719 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.539, allocations: 36.14 kB / 0.5677 GB, free: 7.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.5394, allocations: 194.9 kB / 0.5678 GB, free: 7.477 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.5398, allocations: 0.7206 MB / 0.5685 GB, free: 6.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.974e-05/0.5399, allocations: 17.14 kB / 0.5686 GB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.5399, allocations: 19.44 kB / 0.5686 GB, free: 6.695 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5399, allocations: 0 / 0.5686 GB, free: 6.695 MB / 394.7 MB Notification: Performance of Templates: time 0.004437/0.5444, allocations: 1.797 MB / 0.5703 GB, free: 4.906 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches