Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.00141, allocations: 177.6 kB / 17.41 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.4 MB / 223.6 MB, free: 9 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.0007119/0.0007121, allocations: 91.58 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3475/0.3475, allocations: 43.57 MB / 363.8 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003785, allocations: 23.98 kB / 432.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.127, allocations: 58.85 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3196/0.4466, allocations: 87.55 MB / 0.5654 GB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.4469, allocations: 73.17 kB / 0.5655 GB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0141/0.461, allocations: 5.173 MB / 0.5706 GB, free: 9.645 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4611, allocations: 0 / 0.5706 GB, free: 9.645 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.686e-05/0.4611, allocations: 4 kB / 0.5706 GB, free: 9.641 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005029/0.4616, allocations: 414.6 kB / 0.571 GB, free: 9.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.4617, allocations: 12.02 kB / 0.571 GB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.4617, allocations: 8.844 kB / 0.571 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.462, allocations: 224 kB / 0.5712 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.462, allocations: 384 / 0.5712 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.4621, allocations: 4.375 kB / 0.5712 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.4622, allocations: 46.23 kB / 0.5712 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.4622, allocations: 192 / 0.5712 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4622, allocations: 3.938 kB / 0.5712 GB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4622, allocations: 4 kB / 0.5712 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.964e-05/0.4623, allocations: 19.98 kB / 0.5713 GB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.4625, allocations: 184.5 kB / 0.5714 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.4627, allocations: 58.55 kB / 0.5715 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.4628, allocations: 24.84 kB / 0.5715 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.4628, allocations: 0 / 0.5715 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.4629, allocations: 71.39 kB / 0.5716 GB, free: 8.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.4629, allocations: 0 / 0.5716 GB, free: 8.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002731/0.4632, allocations: 101.5 kB / 0.5717 GB, free: 8.324 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.4633, allocations: 51.41 kB / 0.5717 GB, free: 8.262 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.4635, allocations: 182.2 kB / 0.5719 GB, free: 8.074 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.4635, allocations: 25.7 kB / 0.5719 GB, free: 8.043 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.4636, allocations: 108.1 kB / 0.572 GB, free: 7.934 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.4636, allocations: 11.81 kB / 0.572 GB, free: 7.922 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-06/0.4636, allocations: 0 / 0.572 GB, free: 7.922 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4637, allocations: 330.8 kB / 0.5724 GB, free: 7.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.951e-05/0.4638, allocations: 15.98 kB / 0.5724 GB, free: 7.574 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.168e-05/0.4638, allocations: 25.7 kB / 0.5724 GB, free: 7.543 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.464, allocations: 53.64 kB / 0.5725 GB, free: 7.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.464, allocations: 0 / 0.5725 GB, free: 7.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001464/0.4641, allocations: 77.59 kB / 0.5725 GB, free: 7.402 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4641, allocations: 7.938 kB / 0.5725 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4641, allocations: 0 / 0.5725 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.4642, allocations: 0 / 0.5725 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.418e-05/0.4642, allocations: 19.92 kB / 0.5726 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4643, allocations: 0 / 0.5726 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.4643, allocations: 8 kB / 0.5726 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.4643, allocations: 0 / 0.5726 GB, free: 7.367 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001011/0.4644, allocations: 129.8 kB / 0.5727 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.4645, allocations: 15.75 kB / 0.5727 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.4647, allocations: 93.98 kB / 0.5728 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4647, allocations: 3.984 kB / 0.5728 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4647, allocations: 0 / 0.5728 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.4647, allocations: 8.734 kB / 0.5728 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.4649, allocations: 189.6 kB / 0.573 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4649, allocations: 384 / 0.573 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.862e-05/0.4649, allocations: 11.98 kB / 0.573 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4649, allocations: 3.938 kB / 0.573 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.4649, allocations: 4 kB / 0.573 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4649, allocations: 0 / 0.573 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4649, allocations: 4 kB / 0.573 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.4651, allocations: 113 kB / 0.5731 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.4652, allocations: 93 kB / 0.5732 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.4652, allocations: 3.938 kB / 0.5732 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.039e-05/0.4653, allocations: 8 kB / 0.5732 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.4653, allocations: 3.984 kB / 0.5732 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.4653, allocations: 4 kB / 0.5732 GB, free: 6.594 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001176/0.4655, allocations: 140.8 kB / 0.5734 GB, free: 6.457 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.713e-06/0.4655, allocations: 0 / 0.5734 GB, free: 6.457 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002062/0.4657, allocations: 27.92 kB / 0.5734 GB, free: 6.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0008877/0.4666, allocations: 414.4 kB / 0.5738 GB, free: 6.117 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.4667, allocations: 47.92 kB / 0.5738 GB, free: 6.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4668, allocations: 0 / 0.5738 GB, free: 6.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.411e-05/0.4668, allocations: 27.92 kB / 0.5738 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.4671, allocations: 19.98 kB / 0.5739 GB, free: 6.023 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.4675, allocations: 249.1 kB / 0.5741 GB, free: 5.754 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.4678, allocations: 0.7043 MB / 0.5748 GB, free: 5.023 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.4678, allocations: 19.44 kB / 0.5748 GB, free: 5.004 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4679, allocations: 0 / 0.5748 GB, free: 5.004 MB / 394.7 MB Notification: Performance of Templates: time 0.003316/0.4712, allocations: 1.699 MB / 0.5765 GB, free: 3.316 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches