Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002495/0.002499, allocations: 180.9 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.285/2.285, 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.001673/0.001673, allocations: 78.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.2766/0.2766, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.174e-05/4.182e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1202, allocations: 58.86 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4841/0.6044, allocations: 87.84 MB / 0.5586 GB, free: 15.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.6047, allocations: 81.23 kB / 0.5587 GB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02507/0.6298, allocations: 5.769 MB / 0.5643 GB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6298, allocations: 3.938 kB / 0.5643 GB, free: 11.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.6299, allocations: 0 / 0.5643 GB, free: 11.12 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.0005573/0.6304, allocations: 382.2 kB / 0.5647 GB, free: 10.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.6305, allocations: 16.03 kB / 0.5647 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.6306, allocations: 11.72 kB / 0.5647 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.631, allocations: 209.3 kB / 0.5649 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.631, allocations: 3.438 kB / 0.5649 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.631, allocations: 4 kB / 0.5649 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.6312, allocations: 68.7 kB / 0.565 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.6312, allocations: 0 / 0.565 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.6313, allocations: 4 kB / 0.565 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.6313, allocations: 0 / 0.565 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.103e-05/0.6314, allocations: 23.42 kB / 0.565 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.6318, allocations: 284 kB / 0.5653 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.632, allocations: 56.81 kB / 0.5653 GB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.566e-05/0.6321, allocations: 16.36 kB / 0.5653 GB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.6321, allocations: 0 / 0.5653 GB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.6323, allocations: 74.52 kB / 0.5654 GB, free: 9.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.138e-06/0.6323, allocations: 0 / 0.5654 GB, free: 9.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005975/0.6329, allocations: 162 kB / 0.5656 GB, free: 9.754 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.633, allocations: 80.3 kB / 0.5656 GB, free: 9.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.6332, allocations: 139 kB / 0.5658 GB, free: 9.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.6333, allocations: 29.02 kB / 0.5658 GB, free: 9.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.6334, allocations: 161.6 kB / 0.5659 GB, free: 9.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.6334, allocations: 35.12 kB / 0.566 GB, free: 9.316 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.6334, allocations: 0 / 0.566 GB, free: 9.316 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.6336, allocations: 314.3 kB / 0.5663 GB, free: 9.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.108e-05/0.6337, allocations: 18.94 kB / 0.5663 GB, free: 8.992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.6338, allocations: 45.5 kB / 0.5663 GB, free: 8.945 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.849e-05/0.6339, allocations: 22.75 kB / 0.5664 GB, free: 8.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.6339, allocations: 32 / 0.5664 GB, free: 8.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002181/0.6341, allocations: 95.36 kB / 0.5665 GB, free: 8.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.6341, allocations: 7.953 kB / 0.5665 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.6341, allocations: 0 / 0.5665 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6342, allocations: 0 / 0.5665 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.6343, allocations: 19.94 kB / 0.5665 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.8e-05/0.6344, allocations: 0 / 0.5665 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.199e-05/0.6345, allocations: 7.984 kB / 0.5665 GB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.6345, allocations: 0 / 0.5665 GB, free: 8.812 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.518e-05/0.6346, allocations: 114.3 kB / 0.5666 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.6346, allocations: 7.906 kB / 0.5666 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.635, allocations: 125.2 kB / 0.5667 GB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.635, allocations: 0 / 0.5667 GB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.635, allocations: 0 / 0.5667 GB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.635, allocations: 0 / 0.5667 GB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.6356, allocations: 397.1 kB / 0.5671 GB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.6356, allocations: 3.953 kB / 0.5671 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.6357, allocations: 15.59 kB / 0.5671 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.6357, allocations: 0 / 0.5671 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.6358, allocations: 4 kB / 0.5671 GB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.6358, allocations: 7.922 kB / 0.5671 GB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.6358, allocations: 0 / 0.5671 GB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.6361, allocations: 217.8 kB / 0.5673 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.6362, allocations: 89.39 kB / 0.5674 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.6363, allocations: 3.5 kB / 0.5674 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.6364, allocations: 11.92 kB / 0.5674 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.6364, allocations: 4 kB / 0.5674 GB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.6365, allocations: 12.11 kB / 0.5675 GB, free: 7.801 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.6366, allocations: 120.3 kB / 0.5676 GB, free: 7.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6366, allocations: 0 / 0.5676 GB, free: 7.699 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003793/0.637, allocations: 39.62 kB / 0.5676 GB, free: 7.664 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.001406/0.6384, allocations: 460.6 kB / 0.568 GB, free: 7.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.6387, allocations: 69.75 kB / 0.5681 GB, free: 7.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6387, allocations: 0 / 0.5681 GB, free: 7.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.925e-05/0.6388, allocations: 30.56 kB / 0.5681 GB, free: 7.191 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.6392, allocations: 30.75 kB / 0.5682 GB, free: 7.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/0.6397, allocations: 157.8 kB / 0.5683 GB, free: 6.996 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.64, allocations: 0.7045 MB / 0.569 GB, free: 6.266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.6401, allocations: 19.42 kB / 0.569 GB, free: 6.246 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6401, allocations: 0 / 0.569 GB, free: 6.246 MB / 378.7 MB Notification: Performance of Templates: time 0.005805/0.6459, allocations: 2.071 MB / 0.5711 GB, free: 4.188 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches