Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 182.4 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.031/2.031, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001045/0.001045, allocations: 86.64 kB / 267.5 MB, free: 14.04 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.2762/0.2762, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.309e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1153, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.491/0.6064, allocations: 87.59 MB / 0.5583 GB, free: 44 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.6067, allocations: 76.64 kB / 0.5584 GB, free: 4 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02351/0.6303, allocations: 5.259 MB / 0.5635 GB, free: 11.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.538e-06/0.6303, allocations: 0 / 0.5635 GB, free: 11.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.6303, allocations: 3.938 kB / 0.5635 GB, free: 11.57 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.0005958/0.6309, allocations: 392.5 kB / 0.5639 GB, free: 11.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.631, allocations: 8.031 kB / 0.5639 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.772e-05/0.6311, allocations: 15.03 kB / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.6315, allocations: 223.6 kB / 0.5642 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.6316, allocations: 4 kB / 0.5642 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.6316, allocations: 4 kB / 0.5642 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.6318, allocations: 57.22 kB / 0.5642 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.6318, allocations: 0 / 0.5642 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.6318, allocations: 0 / 0.5642 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.6318, allocations: 0 / 0.5642 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.032e-05/0.6319, allocations: 17.31 kB / 0.5642 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.6324, allocations: 290.1 kB / 0.5645 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.6326, allocations: 61.75 kB / 0.5646 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.857e-05/0.6327, allocations: 18.61 kB / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.6327, allocations: 4 kB / 0.5646 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.6329, allocations: 66.45 kB / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.6329, allocations: 0 / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006045/0.6335, allocations: 162 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.6336, allocations: 59.34 kB / 0.5649 GB, free: 10.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.6339, allocations: 172.7 kB / 0.565 GB, free: 9.988 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.6339, allocations: 28.77 kB / 0.5651 GB, free: 9.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.313e-05/0.634, allocations: 162.4 kB / 0.5652 GB, free: 9.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.634, allocations: 23.45 kB / 0.5652 GB, free: 9.785 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.6341, allocations: 3.938 kB / 0.5652 GB, free: 9.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6342, allocations: 314.8 kB / 0.5655 GB, free: 9.469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.6343, allocations: 22 kB / 0.5656 GB, free: 9.453 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.082e-05/0.6344, allocations: 40.66 kB / 0.5656 GB, free: 9.414 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.507e-05/0.6345, allocations: 25.73 kB / 0.5656 GB, free: 9.398 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.6345, allocations: 0 / 0.5656 GB, free: 9.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002351/0.6347, allocations: 86.72 kB / 0.5657 GB, free: 9.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.6348, allocations: 11.44 kB / 0.5657 GB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.6348, allocations: 3.984 kB / 0.5657 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.6348, allocations: 0 / 0.5657 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.635, allocations: 19.41 kB / 0.5657 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.635, allocations: 7.953 kB / 0.5657 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.267e-05/0.6351, allocations: 0 / 0.5657 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.6351, allocations: 7.984 kB / 0.5658 GB, free: 9.277 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 (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 9.634e-05/0.6352, allocations: 111.4 kB / 0.5659 GB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.6353, allocations: 11.84 kB / 0.5659 GB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.6356, allocations: 118.8 kB / 0.566 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6357, allocations: 0 / 0.566 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6357, allocations: 0 / 0.566 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.6357, allocations: 15.89 kB / 0.566 GB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006416/0.6363, allocations: 400.5 kB / 0.5664 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.6364, allocations: 4 kB / 0.5664 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.578e-05/0.6365, allocations: 11.94 kB / 0.5664 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.6365, allocations: 0 / 0.5664 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.6365, allocations: 3.312 kB / 0.5664 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.6365, allocations: 11.94 kB / 0.5664 GB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6365, allocations: 0 / 0.5664 GB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.6368, allocations: 215.4 kB / 0.5666 GB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.999e-05/0.6369, allocations: 88.39 kB / 0.5667 GB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.637, allocations: 8.328 kB / 0.5667 GB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.6371, allocations: 7.797 kB / 0.5667 GB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.6372, allocations: 7.938 kB / 0.5667 GB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.6372, allocations: 11.98 kB / 0.5667 GB, free: 8.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.6374, allocations: 144.6 kB / 0.5669 GB, free: 8.129 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6374, allocations: 4 kB / 0.5669 GB, free: 8.125 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003674/0.6378, allocations: 39.7 kB / 0.5669 GB, free: 8.09 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 (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.001298/0.6391, allocations: 425.6 kB / 0.5673 GB, free: 7.723 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.6394, allocations: 51.94 kB / 0.5674 GB, free: 7.688 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.6394, allocations: 7.938 kB / 0.5674 GB, free: 7.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.289e-05/0.6395, allocations: 30.73 kB / 0.5674 GB, free: 7.656 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.6399, allocations: 25.05 kB / 0.5674 GB, free: 7.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/0.6405, allocations: 193.4 kB / 0.5676 GB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.6409, allocations: 0.7121 MB / 0.5683 GB, free: 6.691 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.528e-05/0.6409, allocations: 22.73 kB / 0.5683 GB, free: 6.672 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.641, allocations: 0 / 0.5683 GB, free: 6.672 MB / 378.7 MB Notification: Performance of Templates: time 0.005571/0.6465, allocations: 1.928 MB / 0.5702 GB, free: 4.75 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches