Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001523/0.001523, allocations: 181.6 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.003/2.003, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001101/0.0011, allocations: 89.94 kB / 267.5 MB, free: 14.12 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.3097/0.3097, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.288e-05, allocations: 8 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1155, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4846/0.6002, allocations: 86.4 MB / 0.5572 GB, free: 1.238 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.6005, allocations: 75.25 kB / 0.5572 GB, free: 1.203 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0166/0.6171, allocations: 3.934 MB / 0.5611 GB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6172, allocations: 0 / 0.5611 GB, free: 13.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.087e-05/0.6172, allocations: 4 kB / 0.5611 GB, free: 13.83 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.0004725/0.6177, allocations: 389.4 kB / 0.5615 GB, free: 13.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.6178, allocations: 8.031 kB / 0.5615 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.6178, allocations: 11.84 kB / 0.5615 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.6182, allocations: 208.3 kB / 0.5617 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.6182, allocations: 0 / 0.5617 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.6182, allocations: 0 / 0.5617 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.6183, allocations: 45.34 kB / 0.5617 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.6184, allocations: 4 kB / 0.5617 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.6184, allocations: 0 / 0.5617 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.6184, allocations: 0 / 0.5617 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.798e-05/0.6185, allocations: 15.56 kB / 0.5617 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.619, allocations: 303.1 kB / 0.562 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.6193, allocations: 41.88 kB / 0.5621 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.6193, allocations: 16.42 kB / 0.5621 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.6194, allocations: 4 kB / 0.5621 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.6194, allocations: 34.56 kB / 0.5621 GB, free: 12.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.6194, allocations: 4 kB / 0.5621 GB, free: 12.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005426/0.62, allocations: 120 kB / 0.5622 GB, free: 12.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.62, allocations: 59.36 kB / 0.5623 GB, free: 12.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.6204, allocations: 183 kB / 0.5625 GB, free: 12.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.6204, allocations: 33.27 kB / 0.5625 GB, free: 12.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.6205, allocations: 161.8 kB / 0.5627 GB, free: 12.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.6205, allocations: 23.36 kB / 0.5627 GB, free: 12.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.6205, allocations: 0 / 0.5627 GB, free: 12.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6207, allocations: 314.8 kB / 0.563 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-05/0.6207, allocations: 15.25 kB / 0.563 GB, free: 11.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.032e-05/0.6208, allocations: 11.69 kB / 0.563 GB, free: 11.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.838e-05/0.6209, allocations: 15.67 kB / 0.563 GB, free: 11.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.6209, allocations: 0 / 0.563 GB, free: 11.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001572/0.621, allocations: 60.5 kB / 0.5631 GB, free: 11.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.6211, allocations: 4 kB / 0.5631 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6211, allocations: 0 / 0.5631 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6211, allocations: 0 / 0.5631 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.6213, allocations: 23.92 kB / 0.5631 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.6213, allocations: 0 / 0.5631 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.351e-05/0.6214, allocations: 11.95 kB / 0.5631 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.6214, allocations: 0 / 0.5631 GB, free: 11.67 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.951e-05/0.6215, allocations: 101 kB / 0.5632 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.6216, allocations: 23.23 kB / 0.5632 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.6218, allocations: 80.38 kB / 0.5633 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.6218, allocations: 8 kB / 0.5633 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6219, allocations: 0 / 0.5633 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6219, allocations: 0 / 0.5633 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005313/0.6224, allocations: 351 kB / 0.5636 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.6224, allocations: 7.938 kB / 0.5637 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.6226, allocations: 15.3 kB / 0.5637 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.6226, allocations: 4 kB / 0.5637 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.6226, allocations: 384 / 0.5637 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6226, allocations: 4 kB / 0.5637 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.6226, allocations: 3.953 kB / 0.5637 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.6228, allocations: 170.2 kB / 0.5638 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.112e-05/0.6229, allocations: 92.52 kB / 0.5639 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.623, allocations: 0 / 0.5639 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.6231, allocations: 11.98 kB / 0.5639 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.6232, allocations: 0 / 0.5639 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.6232, allocations: 15.39 kB / 0.564 GB, free: 10.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001975/0.6234, allocations: 150.1 kB / 0.5641 GB, free: 10.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6234, allocations: 0 / 0.5641 GB, free: 10.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003248/0.6237, allocations: 23.42 kB / 0.5641 GB, free: 10.61 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.001118/0.6249, allocations: 364.3 kB / 0.5645 GB, free: 10.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.6251, allocations: 39.05 kB / 0.5645 GB, free: 10.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6251, allocations: 0 / 0.5645 GB, free: 10.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.547e-05/0.6252, allocations: 23.12 kB / 0.5645 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.6255, allocations: 13.98 kB / 0.5645 GB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.626, allocations: 195.4 kB / 0.5647 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.6264, allocations: 0.7141 MB / 0.5654 GB, free: 9.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.6265, allocations: 15.44 kB / 0.5654 GB, free: 9.305 MB / 378.7 MB Notification: Performance of SimCode: time 3.486e-06/0.6265, allocations: 0 / 0.5654 GB, free: 9.305 MB / 378.7 MB Notification: Performance of Templates: time 0.004854/0.6314, allocations: 1.566 MB / 0.567 GB, free: 7.746 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches