Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002213/0.002213, 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.132/2.132, 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.001056/0.001056, allocations: 82.72 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.2844/0.2844, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.864e-05, allocations: 0 / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.157, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4864/0.6435, allocations: 86.25 MB / 0.557 GB, free: 1.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.6438, allocations: 72.92 kB / 0.5571 GB, free: 1.305 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01454/0.6583, allocations: 3.607 MB / 0.5606 GB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6584, allocations: 7.938 kB / 0.5606 GB, free: 14.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.6584, allocations: 4 kB / 0.5606 GB, free: 14.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004387/0.6589, allocations: 365.4 kB / 0.561 GB, free: 13.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.6589, allocations: 11.97 kB / 0.561 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.659, allocations: 7.906 kB / 0.561 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.6593, allocations: 201.2 kB / 0.5612 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.6593, allocations: 3.562 kB / 0.5612 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.6593, allocations: 0 / 0.5612 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.6595, allocations: 48.88 kB / 0.5612 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.6595, allocations: 0 / 0.5612 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.6595, allocations: 3.688 kB / 0.5612 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6595, allocations: 4 kB / 0.5612 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.335e-05/0.6596, allocations: 11.88 kB / 0.5613 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.66, allocations: 275 kB / 0.5615 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.6602, allocations: 50.25 kB / 0.5616 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.6603, allocations: 8.859 kB / 0.5616 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.6603, allocations: 0 / 0.5616 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.6604, allocations: 34.56 kB / 0.5616 GB, free: 13.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/0.6604, allocations: 0 / 0.5616 GB, free: 13.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004845/0.6609, allocations: 106.6 kB / 0.5617 GB, free: 13.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.6609, allocations: 59.41 kB / 0.5618 GB, free: 12.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.6611, allocations: 147 kB / 0.5619 GB, free: 12.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.6612, allocations: 25.7 kB / 0.5619 GB, free: 12.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.6613, allocations: 165.7 kB / 0.5621 GB, free: 12.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.6613, allocations: 15.7 kB / 0.5621 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/0.6613, allocations: 7.938 kB / 0.5621 GB, free: 12.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.6614, allocations: 314.4 kB / 0.5624 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.6615, allocations: 7.438 kB / 0.5624 GB, free: 12.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/0.6615, allocations: 11.12 kB / 0.5624 GB, free: 12.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.16e-05/0.6616, allocations: 11.38 kB / 0.5624 GB, free: 12.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.6616, allocations: 0 / 0.5624 GB, free: 12.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001362/0.6617, allocations: 60.5 kB / 0.5625 GB, free: 12.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6618, allocations: 4 kB / 0.5625 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.6618, allocations: 0 / 0.5625 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.6618, allocations: 3.953 kB / 0.5625 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.6619, allocations: 15.98 kB / 0.5625 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.662, allocations: 0 / 0.5625 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.695e-05/0.662, allocations: 12 kB / 0.5625 GB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.6621, allocations: 0 / 0.5625 GB, free: 12.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.574e-05/0.6622, allocations: 106.7 kB / 0.5626 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.6622, allocations: 12.03 kB / 0.5626 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.6624, allocations: 83.2 kB / 0.5627 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.6625, allocations: 3.953 kB / 0.5627 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6625, allocations: 0 / 0.5627 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6625, allocations: 0 / 0.5627 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.663, allocations: 338.5 kB / 0.563 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.663, allocations: 0 / 0.563 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.6631, allocations: 15.38 kB / 0.5631 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.6631, allocations: 7.891 kB / 0.5631 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.6631, allocations: 0 / 0.5631 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.6632, allocations: 0 / 0.5631 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.6632, allocations: 3.984 kB / 0.5631 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.6634, allocations: 158 kB / 0.5632 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-05/0.6634, allocations: 89 kB / 0.5633 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.6635, allocations: 3.953 kB / 0.5633 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.6636, allocations: 15.73 kB / 0.5633 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.6636, allocations: 0 / 0.5633 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.6637, allocations: 4 kB / 0.5633 GB, free: 11.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.6638, allocations: 121 kB / 0.5634 GB, free: 11.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6638, allocations: 0 / 0.5634 GB, free: 11.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003196/0.6642, allocations: 31.42 kB / 0.5635 GB, free: 11.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001022/0.6652, allocations: 366.3 kB / 0.5638 GB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.6653, allocations: 26.86 kB / 0.5639 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6654, allocations: 0 / 0.5639 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.028e-05/0.6654, allocations: 15.81 kB / 0.5639 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.6657, allocations: 25.47 kB / 0.5639 GB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.6661, allocations: 153.5 kB / 0.564 GB, free: 10.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.6664, allocations: 0.6977 MB / 0.5647 GB, free: 9.926 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.6665, allocations: 15.42 kB / 0.5647 GB, free: 9.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.855e-06/0.6665, allocations: 0 / 0.5647 GB, free: 9.91 MB / 378.7 MB Notification: Performance of Templates: time 0.004206/0.6707, allocations: 1.449 MB / 0.5662 GB, free: 8.469 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches