Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002356/0.002356, allocations: 181 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.059/2.059, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.00108/0.00108, allocations: 86.7 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.283/0.283, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.666e-05, allocations: 8 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1222, allocations: 58.84 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5037/0.626, allocations: 87.57 MB / 0.5583 GB, free: 88 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.6263, allocations: 77.98 kB / 0.5584 GB, free: 48 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0244/0.6507, allocations: 5.163 MB / 0.5634 GB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.6508, allocations: 0 / 0.5634 GB, free: 11.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.165e-05/0.6508, allocations: 15.94 kB / 0.5634 GB, free: 11.7 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.0005542/0.6514, allocations: 377.8 kB / 0.5638 GB, free: 11.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.6514, allocations: 12.02 kB / 0.5638 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.6515, allocations: 11.91 kB / 0.5638 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.6519, allocations: 213.4 kB / 0.564 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.6519, allocations: 3.938 kB / 0.564 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.6519, allocations: 7.984 kB / 0.564 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.6521, allocations: 52.56 kB / 0.5641 GB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.6522, allocations: 0 / 0.5641 GB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.6522, allocations: 3.25 kB / 0.5641 GB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6522, allocations: 0 / 0.5641 GB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.487e-05/0.6523, allocations: 19.55 kB / 0.5641 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.6528, allocations: 289.9 kB / 0.5644 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.653, allocations: 57.23 kB / 0.5644 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.6531, allocations: 24.23 kB / 0.5645 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.6531, allocations: 0 / 0.5645 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.6533, allocations: 66.33 kB / 0.5645 GB, free: 10.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 5.089e-06/0.6533, allocations: 0 / 0.5645 GB, free: 10.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006138/0.6539, allocations: 161.5 kB / 0.5647 GB, free: 10.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.654, allocations: 55.41 kB / 0.5647 GB, free: 10.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.6542, allocations: 148.2 kB / 0.5649 GB, free: 10.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.6543, allocations: 29.14 kB / 0.5649 GB, free: 10.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.6544, allocations: 165.5 kB / 0.5651 GB, free: 9.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.6544, allocations: 19.28 kB / 0.5651 GB, free: 9.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.6544, allocations: 7.938 kB / 0.5651 GB, free: 9.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6546, allocations: 317.9 kB / 0.5654 GB, free: 9.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-05/0.6546, allocations: 19.38 kB / 0.5654 GB, free: 9.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.259e-05/0.6547, allocations: 28.41 kB / 0.5654 GB, free: 9.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.687e-05/0.6548, allocations: 26.3 kB / 0.5655 GB, free: 9.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6548, allocations: 0 / 0.5655 GB, free: 9.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002309/0.6551, allocations: 94.03 kB / 0.5656 GB, free: 9.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.6551, allocations: 4 kB / 0.5656 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.6551, allocations: 4 kB / 0.5656 GB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.6552, allocations: 0 / 0.5656 GB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.6553, allocations: 15.98 kB / 0.5656 GB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.6554, allocations: 3.953 kB / 0.5656 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/0.6555, allocations: 7.5 kB / 0.5656 GB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.6555, allocations: 8.188 kB / 0.5656 GB, free: 9.426 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.896e-05/0.6556, allocations: 111.3 kB / 0.5657 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.6556, allocations: 15.89 kB / 0.5657 GB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.656, allocations: 111.2 kB / 0.5658 GB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.656, allocations: 7.938 kB / 0.5658 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.656, allocations: 0 / 0.5658 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.656, allocations: 7.938 kB / 0.5658 GB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006447/0.6567, allocations: 396.5 kB / 0.5662 GB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.6567, allocations: 8 kB / 0.5662 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.6568, allocations: 8 kB / 0.5662 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-06/0.6568, allocations: 0 / 0.5662 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.6569, allocations: 7.984 kB / 0.5662 GB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.6569, allocations: 3.953 kB / 0.5662 GB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6569, allocations: 0 / 0.5662 GB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.6572, allocations: 222.8 kB / 0.5665 GB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.6573, allocations: 85.02 kB / 0.5665 GB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.6573, allocations: 11.38 kB / 0.5665 GB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.6575, allocations: 4 kB / 0.5666 GB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.6575, allocations: 4 kB / 0.5666 GB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.6575, allocations: 11.92 kB / 0.5666 GB, free: 8.406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001417/0.6577, allocations: 125 kB / 0.5667 GB, free: 8.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6577, allocations: 8 kB / 0.5667 GB, free: 8.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003512/0.6581, allocations: 27.44 kB / 0.5667 GB, free: 8.27 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.001232/0.6593, allocations: 418.7 kB / 0.5671 GB, free: 7.906 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.6595, allocations: 68.34 kB / 0.5672 GB, free: 7.855 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.6596, allocations: 0 / 0.5672 GB, free: 7.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.026e-05/0.6597, allocations: 26.38 kB / 0.5672 GB, free: 7.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.66, allocations: 32 kB / 0.5672 GB, free: 7.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.6605, allocations: 174.6 kB / 0.5674 GB, free: 7.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.6609, allocations: 0.7083 MB / 0.5681 GB, free: 6.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/0.6609, allocations: 15.44 kB / 0.5681 GB, free: 6.879 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.6609, allocations: 0 / 0.5681 GB, free: 6.879 MB / 378.7 MB Notification: Performance of Templates: time 0.0052/0.6661, allocations: 1.871 MB / 0.5699 GB, free: 5.016 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches