Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 179.9 kB / 16.41 MB, free: 5.727 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.826/1.826, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001029/0.001029, allocations: 89.33 kB / 270.9 MB, free: 8.355 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.4953/0.4953, allocations: 43.56 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004249, allocations: 19.98 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1455, allocations: 58.83 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002257/0.1478, allocations: 1.394 MB / 491.6 MB, free: 9.824 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1491, allocations: 0.7461 MB / 492.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.768e-05/0.1492, allocations: 3.938 kB / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.1495, allocations: 35.88 kB / 492.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.1497, allocations: 47.83 kB / 492.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.15, allocations: 67.86 kB / 492.5 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.1501, allocations: 87.67 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1503, allocations: 20.2 kB / 492.6 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.704e-05/0.1504, allocations: 35.86 kB / 492.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.459e-05/0.1504, allocations: 27.78 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.1505, allocations: 4 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1506, allocations: 39.98 kB / 492.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.1506, allocations: 15.92 kB / 492.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.948e-05/0.1507, allocations: 37.64 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.1509, allocations: 92.02 kB / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1509, allocations: 4 kB / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1509, allocations: 4 kB / 492.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1509, allocations: 0 / 492.9 MB, free: 8.551 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.0005704/0.1515, allocations: 402.5 kB / 493.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1515, allocations: 12.02 kB / 493.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.1516, allocations: 11.91 kB / 493.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.1518, allocations: 195.6 kB / 493.5 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1518, allocations: 8 kB / 493.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1519, allocations: 0 / 493.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.152, allocations: 61.61 kB / 493.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1521, allocations: 7.906 kB / 493.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.1521, allocations: 3.938 kB / 493.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1521, allocations: 3.953 kB / 493.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.086e-05/0.1522, allocations: 15.98 kB / 493.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.1525, allocations: 284.9 kB / 493.9 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1527, allocations: 66.61 kB / 493.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.1528, allocations: 20.84 kB / 494 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1528, allocations: 0 / 494 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.153, allocations: 67.34 kB / 494 MB, free: 7.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.153, allocations: 4 kB / 494 MB, free: 7.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005342/0.1535, allocations: 177.1 kB / 494.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.1536, allocations: 55.41 kB / 494.3 MB, free: 7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1538, allocations: 200.7 kB / 494.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1538, allocations: 25.7 kB / 494.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.1539, allocations: 108.1 kB / 494.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.1539, allocations: 15.72 kB / 494.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.1539, allocations: 4 kB / 494.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1541, allocations: 322.8 kB / 494.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.697e-05/0.1541, allocations: 23.98 kB / 494.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.537e-05/0.1542, allocations: 41.64 kB / 495 MB, free: 6.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.933e-05/0.1543, allocations: 20 kB / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1543, allocations: 0 / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001817/0.1545, allocations: 113.4 kB / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1545, allocations: 4 kB / 495.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1545, allocations: 0 / 495.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1545, allocations: 8.031 kB / 495.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.327e-05/0.1546, allocations: 12.38 kB / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1546, allocations: 3.984 kB / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.1547, allocations: 8 kB / 495.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1547, allocations: 4 kB / 495.2 MB, free: 6.066 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 () * Number of clocked 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.0001076/0.1548, allocations: 125.6 kB / 495.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.1548, allocations: 19.84 kB / 495.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.1549, allocations: 13.56 kB / 495.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.1549, allocations: 0 / 495.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1549, allocations: 4 kB / 495.3 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1549, allocations: 0 / 495.3 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.1554, allocations: 407.2 kB / 495.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1554, allocations: 3.938 kB / 495.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.1554, allocations: 11.94 kB / 495.7 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1554, allocations: 3.984 kB / 495.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1555, allocations: 4 kB / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1555, allocations: 0 / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1555, allocations: 4.031 kB / 495.7 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.1557, allocations: 196.3 kB / 495.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.1558, allocations: 92.95 kB / 496 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.1558, allocations: 4 kB / 496 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.638e-05/0.1559, allocations: 4.188 kB / 496 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.1559, allocations: 15.92 kB / 496 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.1559, allocations: 7.938 kB / 496 MB, free: 5.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1561, allocations: 152.9 kB / 496.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1561, allocations: 0 / 496.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002321/0.1563, allocations: 27.91 kB / 496.2 MB, free: 4.887 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0009561/0.1573, allocations: 471 kB / 496.7 MB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.1574, allocations: 55.92 kB / 496.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1575, allocations: 0 / 496.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.811e-05/0.1575, allocations: 27.98 kB / 496.8 MB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.1578, allocations: 19.98 kB / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.1583, allocations: 284.1 kB / 497.1 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.1586, allocations: 0.7121 MB / 497.8 MB, free: 3.312 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.1587, allocations: 19.42 kB / 497.8 MB, free: 3.297 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1587, allocations: 0 / 497.8 MB, free: 3.297 MB / 378.7 MB Notification: Performance of Templates: time 0.003486/0.1622, allocations: 1.895 MB / 499.7 MB, free: 1.402 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches