Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002308/0.002307, allocations: 181.3 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.034/2.034, 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.00111/0.00111, allocations: 86.64 kB / 267.5 MB, free: 14.04 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.2771/0.2771, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.694e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4988/0.6177, allocations: 87.62 MB / 0.5584 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.6181, allocations: 76.5 kB / 0.5584 GB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02454/0.6426, allocations: 5.369 MB / 0.5637 GB, free: 11.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6427, allocations: 0 / 0.5637 GB, free: 11.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.6427, allocations: 7.938 kB / 0.5637 GB, free: 11.43 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.0005865/0.6433, allocations: 393.3 kB / 0.5641 GB, free: 11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.6434, allocations: 12.03 kB / 0.5641 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.6434, allocations: 11.89 kB / 0.5641 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.6438, allocations: 211.5 kB / 0.5643 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.6439, allocations: 3.938 kB / 0.5643 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.6439, allocations: 7.984 kB / 0.5643 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.6441, allocations: 48.75 kB / 0.5643 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.6441, allocations: 0 / 0.5643 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.6441, allocations: 3.812 kB / 0.5644 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.6441, allocations: 8 kB / 0.5644 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.903e-05/0.6442, allocations: 15.36 kB / 0.5644 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.6447, allocations: 290.1 kB / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.6449, allocations: 57.19 kB / 0.5647 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.404e-05/0.645, allocations: 20.16 kB / 0.5647 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.645, allocations: 4 kB / 0.5647 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.6452, allocations: 66.41 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.374e-06/0.6452, allocations: 0 / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006067/0.6458, allocations: 170.6 kB / 0.565 GB, free: 10.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.6459, allocations: 51.41 kB / 0.565 GB, free: 9.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.6462, allocations: 171.7 kB / 0.5652 GB, free: 9.844 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.6462, allocations: 29.7 kB / 0.5652 GB, free: 9.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.6463, allocations: 165.2 kB / 0.5654 GB, free: 9.656 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.6463, allocations: 22.83 kB / 0.5654 GB, free: 9.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.6464, allocations: 0 / 0.5654 GB, free: 9.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.6465, allocations: 318.8 kB / 0.5657 GB, free: 9.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.449e-05/0.6466, allocations: 22.75 kB / 0.5657 GB, free: 9.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.88e-05/0.6467, allocations: 36.7 kB / 0.5657 GB, free: 9.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.468e-05/0.6468, allocations: 23.8 kB / 0.5658 GB, free: 9.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.6468, allocations: 4 kB / 0.5658 GB, free: 9.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002287/0.647, allocations: 91.28 kB / 0.5659 GB, free: 9.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.647, allocations: 4 kB / 0.5659 GB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.6471, allocations: 4.062 kB / 0.5659 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.6471, allocations: 4 kB / 0.5659 GB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.6472, allocations: 19.42 kB / 0.5659 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.6473, allocations: 3.953 kB / 0.5659 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.478e-05/0.6474, allocations: 4 kB / 0.5659 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.6474, allocations: 0 / 0.5659 GB, free: 9.133 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 8.731e-05/0.6475, allocations: 112.3 kB / 0.566 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.6475, allocations: 11.91 kB / 0.566 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.6479, allocations: 120 kB / 0.5661 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.6479, allocations: 4 kB / 0.5661 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6479, allocations: 0 / 0.5661 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.6479, allocations: 3.953 kB / 0.5661 GB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006454/0.6486, allocations: 408.2 kB / 0.5665 GB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.6486, allocations: 4.031 kB / 0.5665 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.039e-05/0.6487, allocations: 15.92 kB / 0.5665 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.6487, allocations: 0 / 0.5665 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.6487, allocations: 7.688 kB / 0.5665 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.6487, allocations: 3.953 kB / 0.5665 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6488, allocations: 0 / 0.5665 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.6491, allocations: 214.8 kB / 0.5668 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.329e-05/0.6492, allocations: 96.31 kB / 0.5668 GB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.6492, allocations: 4.328 kB / 0.5668 GB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.6493, allocations: 7.875 kB / 0.5669 GB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.6494, allocations: 11.97 kB / 0.5669 GB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.6494, allocations: 3.938 kB / 0.5669 GB, free: 8.102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001858/0.6496, allocations: 149.6 kB / 0.567 GB, free: 7.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6496, allocations: 0 / 0.567 GB, free: 7.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003584/0.65, allocations: 31.72 kB / 0.567 GB, free: 7.945 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.001231/0.6513, allocations: 425.1 kB / 0.5675 GB, free: 7.582 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.6515, allocations: 57.72 kB / 0.5675 GB, free: 7.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6515, allocations: 0 / 0.5675 GB, free: 7.539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.732e-05/0.6516, allocations: 35.31 kB / 0.5675 GB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.652, allocations: 29.59 kB / 0.5676 GB, free: 7.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.6526, allocations: 195.5 kB / 0.5678 GB, free: 7.281 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.653, allocations: 0.7082 MB / 0.5684 GB, free: 6.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.653, allocations: 15.5 kB / 0.5685 GB, free: 6.531 MB / 378.7 MB Notification: Performance of SimCode: time 1.243e-06/0.6531, allocations: 4 kB / 0.5685 GB, free: 6.527 MB / 378.7 MB Notification: Performance of Templates: time 0.005455/0.6585, allocations: 1.926 MB / 0.5703 GB, free: 4.613 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches