Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009003/0.0009003, 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.384/1.384, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007705/0.0007706, allocations: 93.48 kB / 271.9 MB, free: 8.25 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.2989/0.2989, allocations: 43.56 MB / 363.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003483, allocations: 15.98 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1112, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2894/0.4007, allocations: 86.42 MB / 0.5643 GB, free: 4 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.401, allocations: 75.97 kB / 0.5644 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01042/0.4115, allocations: 4.161 MB / 0.5685 GB, free: 11.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4115, allocations: 0 / 0.5685 GB, free: 11.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.4115, allocations: 3.844 kB / 0.5685 GB, free: 11.81 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.0004475/0.412, allocations: 426.9 kB / 0.5689 GB, free: 11.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4121, allocations: 8.031 kB / 0.5689 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.4121, allocations: 20.69 kB / 0.5689 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.4123, allocations: 217.3 kB / 0.5691 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.4124, allocations: 4.375 kB / 0.5691 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.4124, allocations: 4.375 kB / 0.5691 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.4125, allocations: 46.25 kB / 0.5692 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4125, allocations: 192 / 0.5692 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4125, allocations: 3.938 kB / 0.5692 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4126, allocations: 4 kB / 0.5692 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.854e-05/0.4127, allocations: 31.97 kB / 0.5692 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.413, allocations: 296.8 kB / 0.5695 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.4132, allocations: 54.47 kB / 0.5695 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.4133, allocations: 12.86 kB / 0.5695 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.4133, allocations: 7.984 kB / 0.5695 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.4133, allocations: 34.56 kB / 0.5696 GB, free: 10.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.4133, allocations: 0 / 0.5696 GB, free: 10.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005369/0.4139, allocations: 165.4 kB / 0.5697 GB, free: 10.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.4139, allocations: 55.41 kB / 0.5698 GB, free: 10.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.4142, allocations: 255.3 kB / 0.57 GB, free: 10.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.4142, allocations: 29.7 kB / 0.5701 GB, free: 9.977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.4143, allocations: 112.1 kB / 0.5702 GB, free: 9.863 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.4143, allocations: 31.58 kB / 0.5702 GB, free: 9.832 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.4143, allocations: 0 / 0.5702 GB, free: 9.832 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4144, allocations: 326.8 kB / 0.5705 GB, free: 9.504 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.477e-05/0.4145, allocations: 23.98 kB / 0.5705 GB, free: 9.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-05/0.4146, allocations: 23.98 kB / 0.5706 GB, free: 9.457 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.4147, allocations: 48.84 kB / 0.5706 GB, free: 9.406 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4147, allocations: 0 / 0.5706 GB, free: 9.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001777/0.4149, allocations: 97.56 kB / 0.5707 GB, free: 9.305 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.4149, allocations: 4 kB / 0.5707 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4149, allocations: 0 / 0.5707 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4149, allocations: 0 / 0.5707 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.976e-05/0.415, allocations: 15.94 kB / 0.5707 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.415, allocations: 4 kB / 0.5707 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.4151, allocations: 8.984 kB / 0.5707 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.4151, allocations: 0 / 0.5707 GB, free: 9.273 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 0.0001001/0.4152, allocations: 149.8 kB / 0.5709 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.4152, allocations: 15.81 kB / 0.5709 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.4155, allocations: 98.66 kB / 0.571 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4155, allocations: 0.75 kB / 0.571 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4155, allocations: 7.938 kB / 0.571 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4155, allocations: 7.984 kB / 0.571 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.4159, allocations: 386.4 kB / 0.5714 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.416, allocations: 0 / 0.5714 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.416, allocations: 15.98 kB / 0.5714 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.416, allocations: 4 kB / 0.5714 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-06/0.416, allocations: 0 / 0.5714 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.416, allocations: 7.938 kB / 0.5714 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.416, allocations: 0 / 0.5714 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.4163, allocations: 199.2 kB / 0.5716 GB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/0.4164, allocations: 100.9 kB / 0.5717 GB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.4164, allocations: 3.984 kB / 0.5717 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.4165, allocations: 4 kB / 0.5717 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.4165, allocations: 7.938 kB / 0.5717 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.4165, allocations: 7.984 kB / 0.5717 GB, free: 8.176 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001774/0.4167, allocations: 196.3 kB / 0.5719 GB, free: 7.984 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4167, allocations: 3.938 kB / 0.5719 GB, free: 7.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.417, allocations: 27.98 kB / 0.5719 GB, free: 7.953 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.0007984/0.4178, allocations: 397 kB / 0.5723 GB, free: 7.652 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.418, allocations: 63.83 kB / 0.5724 GB, free: 7.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.418, allocations: 0 / 0.5724 GB, free: 7.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.156e-05/0.4181, allocations: 31.98 kB / 0.5724 GB, free: 7.559 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.4184, allocations: 12 kB / 0.5724 GB, free: 7.547 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.4189, allocations: 333.7 kB / 0.5727 GB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.4192, allocations: 0.7121 MB / 0.5734 GB, free: 6.457 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.4192, allocations: 11.44 kB / 0.5734 GB, free: 6.445 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4192, allocations: 0 / 0.5734 GB, free: 6.445 MB / 394.7 MB Notification: Performance of Templates: time 0.003091/0.4223, allocations: 1.724 MB / 0.5751 GB, free: 4.723 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches