Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001528, allocations: 185.5 kB / 16.4 MB, free: 5.699 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.897/1.897, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001085/0.001085, allocations: 92.41 kB / 270.9 MB, free: 8.379 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.4994/0.4994, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.0004691, allocations: 12 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4902/0.6178, allocations: 87.7 MB / 0.5644 GB, free: 15.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.6182, allocations: 75.97 kB / 0.5644 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02308/0.6413, allocations: 5.513 MB / 0.5698 GB, free: 9.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6413, allocations: 4 kB / 0.5698 GB, free: 9.484 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.6413, allocations: 0.875 kB / 0.5698 GB, free: 9.484 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.0006225/0.642, allocations: 429.6 kB / 0.5702 GB, free: 9.023 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.642, allocations: 8.031 kB / 0.5703 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.518e-05/0.6421, allocations: 15.81 kB / 0.5703 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.6425, allocations: 215.9 kB / 0.5705 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.6425, allocations: 4 kB / 0.5705 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.6425, allocations: 0 / 0.5705 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.6427, allocations: 65.59 kB / 0.5705 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.6427, allocations: 0 / 0.5705 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.6428, allocations: 7.469 kB / 0.5705 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.6428, allocations: 1.031 kB / 0.5705 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.6429, allocations: 27.91 kB / 0.5706 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.6434, allocations: 300.8 kB / 0.5709 GB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.6436, allocations: 62.62 kB / 0.5709 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.6437, allocations: 0 / 0.5709 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.6439, allocations: 71.5 kB / 0.571 GB, free: 8.152 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.6439, allocations: 4 kB / 0.571 GB, free: 8.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007417/0.6446, allocations: 177.2 kB / 0.5712 GB, free: 7.969 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.6447, allocations: 59.36 kB / 0.5712 GB, free: 7.898 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.645, allocations: 191.8 kB / 0.5714 GB, free: 7.707 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.645, allocations: 29.7 kB / 0.5714 GB, free: 7.672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.6451, allocations: 166.5 kB / 0.5716 GB, free: 7.508 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.6452, allocations: 23.7 kB / 0.5716 GB, free: 7.484 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.6452, allocations: 0 / 0.5716 GB, free: 7.484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.6453, allocations: 318.8 kB / 0.5719 GB, free: 7.164 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.826e-05/0.6454, allocations: 23.98 kB / 0.5719 GB, free: 7.141 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.6455, allocations: 37.64 kB / 0.572 GB, free: 7.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.6456, allocations: 24 kB / 0.572 GB, free: 7.074 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6456, allocations: 0 / 0.572 GB, free: 7.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002829/0.6459, allocations: 93.58 kB / 0.5721 GB, free: 6.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.646, allocations: 4 kB / 0.5721 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.646, allocations: 4.031 kB / 0.5721 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.646, allocations: 4 kB / 0.5721 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.6462, allocations: 19.92 kB / 0.5721 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.6462, allocations: 0 / 0.5721 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.099e-05/0.6463, allocations: 11.95 kB / 0.5721 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.6463, allocations: 4 kB / 0.5721 GB, free: 6.93 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.0001218/0.6464, allocations: 125.8 kB / 0.5723 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.6465, allocations: 15.91 kB / 0.5723 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.6468, allocations: 127.8 kB / 0.5724 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.6469, allocations: 0 / 0.5724 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6469, allocations: 0 / 0.5724 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.6469, allocations: 4.281 kB / 0.5724 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006477/0.6476, allocations: 423.2 kB / 0.5728 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6476, allocations: 0 / 0.5728 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.799e-05/0.6476, allocations: 11.94 kB / 0.5728 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.6477, allocations: 32 / 0.5728 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.6477, allocations: 15.92 kB / 0.5728 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.6477, allocations: 7.891 kB / 0.5728 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6477, allocations: 0 / 0.5728 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.6481, allocations: 218 kB / 0.573 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.6482, allocations: 96.91 kB / 0.5731 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.6482, allocations: 16.33 kB / 0.5731 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.6483, allocations: 0 / 0.5731 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.6484, allocations: 7.984 kB / 0.5732 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.6484, allocations: 8 kB / 0.5732 GB, free: 5.754 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000202/0.6486, allocations: 156.2 kB / 0.5733 GB, free: 5.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6486, allocations: 0 / 0.5733 GB, free: 5.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003649/0.649, allocations: 39.92 kB / 0.5733 GB, free: 5.562 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.001322/0.6503, allocations: 475.8 kB / 0.5738 GB, free: 5.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.6506, allocations: 55.91 kB / 0.5739 GB, free: 5.137 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6506, allocations: 0 / 0.5739 GB, free: 5.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.6508, allocations: 39.91 kB / 0.5739 GB, free: 5.098 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.6511, allocations: 35.98 kB / 0.5739 GB, free: 5.062 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.6518, allocations: 303.3 kB / 0.5742 GB, free: 4.734 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.6521, allocations: 0.7082 MB / 0.5749 GB, free: 4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.18e-05/0.6522, allocations: 19.44 kB / 0.5749 GB, free: 3.98 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6522, allocations: 4 kB / 0.5749 GB, free: 3.977 MB / 394.7 MB Notification: Performance of Templates: time 0.005324/0.6575, allocations: 1.991 MB / 0.5769 GB, free: 1.996 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches