Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 185.9 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 2.004/2.004, 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.001164/0.001164, allocations: 96.41 kB / 270.9 MB, free: 8.391 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.5181/0.5181, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004734, allocations: 12 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1273, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4573/0.5846, allocations: 87.93 MB / 0.5646 GB, free: 14.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.585, allocations: 71.95 kB / 0.5647 GB, free: 14.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02619/0.6112, allocations: 5.963 MB / 0.5705 GB, free: 8.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6113, allocations: 4 kB / 0.5705 GB, free: 8.816 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.6113, allocations: 0.5469 kB / 0.5705 GB, free: 8.816 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.0006753/0.612, allocations: 410 kB / 0.5709 GB, free: 8.371 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.612, allocations: 12.02 kB / 0.5709 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.6121, allocations: 19.34 kB / 0.5709 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.6125, allocations: 198.8 kB / 0.5711 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.6125, allocations: 8 kB / 0.5711 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.6126, allocations: 3.938 kB / 0.5711 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.6128, allocations: 67.39 kB / 0.5712 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.6128, allocations: 3.984 kB / 0.5712 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.6128, allocations: 5.031 kB / 0.5712 GB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.6129, allocations: 10.91 kB / 0.5712 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.613, allocations: 23.92 kB / 0.5712 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.6135, allocations: 292.8 kB / 0.5715 GB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.6138, allocations: 54.67 kB / 0.5716 GB, free: 7.582 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.6138, allocations: 0 / 0.5716 GB, free: 7.582 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.614, allocations: 75.45 kB / 0.5716 GB, free: 7.496 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.6141, allocations: 0 / 0.5716 GB, free: 7.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008372/0.6149, allocations: 177.2 kB / 0.5718 GB, free: 7.316 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.615, allocations: 77.11 kB / 0.5719 GB, free: 7.223 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.6152, allocations: 143.2 kB / 0.572 GB, free: 7.078 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.6153, allocations: 33.7 kB / 0.572 GB, free: 7.039 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.303e-05/0.6154, allocations: 154.6 kB / 0.5722 GB, free: 6.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.6154, allocations: 27.7 kB / 0.5722 GB, free: 6.859 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.6155, allocations: 0 / 0.5722 GB, free: 6.859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6156, allocations: 318.8 kB / 0.5725 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.243e-05/0.6157, allocations: 15.98 kB / 0.5725 GB, free: 6.523 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.6159, allocations: 46.56 kB / 0.5726 GB, free: 6.469 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.616, allocations: 23.98 kB / 0.5726 GB, free: 6.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.616, allocations: 4.031 kB / 0.5726 GB, free: 6.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003103/0.6163, allocations: 101.5 kB / 0.5727 GB, free: 6.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.6163, allocations: 4 kB / 0.5727 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.6164, allocations: 7.953 kB / 0.5727 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.6164, allocations: 3.984 kB / 0.5727 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.6165, allocations: 12 kB / 0.5727 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.6166, allocations: 4.719 kB / 0.5727 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.6167, allocations: 5.031 kB / 0.5727 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.6167, allocations: 4 kB / 0.5727 GB, free: 6.297 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.000133/0.6168, allocations: 125.9 kB / 0.5729 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.6169, allocations: 11.91 kB / 0.5729 GB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/0.6173, allocations: 118.5 kB / 0.573 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.6173, allocations: 4.234 kB / 0.573 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.6173, allocations: 4 kB / 0.573 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.6173, allocations: 3.938 kB / 0.573 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007098/0.6181, allocations: 403.2 kB / 0.5734 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.6181, allocations: 0 / 0.5734 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.6182, allocations: 15.94 kB / 0.5734 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.6182, allocations: 4 kB / 0.5734 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.6182, allocations: 4 kB / 0.5734 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.6183, allocations: 384 / 0.5734 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6183, allocations: 4 kB / 0.5734 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/0.6187, allocations: 221.9 kB / 0.5736 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/0.6188, allocations: 100.9 kB / 0.5737 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.6188, allocations: 4 kB / 0.5737 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.6189, allocations: 3.984 kB / 0.5737 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.619, allocations: 8 kB / 0.5737 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.619, allocations: 4 kB / 0.5737 GB, free: 5.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001606/0.6192, allocations: 123 kB / 0.5739 GB, free: 5.043 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6192, allocations: 3.938 kB / 0.5739 GB, free: 5.039 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003939/0.6196, allocations: 43.98 kB / 0.5739 GB, free: 4.996 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.00153/0.6212, allocations: 0.5004 MB / 0.5744 GB, free: 4.598 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.6215, allocations: 63.91 kB / 0.5745 GB, free: 4.535 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6215, allocations: 0 / 0.5745 GB, free: 4.535 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.6217, allocations: 27.98 kB / 0.5745 GB, free: 4.508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.6221, allocations: 27.94 kB / 0.5745 GB, free: 4.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/0.6227, allocations: 246 kB / 0.5747 GB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.6231, allocations: 0.7081 MB / 0.5754 GB, free: 3.473 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.6232, allocations: 23.42 kB / 0.5755 GB, free: 3.449 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6232, allocations: 0 / 0.5755 GB, free: 3.449 MB / 394.7 MB Notification: Performance of Templates: time 0.005865/0.629, allocations: 2.05 MB / 0.5775 GB, free: 1.402 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches