Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 180.5 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.399/1.399, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007416/0.0007417, allocations: 85.44 kB / 271.9 MB, free: 8.258 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.3061/0.3061, allocations: 43.56 MB / 363.8 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 16 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.09905, allocations: 58.84 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2558/0.3549, allocations: 86.42 MB / 0.5643 GB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.3551, allocations: 71.95 kB / 0.5644 GB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009721/0.3649, allocations: 3.932 MB / 0.5682 GB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3649, allocations: 0 / 0.5682 GB, free: 11.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.3649, allocations: 4 kB / 0.5682 GB, free: 11.87 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003955/0.3653, allocations: 403.7 kB / 0.5686 GB, free: 11.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3654, allocations: 8.031 kB / 0.5686 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.3654, allocations: 13.86 kB / 0.5686 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.3656, allocations: 212 kB / 0.5688 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3657, allocations: 384 / 0.5688 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.3657, allocations: 8.375 kB / 0.5688 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.3658, allocations: 53.5 kB / 0.5689 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3658, allocations: 192 / 0.5689 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3658, allocations: 3.938 kB / 0.5689 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3659, allocations: 0 / 0.5689 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.763e-05/0.366, allocations: 27.97 kB / 0.5689 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.3663, allocations: 288.8 kB / 0.5692 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.3665, allocations: 46.5 kB / 0.5692 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.99e-05/0.3666, allocations: 15.86 kB / 0.5693 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.3666, allocations: 7.984 kB / 0.5693 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.3666, allocations: 34.56 kB / 0.5693 GB, free: 10.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3666, allocations: 4 kB / 0.5693 GB, free: 10.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005128/0.3671, allocations: 157.4 kB / 0.5695 GB, free: 10.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.3672, allocations: 55.41 kB / 0.5695 GB, free: 10.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.3674, allocations: 194.2 kB / 0.5697 GB, free: 10.19 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.3674, allocations: 25.7 kB / 0.5697 GB, free: 10.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.3675, allocations: 112 kB / 0.5698 GB, free: 10.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.3675, allocations: 11.81 kB / 0.5698 GB, free: 10.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.3675, allocations: 0 / 0.5698 GB, free: 10.03 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3676, allocations: 326.8 kB / 0.5702 GB, free: 9.703 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.059e-05/0.3677, allocations: 31.92 kB / 0.5702 GB, free: 9.672 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.3677, allocations: 15.98 kB / 0.5702 GB, free: 9.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.3679, allocations: 56.83 kB / 0.5702 GB, free: 9.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3679, allocations: 0 / 0.5702 GB, free: 9.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001727/0.3681, allocations: 85.58 kB / 0.5703 GB, free: 9.508 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3681, allocations: 8 kB / 0.5703 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3681, allocations: 0 / 0.5703 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3681, allocations: 0 / 0.5703 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.194e-05/0.3682, allocations: 19.92 kB / 0.5704 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3682, allocations: 4 kB / 0.5704 GB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.3682, allocations: 11.98 kB / 0.5704 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3683, allocations: 4 kB / 0.5704 GB, free: 9.461 MB / 394.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 () * Number of clocked 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 8.921e-05/0.3684, allocations: 133.7 kB / 0.5705 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.3684, allocations: 7.906 kB / 0.5705 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.3686, allocations: 110.5 kB / 0.5706 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3686, allocations: 4 kB / 0.5706 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3686, allocations: 0 / 0.5706 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3686, allocations: 320 / 0.5706 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.3691, allocations: 378.4 kB / 0.571 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3691, allocations: 1.031 kB / 0.571 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.255e-05/0.3691, allocations: 11.98 kB / 0.571 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3691, allocations: 4 kB / 0.571 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.3692, allocations: 0 / 0.571 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3692, allocations: 0 / 0.571 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3692, allocations: 0 / 0.571 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.3694, allocations: 195.3 kB / 0.5712 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.3695, allocations: 93.02 kB / 0.5713 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.3695, allocations: 288 / 0.5713 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.3695, allocations: 7.984 kB / 0.5713 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.3696, allocations: 7.938 kB / 0.5713 GB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.3696, allocations: 3.938 kB / 0.5713 GB, free: 8.422 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.3697, allocations: 163.8 kB / 0.5714 GB, free: 8.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3697, allocations: 3.938 kB / 0.5715 GB, free: 8.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002343/0.37, allocations: 15.98 kB / 0.5715 GB, free: 8.246 MB / 394.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 () * Number of clocked 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.0008082/0.3708, allocations: 415.9 kB / 0.5719 GB, free: 7.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.371, allocations: 59.91 kB / 0.5719 GB, free: 7.871 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.371, allocations: 0 / 0.5719 GB, free: 7.871 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.918e-05/0.371, allocations: 27.98 kB / 0.5719 GB, free: 7.844 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.3713, allocations: 15.98 kB / 0.572 GB, free: 7.828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.3718, allocations: 265 kB / 0.5722 GB, free: 7.543 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.372, allocations: 0.7043 MB / 0.5729 GB, free: 6.812 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.3721, allocations: 19.42 kB / 0.5729 GB, free: 6.797 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3721, allocations: 0 / 0.5729 GB, free: 6.797 MB / 394.7 MB Notification: Performance of Templates: time 0.002774/0.3748, allocations: 1.526 MB / 0.5744 GB, free: 5.277 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches