Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009457/0.0009457, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.44/1.44, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008676/0.0008676, allocations: 92.25 kB / 267.1 MB, free: 9.277 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.3373/0.3373, allocations: 43.48 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.899e-05, allocations: 0 / 425.3 MB, free: 8.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 58.84 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3415/0.4503, allocations: 86.24 MB / 0.557 GB, free: 17.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.4506, allocations: 76.52 kB / 0.5571 GB, free: 17.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008697/0.4593, allocations: 3.514 MB / 0.5605 GB, free: 15.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4594, allocations: 4 kB / 0.5605 GB, free: 15.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.4594, allocations: 0 / 0.5605 GB, free: 15.44 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003241/0.4597, allocations: 372.4 kB / 0.5609 GB, free: 15.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.4598, allocations: 12.03 kB / 0.5609 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.4598, allocations: 7.344 kB / 0.5609 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.46, allocations: 191.2 kB / 0.5611 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.4601, allocations: 5.188 kB / 0.5611 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.4601, allocations: 7.984 kB / 0.5611 GB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.4602, allocations: 44.34 kB / 0.5612 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4602, allocations: 0 / 0.5612 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.4603, allocations: 0 / 0.5612 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.4603, allocations: 1.375 kB / 0.5612 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.4603, allocations: 17.38 kB / 0.5612 GB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.4607, allocations: 270.7 kB / 0.5614 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.4608, allocations: 41.02 kB / 0.5615 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.4609, allocations: 12.86 kB / 0.5615 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.4609, allocations: 0 / 0.5615 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.4609, allocations: 39.81 kB / 0.5615 GB, free: 14.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.4609, allocations: 0 / 0.5615 GB, free: 14.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003322/0.4613, allocations: 102.3 kB / 0.5616 GB, free: 14.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.4613, allocations: 64.33 kB / 0.5617 GB, free: 14.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.433e-05/0.4614, allocations: 131.8 kB / 0.5618 GB, free: 14.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.4614, allocations: 29.7 kB / 0.5618 GB, free: 14.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.4614, allocations: 94.88 kB / 0.5619 GB, free: 13.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.4615, allocations: 13.17 kB / 0.5619 GB, free: 13.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.4615, allocations: 3.875 kB / 0.5619 GB, free: 13.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.636e-05/0.4615, allocations: 317.2 kB / 0.5622 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.4615, allocations: 7.875 kB / 0.5622 GB, free: 13.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.4616, allocations: 10.06 kB / 0.5623 GB, free: 13.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.293e-05/0.4616, allocations: 17.45 kB / 0.5623 GB, free: 13.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.4616, allocations: 0 / 0.5623 GB, free: 13.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.468e-05/0.4617, allocations: 64.2 kB / 0.5623 GB, free: 13.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.4617, allocations: 4 kB / 0.5623 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4617, allocations: 0 / 0.5623 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4617, allocations: 4 kB / 0.5623 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.4618, allocations: 14.7 kB / 0.5624 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4618, allocations: 4 kB / 0.5624 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.036e-05/0.4619, allocations: 14.3 kB / 0.5624 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.4619, allocations: 0 / 0.5624 GB, free: 13.53 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.011e-05/0.4619, allocations: 108.8 kB / 0.5625 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.4619, allocations: 5.031 kB / 0.5625 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.4621, allocations: 71.7 kB / 0.5626 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4621, allocations: 0 / 0.5626 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.4621, allocations: 0 / 0.5626 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4621, allocations: 0 / 0.5626 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.4623, allocations: 342.7 kB / 0.5629 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4624, allocations: 1.406 kB / 0.5629 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.4624, allocations: 13.64 kB / 0.5629 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4624, allocations: 0 / 0.5629 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.4624, allocations: 1.453 kB / 0.5629 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4624, allocations: 0 / 0.5629 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4625, allocations: 3.953 kB / 0.5629 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.4626, allocations: 166.4 kB / 0.5631 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.4626, allocations: 82.42 kB / 0.5631 GB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.4626, allocations: 8 kB / 0.5631 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.4627, allocations: 5.359 kB / 0.5631 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.4627, allocations: 7.281 kB / 0.5632 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.4627, allocations: 7.688 kB / 0.5632 GB, free: 12.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.133e-05/0.4628, allocations: 111 kB / 0.5633 GB, free: 12.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4628, allocations: 0 / 0.5633 GB, free: 12.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002019/0.463, allocations: 24.3 kB / 0.5633 GB, free: 12.61 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0006955/0.4637, allocations: 370.8 kB / 0.5636 GB, free: 12.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.287e-05/0.4638, allocations: 35.05 kB / 0.5637 GB, free: 12.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4638, allocations: 0 / 0.5637 GB, free: 12.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.478e-05/0.4638, allocations: 11.5 kB / 0.5637 GB, free: 12.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.464, allocations: 17.06 kB / 0.5637 GB, free: 12.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002283/0.4643, allocations: 106.6 kB / 0.5638 GB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.4644, allocations: 0.7025 MB / 0.5645 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.75e-05/0.4644, allocations: 7.141 kB / 0.5645 GB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.4645, allocations: 11.44 kB / 0.5645 GB, free: 11.44 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4645, allocations: 0 / 0.5645 GB, free: 11.44 MB / 394.7 MB Notification: Performance of Templates: time 0.002766/0.4673, allocations: 1.027 MB / 0.5655 GB, free: 10.82 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches