Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002104/0.002104, allocations: 185.9 kB / 16.4 MB, free: 5.75 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.962/1.962, 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.001188/0.001188, allocations: 85.61 kB / 270.9 MB, free: 8.363 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.5228/0.5228, allocations: 43.55 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000628/0.000628, allocations: 12 kB / 431.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1262, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4904/0.6167, allocations: 87.72 MB / 0.5644 GB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.6171, allocations: 75.95 kB / 0.5645 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02491/0.642, allocations: 5.561 MB / 0.5699 GB, free: 9.242 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.61e-06/0.6421, allocations: 0 / 0.5699 GB, free: 9.242 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.6421, allocations: 4.484 kB / 0.5699 GB, free: 9.238 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006829/0.6428, allocations: 442.2 kB / 0.5703 GB, free: 8.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.6428, allocations: 12.02 kB / 0.5703 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.6429, allocations: 15.34 kB / 0.5703 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.6433, allocations: 222 kB / 0.5706 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.6434, allocations: 0 / 0.5706 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.6434, allocations: 0 / 0.5706 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.6436, allocations: 61.61 kB / 0.5706 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.6436, allocations: 0 / 0.5706 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.6436, allocations: 0 / 0.5706 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6436, allocations: 1.031 kB / 0.5706 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.6438, allocations: 23.98 kB / 0.5706 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.6443, allocations: 308.6 kB / 0.5709 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.6446, allocations: 66.55 kB / 0.571 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.6446, allocations: 0 / 0.571 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.6448, allocations: 71.52 kB / 0.5711 GB, free: 7.891 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.6448, allocations: 0 / 0.5711 GB, free: 7.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007878/0.6456, allocations: 185.1 kB / 0.5712 GB, free: 7.703 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.6457, allocations: 55.36 kB / 0.5713 GB, free: 7.637 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.646, allocations: 201.8 kB / 0.5715 GB, free: 7.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.6461, allocations: 25.7 kB / 0.5715 GB, free: 7.398 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.291e-05/0.6462, allocations: 166.6 kB / 0.5717 GB, free: 7.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.6463, allocations: 31.64 kB / 0.5717 GB, free: 7.203 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/0.6463, allocations: 4 kB / 0.5717 GB, free: 7.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6464, allocations: 310.8 kB / 0.572 GB, free: 6.887 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.6465, allocations: 23.98 kB / 0.572 GB, free: 6.863 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.6466, allocations: 37.64 kB / 0.5721 GB, free: 6.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.6468, allocations: 20 kB / 0.5721 GB, free: 6.801 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6468, allocations: 0 / 0.5721 GB, free: 6.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003028/0.6471, allocations: 101.7 kB / 0.5722 GB, free: 6.695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6471, allocations: 8 kB / 0.5722 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6472, allocations: 0 / 0.5722 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6472, allocations: 4.688 kB / 0.5722 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.6473, allocations: 15.98 kB / 0.5722 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.6474, allocations: 4 kB / 0.5722 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.6475, allocations: 3.953 kB / 0.5722 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.6475, allocations: 8 kB / 0.5722 GB, free: 6.652 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 (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.0001679/0.6477, allocations: 130.9 kB / 0.5723 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.6477, allocations: 15.81 kB / 0.5724 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004032/0.6481, allocations: 119.8 kB / 0.5725 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6482, allocations: 0 / 0.5725 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.6482, allocations: 0 / 0.5725 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.6482, allocations: 4.266 kB / 0.5725 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007602/0.649, allocations: 431.2 kB / 0.5729 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.649, allocations: 4.031 kB / 0.5729 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.6491, allocations: 15.92 kB / 0.5729 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.6491, allocations: 7.938 kB / 0.5729 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.6491, allocations: 0 / 0.5729 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.6491, allocations: 4.828 kB / 0.5729 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6491, allocations: 3.938 kB / 0.5729 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.6495, allocations: 226 kB / 0.5731 GB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.499e-05/0.6496, allocations: 96.91 kB / 0.5732 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.6497, allocations: 7.953 kB / 0.5732 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.6498, allocations: 7.984 kB / 0.5732 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.6499, allocations: 4 kB / 0.5733 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.6499, allocations: 4.375 kB / 0.5733 GB, free: 5.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002454/0.6502, allocations: 173.3 kB / 0.5734 GB, free: 5.312 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6502, allocations: 0 / 0.5734 GB, free: 5.312 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003687/0.6505, allocations: 35.92 kB / 0.5735 GB, free: 5.277 MB / 394.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 (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.001368/0.6519, allocations: 483.7 kB / 0.5739 GB, free: 4.898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003302/0.6523, allocations: 55.91 kB / 0.574 GB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6523, allocations: 8.062 kB / 0.574 GB, free: 4.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.6525, allocations: 27.94 kB / 0.574 GB, free: 4.809 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.6529, allocations: 31.53 kB / 0.574 GB, free: 4.777 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/0.6536, allocations: 314.6 kB / 0.5743 GB, free: 4.438 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.654, allocations: 0.7121 MB / 0.575 GB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.6541, allocations: 23.42 kB / 0.5751 GB, free: 3.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6541, allocations: 0 / 0.5751 GB, free: 3.68 MB / 394.7 MB Notification: Performance of Templates: time 0.005615/0.6597, allocations: 2.026 MB / 0.577 GB, free: 1.66 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches