Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002366/0.002366, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.189/2.189, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001075/0.001074, allocations: 82.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2738/0.2738, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.694e-05/3.703e-05, allocations: 8 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.12, allocations: 58.86 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5054/0.6255, allocations: 87.58 MB / 0.5583 GB, free: 12 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.6258, allocations: 79.05 kB / 0.5584 GB, free: 15.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02335/0.6492, allocations: 5.258 MB / 0.5635 GB, free: 11.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6492, allocations: 0 / 0.5635 GB, free: 11.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.6493, allocations: 7.938 kB / 0.5636 GB, free: 11.54 MB / 378.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.0005387/0.6498, allocations: 385.1 kB / 0.5639 GB, free: 11.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.6499, allocations: 12.03 kB / 0.5639 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.6499, allocations: 11.84 kB / 0.5639 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.6503, allocations: 216.3 kB / 0.5641 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.6504, allocations: 7.688 kB / 0.5642 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.6504, allocations: 4 kB / 0.5642 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.6505, allocations: 51.98 kB / 0.5642 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.6506, allocations: 0 / 0.5642 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.6506, allocations: 0 / 0.5642 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.6506, allocations: 0 / 0.5642 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.256e-05/0.6507, allocations: 27.11 kB / 0.5642 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.6512, allocations: 289 kB / 0.5645 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.6513, allocations: 52.94 kB / 0.5646 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.09e-05/0.6514, allocations: 20.48 kB / 0.5646 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.6514, allocations: 3.5 kB / 0.5646 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.6516, allocations: 70.2 kB / 0.5646 GB, free: 10.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.6516, allocations: 4 kB / 0.5647 GB, free: 10.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005882/0.6522, allocations: 163.3 kB / 0.5648 GB, free: 10.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.6523, allocations: 55.41 kB / 0.5649 GB, free: 10.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.6525, allocations: 171.7 kB / 0.565 GB, free: 9.961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.6526, allocations: 29.7 kB / 0.5651 GB, free: 9.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.6527, allocations: 161 kB / 0.5652 GB, free: 9.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.6527, allocations: 22.89 kB / 0.5652 GB, free: 9.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.6527, allocations: 0 / 0.5652 GB, free: 9.758 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.6529, allocations: 314 kB / 0.5655 GB, free: 9.445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.886e-05/0.6529, allocations: 23.31 kB / 0.5656 GB, free: 9.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.525e-05/0.653, allocations: 45.38 kB / 0.5656 GB, free: 9.387 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.779e-05/0.6531, allocations: 18.69 kB / 0.5656 GB, free: 9.375 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6531, allocations: 0 / 0.5656 GB, free: 9.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002238/0.6534, allocations: 97.52 kB / 0.5657 GB, free: 9.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.6534, allocations: 7.438 kB / 0.5657 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.6534, allocations: 0 / 0.5657 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.6534, allocations: 0 / 0.5657 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.6536, allocations: 24.02 kB / 0.5657 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.6536, allocations: 3.953 kB / 0.5657 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.6537, allocations: 7.562 kB / 0.5657 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.6538, allocations: 3.938 kB / 0.5657 GB, free: 9.25 MB / 378.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 9.044e-05/0.6539, allocations: 112.5 kB / 0.5659 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.6539, allocations: 7.906 kB / 0.5659 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.6542, allocations: 123.5 kB / 0.566 GB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.6542, allocations: 4 kB / 0.566 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6543, allocations: 4 kB / 0.566 GB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.6543, allocations: 3.953 kB / 0.566 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005995/0.6549, allocations: 405.9 kB / 0.5664 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.6549, allocations: 0 / 0.5664 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.763e-05/0.655, allocations: 15.23 kB / 0.5664 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.655, allocations: 0 / 0.5664 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.655, allocations: 4 kB / 0.5664 GB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.403e-06/0.655, allocations: 3.953 kB / 0.5664 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6551, allocations: 4.031 kB / 0.5664 GB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.6554, allocations: 212.6 kB / 0.5666 GB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.546e-05/0.6554, allocations: 91.75 kB / 0.5667 GB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.6555, allocations: 7.953 kB / 0.5667 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.6556, allocations: 6.812 kB / 0.5667 GB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.6557, allocations: 7.984 kB / 0.5667 GB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.6557, allocations: 7.938 kB / 0.5667 GB, free: 8.223 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001823/0.6559, allocations: 148.4 kB / 0.5669 GB, free: 8.098 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6559, allocations: 0 / 0.5669 GB, free: 8.098 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000357/0.6563, allocations: 35.47 kB / 0.5669 GB, free: 8.066 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: 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.00123/0.6575, allocations: 425.4 kB / 0.5673 GB, free: 7.707 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.6577, allocations: 58.05 kB / 0.5674 GB, free: 7.664 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6578, allocations: 0 / 0.5674 GB, free: 7.664 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.295e-05/0.6579, allocations: 32.69 kB / 0.5674 GB, free: 7.641 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.6582, allocations: 24.06 kB / 0.5674 GB, free: 7.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.6588, allocations: 199.1 kB / 0.5676 GB, free: 7.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.6591, allocations: 0.7077 MB / 0.5683 GB, free: 6.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.6592, allocations: 15.44 kB / 0.5683 GB, free: 6.664 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6592, allocations: 0 / 0.5683 GB, free: 6.664 MB / 378.7 MB Notification: Performance of Templates: time 0.005346/0.6645, allocations: 1.93 MB / 0.5702 GB, free: 4.742 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches