Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001701/0.001705, allocations: 180.9 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.174/2.174, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001071/0.001071, allocations: 94.62 kB / 267.5 MB, free: 14.11 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.2867/0.2867, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.635e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4868/0.6045, allocations: 87.66 MB / 0.5584 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.6048, allocations: 70.62 kB / 0.5585 GB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02501/0.6298, allocations: 5.948 MB / 0.5643 GB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6299, allocations: 0 / 0.5643 GB, free: 10.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.6299, allocations: 4 kB / 0.5643 GB, free: 10.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005633/0.6305, allocations: 404.8 kB / 0.5647 GB, free: 10.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.6306, allocations: 19.91 kB / 0.5647 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.6306, allocations: 11.81 kB / 0.5647 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.6311, allocations: 229.4 kB / 0.5649 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.6311, allocations: 11.94 kB / 0.5649 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.6311, allocations: 7.125 kB / 0.5649 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.6313, allocations: 63.41 kB / 0.565 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.6314, allocations: 7.844 kB / 0.565 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.6314, allocations: 4 kB / 0.565 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6314, allocations: 0 / 0.565 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.6315, allocations: 34.61 kB / 0.565 GB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.6321, allocations: 334.4 kB / 0.5654 GB, free: 9.734 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.6323, allocations: 71.09 kB / 0.5654 GB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.697e-05/0.6324, allocations: 32.16 kB / 0.5655 GB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.6325, allocations: 160 / 0.5655 GB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.6327, allocations: 70.19 kB / 0.5655 GB, free: 9.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.114e-06/0.6327, allocations: 4 kB / 0.5655 GB, free: 9.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007131/0.6334, allocations: 214.3 kB / 0.5657 GB, free: 9.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.6335, allocations: 51.41 kB / 0.5658 GB, free: 9.324 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.6338, allocations: 227.6 kB / 0.566 GB, free: 9.129 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.6339, allocations: 25.7 kB / 0.566 GB, free: 9.098 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/0.634, allocations: 169.9 kB / 0.5662 GB, free: 8.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.634, allocations: 35.05 kB / 0.5662 GB, free: 8.918 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.634, allocations: 4 kB / 0.5662 GB, free: 8.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6342, allocations: 318.7 kB / 0.5665 GB, free: 8.598 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.6343, allocations: 27.69 kB / 0.5666 GB, free: 8.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.6344, allocations: 58.45 kB / 0.5666 GB, free: 8.531 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.637e-05/0.6345, allocations: 35.17 kB / 0.5666 GB, free: 8.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6345, allocations: 0 / 0.5666 GB, free: 8.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002872/0.6348, allocations: 122.8 kB / 0.5668 GB, free: 8.406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6348, allocations: 4 kB / 0.5668 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.6348, allocations: 4 kB / 0.5668 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6349, allocations: 8.031 kB / 0.5668 GB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.6351, allocations: 23.94 kB / 0.5668 GB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6351, allocations: 0 / 0.5668 GB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.303e-05/0.6352, allocations: 7.938 kB / 0.5668 GB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.6352, allocations: 4 kB / 0.5668 GB, free: 8.359 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 (13): * Single equations (assignments): 13 * 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.267e-05/0.6353, allocations: 125.9 kB / 0.5669 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.6354, allocations: 19.75 kB / 0.5669 GB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.6358, allocations: 165.6 kB / 0.5671 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.6358, allocations: 0 / 0.5671 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6358, allocations: 3.953 kB / 0.5671 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6358, allocations: 0 / 0.5671 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007754/0.6366, allocations: 483.8 kB / 0.5676 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6366, allocations: 0 / 0.5676 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.6368, allocations: 19.98 kB / 0.5676 GB, free: 7.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.6368, allocations: 7.891 kB / 0.5676 GB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.6368, allocations: 11.59 kB / 0.5676 GB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.6368, allocations: 0 / 0.5676 GB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6368, allocations: 0 / 0.5676 GB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.6372, allocations: 246.9 kB / 0.5678 GB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.6373, allocations: 108.4 kB / 0.5679 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.6374, allocations: 7.625 kB / 0.568 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.6375, allocations: 8 kB / 0.568 GB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.6376, allocations: 7.984 kB / 0.568 GB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.6376, allocations: 7.312 kB / 0.568 GB, free: 7.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000277/0.6379, allocations: 187.6 kB / 0.5682 GB, free: 7.027 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6379, allocations: 0 / 0.5682 GB, free: 7.027 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003697/0.6383, allocations: 43.61 kB / 0.5682 GB, free: 6.988 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 (13): * Single equations (assignments): 11 * 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.001225/0.6395, allocations: 429.4 kB / 0.5686 GB, free: 6.617 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.6398, allocations: 86.86 kB / 0.5687 GB, free: 6.555 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6398, allocations: 0 / 0.5687 GB, free: 6.555 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.6399, allocations: 44.75 kB / 0.5687 GB, free: 6.523 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.6403, allocations: 33.98 kB / 0.5688 GB, free: 6.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/0.641, allocations: 263.4 kB / 0.569 GB, free: 6.234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.6413, allocations: 0.7312 MB / 0.5697 GB, free: 5.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.728e-05/0.6414, allocations: 19.44 kB / 0.5697 GB, free: 5.461 MB / 378.7 MB Notification: Performance of SimCode: time 7.62e-07/0.6414, allocations: 0 / 0.5697 GB, free: 5.461 MB / 378.7 MB Notification: Performance of Templates: time 0.005967/0.6474, allocations: 2.33 MB / 0.572 GB, free: 3.145 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches