Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.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.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002292/0.002291, allocations: 185.5 kB / 16.41 MB, free: 5.727 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.924/1.924, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001106/0.001106, allocations: 91.61 kB / 270.9 MB, free: 8.387 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.5265/0.5265, allocations: 43.54 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006604/0.0006604, allocations: 16 kB / 431.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1315, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.48/0.6116, allocations: 87.71 MB / 0.5644 GB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.612, allocations: 82.11 kB / 0.5645 GB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0237/0.6357, allocations: 5.558 MB / 0.5699 GB, free: 9.289 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.6357, allocations: 3.984 kB / 0.5699 GB, free: 9.285 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.6358, allocations: 3.938 kB / 0.5699 GB, free: 9.281 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006534/0.6364, allocations: 433.8 kB / 0.5703 GB, free: 8.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.6365, allocations: 12.02 kB / 0.5703 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.6366, allocations: 15.34 kB / 0.5703 GB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.6369, allocations: 214.7 kB / 0.5705 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.637, allocations: 4 kB / 0.5705 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.637, allocations: 0 / 0.5705 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.6372, allocations: 57.61 kB / 0.5706 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.6372, allocations: 4 kB / 0.5706 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.6373, allocations: 4 kB / 0.5706 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.6373, allocations: 1.031 kB / 0.5706 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.6374, allocations: 27.97 kB / 0.5706 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.6379, allocations: 293.6 kB / 0.5709 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.6381, allocations: 66.61 kB / 0.571 GB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.6382, allocations: 3.984 kB / 0.571 GB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.6384, allocations: 71.52 kB / 0.5711 GB, free: 7.941 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.6384, allocations: 0 / 0.5711 GB, free: 7.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007788/0.6392, allocations: 185.1 kB / 0.5712 GB, free: 7.754 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.6392, allocations: 55.36 kB / 0.5713 GB, free: 7.688 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.6395, allocations: 197.8 kB / 0.5715 GB, free: 7.484 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.6396, allocations: 33.7 kB / 0.5715 GB, free: 7.445 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.6397, allocations: 162.6 kB / 0.5717 GB, free: 7.285 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.6397, allocations: 27.64 kB / 0.5717 GB, free: 7.258 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-06/0.6397, allocations: 0 / 0.5717 GB, free: 7.258 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.6399, allocations: 314.8 kB / 0.572 GB, free: 6.941 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.373e-05/0.64, allocations: 23.98 kB / 0.572 GB, free: 6.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.6401, allocations: 37.64 kB / 0.572 GB, free: 6.875 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.6402, allocations: 28.86 kB / 0.5721 GB, free: 6.848 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6402, allocations: 192 / 0.5721 GB, free: 6.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000285/0.6405, allocations: 97.59 kB / 0.5722 GB, free: 6.746 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.6406, allocations: 7.938 kB / 0.5722 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6406, allocations: 0 / 0.5722 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.6406, allocations: 4 kB / 0.5722 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.6408, allocations: 15.98 kB / 0.5722 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.6408, allocations: 0.7812 kB / 0.5722 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.873e-05/0.6409, allocations: 11.95 kB / 0.5722 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.6409, allocations: 8.031 kB / 0.5722 GB, free: 6.699 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000135/0.641, allocations: 130.9 kB / 0.5723 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.6411, allocations: 11.81 kB / 0.5723 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.6415, allocations: 123.2 kB / 0.5725 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.6415, allocations: 3.938 kB / 0.5725 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6415, allocations: 0 / 0.5725 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.6415, allocations: 3.984 kB / 0.5725 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007093/0.6422, allocations: 435.1 kB / 0.5729 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6423, allocations: 0 / 0.5729 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.6423, allocations: 11.94 kB / 0.5729 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.247e-06/0.6424, allocations: 0 / 0.5729 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.6424, allocations: 8 kB / 0.5729 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.6424, allocations: 3.953 kB / 0.5729 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6424, allocations: 0 / 0.5729 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.6428, allocations: 222 kB / 0.5731 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.362e-05/0.6429, allocations: 100.9 kB / 0.5732 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.6429, allocations: 11.94 kB / 0.5732 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.6431, allocations: 4 kB / 0.5732 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.6431, allocations: 7.984 kB / 0.5732 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.6431, allocations: 4 kB / 0.5732 GB, free: 5.527 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002288/0.6434, allocations: 173.3 kB / 0.5734 GB, free: 5.359 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6434, allocations: 0 / 0.5734 GB, free: 5.359 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003733/0.6438, allocations: 35.92 kB / 0.5734 GB, free: 5.324 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001416/0.6452, allocations: 479.6 kB / 0.5739 GB, free: 4.949 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.6455, allocations: 63.91 kB / 0.574 GB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6456, allocations: 0 / 0.574 GB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.6457, allocations: 31.92 kB / 0.574 GB, free: 4.855 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.6461, allocations: 24.17 kB / 0.574 GB, free: 4.828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000735/0.6468, allocations: 310.7 kB / 0.5743 GB, free: 4.492 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.6472, allocations: 0.716 MB / 0.575 GB, free: 3.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.6473, allocations: 19.44 kB / 0.575 GB, free: 3.734 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6473, allocations: 4 kB / 0.575 GB, free: 3.73 MB / 394.7 MB Notification: Performance of Templates: time 0.00554/0.6528, allocations: 2.037 MB / 0.577 GB, free: 1.703 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches