Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002264/0.002263, allocations: 180.2 kB / 13.65 MB, free: 1.66 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.369/2.369, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001083/0.001082, 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.2822/0.2822, allocations: 43.48 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.862e-05/3.871e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1261, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5254/0.6516, allocations: 86.35 MB / 0.5571 GB, free: 1.309 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.6519, allocations: 81.62 kB / 0.5572 GB, free: 1.266 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0221/0.6741, allocations: 4.221 MB / 0.5613 GB, free: 13.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6741, allocations: 0 / 0.5613 GB, free: 13.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.572e-05/0.6742, allocations: 8 kB / 0.5613 GB, free: 13.64 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007095/0.6749, allocations: 393.7 kB / 0.5617 GB, free: 13.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.371e-05/0.675, allocations: 8.031 kB / 0.5617 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.521e-05/0.6751, allocations: 15.81 kB / 0.5617 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.6755, allocations: 207.9 kB / 0.5619 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.6756, allocations: 7.938 kB / 0.5619 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.6756, allocations: 0 / 0.5619 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.6759, allocations: 61.06 kB / 0.562 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.6759, allocations: 4 kB / 0.562 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.676, allocations: 3.875 kB / 0.562 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.676, allocations: 0 / 0.562 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.6761, allocations: 23.86 kB / 0.562 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007625/0.6769, allocations: 307.9 kB / 0.5623 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.6771, allocations: 50.12 kB / 0.5624 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.074e-05/0.6772, allocations: 20.61 kB / 0.5624 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.6773, allocations: 0 / 0.5624 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.6774, allocations: 30.56 kB / 0.5624 GB, free: 12.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.547e-06/0.6774, allocations: 4 kB / 0.5624 GB, free: 12.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009271/0.6783, allocations: 147.9 kB / 0.5625 GB, free: 12.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.6784, allocations: 51.41 kB / 0.5626 GB, free: 12.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/0.6789, allocations: 212.1 kB / 0.5628 GB, free: 12.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.679, allocations: 29.58 kB / 0.5628 GB, free: 12.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.6791, allocations: 170.2 kB / 0.563 GB, free: 11.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.378e-05/0.6792, allocations: 27.39 kB / 0.563 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.6793, allocations: 0 / 0.563 GB, free: 11.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.6795, allocations: 310.8 kB / 0.5633 GB, free: 11.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.014e-05/0.6796, allocations: 15.81 kB / 0.5633 GB, free: 11.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.999e-05/0.6796, allocations: 15.44 kB / 0.5633 GB, free: 11.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.6798, allocations: 15.92 kB / 0.5634 GB, free: 11.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6798, allocations: 4 kB / 0.5634 GB, free: 11.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003187/0.6801, allocations: 81.08 kB / 0.5634 GB, free: 11.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.6802, allocations: 8 kB / 0.5634 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.6802, allocations: 0 / 0.5634 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.6803, allocations: 0 / 0.5634 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.6806, allocations: 23.92 kB / 0.5635 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/0.6806, allocations: 7.953 kB / 0.5635 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.6808, allocations: 4 kB / 0.5635 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.6808, allocations: 8 kB / 0.5635 GB, free: 11.37 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 (8): * Single equations (assignments): 8 * 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.0001214/0.681, allocations: 106.5 kB / 0.5636 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.682e-05/0.6811, allocations: 15.89 kB / 0.5636 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.6815, allocations: 110.6 kB / 0.5637 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.6816, allocations: 0 / 0.5637 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6816, allocations: 3.938 kB / 0.5637 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.6816, allocations: 3.953 kB / 0.5637 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009615/0.6826, allocations: 392.5 kB / 0.5641 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6826, allocations: 0 / 0.5641 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.6829, allocations: 23.92 kB / 0.5641 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/0.6829, allocations: 3.938 kB / 0.5641 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.683, allocations: 7.953 kB / 0.5641 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.683, allocations: 0 / 0.5641 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.683, allocations: 0 / 0.5641 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.6834, allocations: 187 kB / 0.5643 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.6836, allocations: 92.92 kB / 0.5644 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.6836, allocations: 3.984 kB / 0.5644 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.6839, allocations: 11.64 kB / 0.5644 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.6839, allocations: 7.984 kB / 0.5644 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.684, allocations: 4 kB / 0.5644 GB, free: 10.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003538/0.6844, allocations: 168.8 kB / 0.5646 GB, free: 10.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.71e-07/0.6844, allocations: 0 / 0.5646 GB, free: 10.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005632/0.685, allocations: 24 kB / 0.5646 GB, free: 10.24 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 (8): * Single equations (assignments): 8 * 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.00177/0.6868, allocations: 375.4 kB / 0.565 GB, free: 9.922 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.6872, allocations: 54.05 kB / 0.565 GB, free: 9.879 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.6872, allocations: 0 / 0.565 GB, free: 9.879 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.6873, allocations: 22.25 kB / 0.565 GB, free: 9.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.6878, allocations: 14.06 kB / 0.565 GB, free: 9.855 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009184/0.6888, allocations: 224.2 kB / 0.5653 GB, free: 9.629 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.6893, allocations: 0.7164 MB / 0.566 GB, free: 8.891 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.6894, allocations: 15.44 kB / 0.566 GB, free: 8.875 MB / 378.7 MB Notification: Performance of SimCode: time 5.07e-06/0.6894, allocations: 0 / 0.566 GB, free: 8.875 MB / 378.7 MB Notification: Performance of Templates: time 0.00794/0.6974, allocations: 1.771 MB / 0.5677 GB, free: 7.109 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches