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.001581/0.00158, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001105, allocations: 89.2 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3047/0.3047, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.883e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4692/0.4692, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/0.6319, allocations: 86.96 MB / 0.5508 GB, free: 12.35 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.6322, allocations: 71.97 kB / 0.5509 GB, free: 12.28 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02607/0.6583, allocations: 5.64 MB / 0.5564 GB, free: 6.641 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.6584, allocations: 3.938 kB / 0.5564 GB, free: 6.637 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.129e-05/0.6584, allocations: 4 kB / 0.5564 GB, free: 6.633 MB / 395.1 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.0006261/0.659, allocations: 410.1 kB / 0.5568 GB, free: 6.188 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.6591, allocations: 8.031 kB / 0.5568 GB, free: 6.18 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.6592, allocations: 15.89 kB / 0.5568 GB, free: 6.164 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.6596, allocations: 226.7 kB / 0.557 GB, free: 5.902 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.6597, allocations: 4 kB / 0.557 GB, free: 5.898 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.6597, allocations: 0 / 0.557 GB, free: 5.898 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.993e-05/0.6598, allocations: 20 kB / 0.5571 GB, free: 5.879 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.66, allocations: 53.61 kB / 0.5571 GB, free: 5.82 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.66, allocations: 0 / 0.5571 GB, free: 5.82 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.66, allocations: 0 / 0.5571 GB, free: 5.82 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.66, allocations: 0 / 0.5571 GB, free: 5.82 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.6606, allocations: 293.3 kB / 0.5574 GB, free: 5.496 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.6608, allocations: 50.69 kB / 0.5574 GB, free: 5.438 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.6608, allocations: 20.98 kB / 0.5575 GB, free: 5.414 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.6609, allocations: 0 / 0.5575 GB, free: 5.414 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.661, allocations: 63.33 kB / 0.5575 GB, free: 5.34 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 4.268e-06/0.6611, allocations: 0 / 0.5575 GB, free: 5.34 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006779/0.6617, allocations: 149.2 kB / 0.5577 GB, free: 5.188 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.6618, allocations: 59.41 kB / 0.5577 GB, free: 5.117 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.6622, allocations: 241.7 kB / 0.558 GB, free: 4.871 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.6623, allocations: 25.7 kB / 0.558 GB, free: 4.84 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.6624, allocations: 170.6 kB / 0.5581 GB, free: 4.672 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.6624, allocations: 27.64 kB / 0.5582 GB, free: 4.645 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.6625, allocations: 0 / 0.5582 GB, free: 4.645 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6626, allocations: 310.8 kB / 0.5585 GB, free: 4.332 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/0.6627, allocations: 23.98 kB / 0.5585 GB, free: 4.309 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.6628, allocations: 33.72 kB / 0.5585 GB, free: 4.27 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.083e-05/0.6628, allocations: 23.97 kB / 0.5585 GB, free: 4.246 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6629, allocations: 0 / 0.5585 GB, free: 4.246 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000226/0.6631, allocations: 85.53 kB / 0.5586 GB, free: 4.156 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.6631, allocations: 4 kB / 0.5586 GB, free: 4.152 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.6631, allocations: 8.062 kB / 0.5586 GB, free: 4.145 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.6632, allocations: 0 / 0.5586 GB, free: 4.145 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.6633, allocations: 15.98 kB / 0.5587 GB, free: 4.129 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.6634, allocations: 4.031 kB / 0.5587 GB, free: 4.125 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.6635, allocations: 4 kB / 0.5587 GB, free: 4.121 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.6635, allocations: 7.953 kB / 0.5587 GB, free: 4.113 MB / 395.1 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 0.0001005/0.6636, allocations: 101 kB / 0.5588 GB, free: 4.008 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.6637, allocations: 11.91 kB / 0.5588 GB, free: 3.996 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.664, allocations: 123.5 kB / 0.5589 GB, free: 3.871 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.6641, allocations: 0 / 0.5589 GB, free: 3.871 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6641, allocations: 0 / 0.5589 GB, free: 3.871 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.6641, allocations: 7.984 kB / 0.5589 GB, free: 3.863 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.6648, allocations: 403.8 kB / 0.5593 GB, free: 3.422 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.6648, allocations: 4 kB / 0.5593 GB, free: 3.418 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.411e-05/0.6649, allocations: 8 kB / 0.5593 GB, free: 3.41 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.6649, allocations: 3.938 kB / 0.5593 GB, free: 3.406 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.6649, allocations: 0 / 0.5593 GB, free: 3.406 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.665, allocations: 4 kB / 0.5593 GB, free: 3.402 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.665, allocations: 0 / 0.5593 GB, free: 3.402 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.6654, allocations: 226.1 kB / 0.5595 GB, free: 3.156 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.6655, allocations: 100.9 kB / 0.5596 GB, free: 3.039 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.6655, allocations: 0 / 0.5596 GB, free: 3.039 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.6657, allocations: 11.92 kB / 0.5596 GB, free: 3.027 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.6658, allocations: 15.94 kB / 0.5596 GB, free: 3.012 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.6658, allocations: 4 kB / 0.5596 GB, free: 3.008 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002841/0.6661, allocations: 192.2 kB / 0.5598 GB, free: 2.82 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6661, allocations: 0 / 0.5598 GB, free: 2.82 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004071/0.6665, allocations: 39.92 kB / 0.5599 GB, free: 2.781 MB / 395.1 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.001193/0.6677, allocations: 385.5 kB / 0.5602 GB, free: 2.449 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.668, allocations: 63.86 kB / 0.5603 GB, free: 2.387 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.668, allocations: 0 / 0.5603 GB, free: 2.387 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.659e-05/0.6681, allocations: 27.94 kB / 0.5603 GB, free: 2.359 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.6685, allocations: 27.84 kB / 0.5603 GB, free: 2.332 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007336/0.6693, allocations: 251.8 kB / 0.5606 GB, free: 2.055 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.6697, allocations: 0.7197 MB / 0.5613 GB, free: 1.309 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.817e-05/0.6698, allocations: 19.44 kB / 0.5613 GB, free: 1.289 MB / 395.1 MB Notification: Performance of SimCode: time 8.91e-07/0.6698, allocations: 0 / 0.5613 GB, free: 1.289 MB / 395.1 MB Notification: Performance of Templates: time 0.00635/0.6761, allocations: 2.142 MB / 0.5634 GB, free: 15.15 MB / 411.1 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