Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.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.CombiTable1D.Test23,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.CombiTable1D.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,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.CombiTable1D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002289/0.002289, allocations: 181.3 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.162/2.162, 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.001046/0.001046, allocations: 86.7 kB / 267.5 MB, free: 14.05 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.2759/0.2759, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.234e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4721/0.5914, allocations: 86.65 MB / 0.5574 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.5917, allocations: 73.41 kB / 0.5575 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0169/0.6087, allocations: 4.139 MB / 0.5615 GB, free: 13.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.061e-06/0.6087, allocations: 0 / 0.5615 GB, free: 13.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.6088, allocations: 3.938 kB / 0.5615 GB, free: 13.63 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.0005889/0.6094, allocations: 362.5 kB / 0.5619 GB, free: 13.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.667e-05/0.6095, allocations: 12.03 kB / 0.5619 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.998e-05/0.6096, allocations: 3.906 kB / 0.5619 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.6101, allocations: 198.5 kB / 0.5621 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.6101, allocations: 0 / 0.5621 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.6102, allocations: 0 / 0.5621 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.6104, allocations: 62.97 kB / 0.5621 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.6105, allocations: 0 / 0.5621 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.6105, allocations: 3.984 kB / 0.5621 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.6105, allocations: 8 kB / 0.5621 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.6107, allocations: 15.8 kB / 0.5622 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/0.6114, allocations: 280 kB / 0.5624 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.6116, allocations: 45.81 kB / 0.5625 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.851e-05/0.6117, allocations: 12.86 kB / 0.5625 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.6117, allocations: 4 kB / 0.5625 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.6118, allocations: 37.88 kB / 0.5625 GB, free: 12.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.224e-06/0.6118, allocations: 0 / 0.5625 GB, free: 12.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005297/0.6123, allocations: 111 kB / 0.5626 GB, free: 12.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.6124, allocations: 81.06 kB / 0.5627 GB, free: 12.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.6125, allocations: 130.8 kB / 0.5628 GB, free: 12.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.6126, allocations: 29.7 kB / 0.5629 GB, free: 12.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.6127, allocations: 157.4 kB / 0.563 GB, free: 11.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.6127, allocations: 18.86 kB / 0.563 GB, free: 11.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.6127, allocations: 0 / 0.563 GB, free: 11.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6128, allocations: 310.8 kB / 0.5633 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.6129, allocations: 14.12 kB / 0.5633 GB, free: 11.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.113e-05/0.613, allocations: 27.84 kB / 0.5634 GB, free: 11.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.396e-05/0.613, allocations: 19.3 kB / 0.5634 GB, free: 11.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.6131, allocations: 4.031 kB / 0.5634 GB, free: 11.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001535/0.6132, allocations: 63.25 kB / 0.5634 GB, free: 11.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.6132, allocations: 7.438 kB / 0.5635 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.6133, allocations: 0 / 0.5635 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.6133, allocations: 4 kB / 0.5635 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.6134, allocations: 11.98 kB / 0.5635 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.6135, allocations: 7.938 kB / 0.5635 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.543e-05/0.6135, allocations: 7.953 kB / 0.5635 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.6136, allocations: 7.125 kB / 0.5635 GB, free: 11.5 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.905e-05/0.6137, allocations: 109 kB / 0.5636 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.6137, allocations: 7.906 kB / 0.5636 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.6139, allocations: 75.39 kB / 0.5637 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.614, allocations: 4 kB / 0.5637 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.614, allocations: 0 / 0.5637 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.614, allocations: 0 / 0.5637 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.6145, allocations: 344.8 kB / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6145, allocations: 0 / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.6146, allocations: 15.98 kB / 0.564 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6146, allocations: 0 / 0.564 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.6146, allocations: 4 kB / 0.564 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6147, allocations: 0 / 0.564 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.6147, allocations: 3.953 kB / 0.564 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.6149, allocations: 158.8 kB / 0.5642 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.6149, allocations: 91.83 kB / 0.5643 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.615, allocations: 256 / 0.5643 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.6151, allocations: 11.98 kB / 0.5643 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.6152, allocations: 7.938 kB / 0.5643 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.6152, allocations: 6.641 kB / 0.5643 GB, free: 10.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.6153, allocations: 112 kB / 0.5644 GB, free: 10.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6153, allocations: 0 / 0.5644 GB, free: 10.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003565/0.6157, allocations: 22.62 kB / 0.5644 GB, free: 10.51 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.001248/0.617, allocations: 402.3 kB / 0.5648 GB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002275/0.6173, allocations: 38.55 kB / 0.5648 GB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.6173, allocations: 0 / 0.5648 GB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.341e-05/0.6173, allocations: 22.94 kB / 0.5649 GB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.6177, allocations: 14.36 kB / 0.5649 GB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.6181, allocations: 136.7 kB / 0.565 GB, free: 9.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.6185, allocations: 0.7004 MB / 0.5657 GB, free: 9.234 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.533e-05/0.6186, allocations: 11.44 kB / 0.5657 GB, free: 9.223 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6186, allocations: 0 / 0.5657 GB, free: 9.223 MB / 378.7 MB Notification: Performance of Templates: time 0.005162/0.6237, allocations: 1.602 MB / 0.5673 GB, free: 7.629 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches