Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.00155, allocations: 181.6 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.085/2.085, 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.001126/0.001125, allocations: 90.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.2839/0.2839, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.118e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1251, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4952/0.6203, allocations: 87.62 MB / 0.5584 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.6206, allocations: 75.88 kB / 0.5584 GB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02502/0.6457, allocations: 5.672 MB / 0.564 GB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.6457, allocations: 4 kB / 0.564 GB, free: 11.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.6458, allocations: 3.938 kB / 0.564 GB, free: 11.14 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.000624/0.6464, allocations: 413.6 kB / 0.5644 GB, free: 10.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.6465, allocations: 12.03 kB / 0.5644 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.6465, allocations: 7.906 kB / 0.5644 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004405/0.647, allocations: 229.9 kB / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.647, allocations: 4 kB / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.6471, allocations: 3.984 kB / 0.5646 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.6472, allocations: 57 kB / 0.5647 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.6472, allocations: 0 / 0.5647 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.6473, allocations: 4 kB / 0.5647 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.6473, allocations: 0 / 0.5647 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.317e-05/0.6474, allocations: 23.8 kB / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.6479, allocations: 307.4 kB / 0.565 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.6481, allocations: 66.42 kB / 0.5651 GB, free: 9.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/0.6482, allocations: 16.67 kB / 0.5651 GB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.6482, allocations: 0 / 0.5651 GB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.6484, allocations: 67.08 kB / 0.5651 GB, free: 9.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.6484, allocations: 0 / 0.5651 GB, free: 9.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006167/0.649, allocations: 176.1 kB / 0.5653 GB, free: 9.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.6491, allocations: 51.41 kB / 0.5654 GB, free: 9.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/0.6495, allocations: 243.8 kB / 0.5656 GB, free: 9.445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.6495, allocations: 25.7 kB / 0.5656 GB, free: 9.414 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.6496, allocations: 169.9 kB / 0.5658 GB, free: 9.262 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.6497, allocations: 23.58 kB / 0.5658 GB, free: 9.242 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.6497, allocations: 4 kB / 0.5658 GB, free: 9.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6499, allocations: 318.5 kB / 0.5661 GB, free: 8.922 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.892e-05/0.6499, allocations: 19.31 kB / 0.5661 GB, free: 8.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.65, allocations: 41.34 kB / 0.5662 GB, free: 8.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.129e-05/0.6501, allocations: 23.61 kB / 0.5662 GB, free: 8.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6501, allocations: 0 / 0.5662 GB, free: 8.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002225/0.6504, allocations: 88.16 kB / 0.5663 GB, free: 8.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.6504, allocations: 7.984 kB / 0.5663 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6504, allocations: 4 kB / 0.5663 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.6504, allocations: 0 / 0.5663 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.6506, allocations: 15.94 kB / 0.5663 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.6506, allocations: 3.953 kB / 0.5663 GB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.184e-05/0.6507, allocations: 11.66 kB / 0.5663 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.6508, allocations: 7.984 kB / 0.5663 GB, free: 8.73 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.086e-05/0.6509, allocations: 105 kB / 0.5664 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.6509, allocations: 11.66 kB / 0.5664 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.6512, allocations: 125.2 kB / 0.5666 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.6513, allocations: 0 / 0.5666 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6513, allocations: 0 / 0.5666 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.6513, allocations: 3.953 kB / 0.5666 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006832/0.652, allocations: 440.3 kB / 0.567 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.652, allocations: 0 / 0.567 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/0.6521, allocations: 8 kB / 0.567 GB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.6521, allocations: 0 / 0.567 GB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.6521, allocations: 4 kB / 0.567 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.6521, allocations: 7.891 kB / 0.567 GB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.6522, allocations: 0 / 0.567 GB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.6525, allocations: 221.7 kB / 0.5672 GB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.6526, allocations: 104.5 kB / 0.5673 GB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.6527, allocations: 8.328 kB / 0.5673 GB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.6528, allocations: 6.797 kB / 0.5673 GB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.6528, allocations: 4 kB / 0.5673 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.6529, allocations: 7.938 kB / 0.5673 GB, free: 7.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002892/0.6532, allocations: 209.7 kB / 0.5675 GB, free: 7.504 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6532, allocations: 0 / 0.5675 GB, free: 7.504 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.6536, allocations: 39.48 kB / 0.5676 GB, free: 7.469 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.001263/0.6548, allocations: 414 kB / 0.568 GB, free: 7.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.6551, allocations: 62.67 kB / 0.568 GB, free: 7.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6551, allocations: 0 / 0.568 GB, free: 7.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.235e-05/0.6552, allocations: 31.06 kB / 0.5681 GB, free: 7.043 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.6556, allocations: 31.81 kB / 0.5681 GB, free: 7.027 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.6562, allocations: 253.6 kB / 0.5683 GB, free: 6.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.6566, allocations: 0.7227 MB / 0.569 GB, free: 6.027 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.6567, allocations: 15.44 kB / 0.569 GB, free: 6.012 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6567, allocations: 0 / 0.569 GB, free: 6.012 MB / 378.7 MB Notification: Performance of Templates: time 0.005901/0.6626, allocations: 2.155 MB / 0.5711 GB, free: 3.871 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches