Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001112, allocations: 181.2 kB / 17.41 MB, free: 4.406 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.563/1.563, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0008018/0.0008016, allocations: 92.67 kB / 271.9 MB, free: 8.254 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.3954/0.3954, allocations: 43.57 MB / 363.8 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004034, allocations: 20 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1521, allocations: 58.86 MB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3941/0.5462, allocations: 87.72 MB / 0.5656 GB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.5467, allocations: 77.22 kB / 0.5657 GB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01633/0.563, allocations: 5.29 MB / 0.5708 GB, free: 9.348 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.563, allocations: 0 / 0.5708 GB, free: 9.348 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.5631, allocations: 4 kB / 0.5708 GB, free: 9.344 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.000698/0.5638, allocations: 418 kB / 0.5712 GB, free: 8.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.5639, allocations: 12.03 kB / 0.5713 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/0.5639, allocations: 8.844 kB / 0.5713 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.5643, allocations: 223.1 kB / 0.5715 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.5644, allocations: 5.188 kB / 0.5715 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.5644, allocations: 384 / 0.5715 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.5646, allocations: 58.23 kB / 0.5715 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.5646, allocations: 192 / 0.5715 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.5646, allocations: 7.938 kB / 0.5715 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.5647, allocations: 0 / 0.5715 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.574e-05/0.5648, allocations: 27.91 kB / 0.5716 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.5652, allocations: 299.6 kB / 0.5719 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.5654, allocations: 62.56 kB / 0.5719 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.542e-05/0.5655, allocations: 28.84 kB / 0.5719 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.5655, allocations: 0 / 0.5719 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.5657, allocations: 63.39 kB / 0.572 GB, free: 7.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.5657, allocations: 0 / 0.572 GB, free: 7.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006193/0.5663, allocations: 177.2 kB / 0.5722 GB, free: 7.816 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.5664, allocations: 55.39 kB / 0.5722 GB, free: 7.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.5666, allocations: 186.2 kB / 0.5724 GB, free: 7.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.5666, allocations: 29.69 kB / 0.5724 GB, free: 7.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.5667, allocations: 96.14 kB / 0.5725 GB, free: 7.426 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.5667, allocations: 27.64 kB / 0.5726 GB, free: 7.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.5668, allocations: 4 kB / 0.5726 GB, free: 7.395 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5669, allocations: 326.8 kB / 0.5729 GB, free: 7.066 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.567, allocations: 23.92 kB / 0.5729 GB, free: 7.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.239e-05/0.5671, allocations: 37.7 kB / 0.5729 GB, free: 7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.5672, allocations: 61.78 kB / 0.573 GB, free: 6.934 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5672, allocations: 0 / 0.573 GB, free: 6.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002111/0.5674, allocations: 109.4 kB / 0.5731 GB, free: 6.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5674, allocations: 4 kB / 0.5731 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5675, allocations: 0 / 0.5731 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.5675, allocations: 4 kB / 0.5731 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.5676, allocations: 15.98 kB / 0.5731 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.5676, allocations: 0.75 kB / 0.5731 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.5677, allocations: 8.031 kB / 0.5731 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.5677, allocations: 4 kB / 0.5731 GB, free: 6.785 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.0001173/0.5678, allocations: 137.7 kB / 0.5733 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.5678, allocations: 7.906 kB / 0.5733 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.5681, allocations: 122.4 kB / 0.5734 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5681, allocations: 0 / 0.5734 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5681, allocations: 0 / 0.5734 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5681, allocations: 8 kB / 0.5734 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.5687, allocations: 415.2 kB / 0.5738 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5687, allocations: 0 / 0.5738 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.5687, allocations: 8 kB / 0.5738 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5687, allocations: 3.938 kB / 0.5738 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.5687, allocations: 4 kB / 0.5738 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5688, allocations: 384 / 0.5738 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5688, allocations: 3.938 kB / 0.5738 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.569, allocations: 220.2 kB / 0.574 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.5691, allocations: 85.02 kB / 0.5741 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.5691, allocations: 8 kB / 0.5741 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.5692, allocations: 11.98 kB / 0.5741 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.5693, allocations: 3.938 kB / 0.5741 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.5693, allocations: 7.984 kB / 0.5741 GB, free: 5.645 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.5694, allocations: 144.8 kB / 0.5743 GB, free: 5.504 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5694, allocations: 0 / 0.5743 GB, free: 5.504 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002774/0.5697, allocations: 39.92 kB / 0.5743 GB, free: 5.465 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.00111/0.5708, allocations: 471 kB / 0.5747 GB, free: 5.105 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.5711, allocations: 75.81 kB / 0.5748 GB, free: 5.031 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5711, allocations: 0 / 0.5748 GB, free: 5.031 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.898e-05/0.5712, allocations: 31.98 kB / 0.5749 GB, free: 5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.5715, allocations: 22.95 kB / 0.5749 GB, free: 4.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.5721, allocations: 286.6 kB / 0.5751 GB, free: 4.668 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.5724, allocations: 0.7043 MB / 0.5758 GB, free: 3.938 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.5725, allocations: 15.44 kB / 0.5758 GB, free: 3.922 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5725, allocations: 4 kB / 0.5759 GB, free: 3.918 MB / 394.7 MB Notification: Performance of Templates: time 0.004408/0.5769, allocations: 1.904 MB / 0.5777 GB, free: 2.02 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches