Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002226/0.002226, allocations: 186.7 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.059/2.059, 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.001137/0.001137, allocations: 90.05 kB / 270.9 MB, free: 8.383 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.4974/0.4974, allocations: 43.55 MB / 362.7 MB, free: 52.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004811, allocations: 12 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1226, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4621/0.5847, allocations: 88.7 MB / 0.5654 GB, free: 14.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.5851, allocations: 71.97 kB / 0.5654 GB, free: 13.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01883/0.6039, allocations: 4.262 MB / 0.5696 GB, free: 9.734 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.604, allocations: 0 / 0.5696 GB, free: 9.734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.604, allocations: 0 / 0.5696 GB, free: 9.734 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008189/0.6048, allocations: 493.3 kB / 0.5701 GB, free: 9.203 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.6049, allocations: 8.031 kB / 0.5701 GB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.605, allocations: 19.25 kB / 0.5701 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.6054, allocations: 227.2 kB / 0.5703 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.6054, allocations: 8 kB / 0.5703 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.6055, allocations: 4 kB / 0.5703 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.6058, allocations: 112.2 kB / 0.5704 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.6058, allocations: 3.938 kB / 0.5704 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.6058, allocations: 0 / 0.5704 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.6059, allocations: 1.031 kB / 0.5704 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.6061, allocations: 51.97 kB / 0.5705 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00079/0.6069, allocations: 0.5244 MB / 0.571 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.6074, allocations: 90.66 kB / 0.5711 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.6074, allocations: 3.938 kB / 0.5711 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000277/0.6077, allocations: 91.27 kB / 0.5712 GB, free: 7.941 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.6077, allocations: 0 / 0.5712 GB, free: 7.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006071/0.6083, allocations: 153.4 kB / 0.5713 GB, free: 7.785 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.6084, allocations: 51.41 kB / 0.5714 GB, free: 7.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.6087, allocations: 178.6 kB / 0.5715 GB, free: 7.535 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.6087, allocations: 25.7 kB / 0.5716 GB, free: 7.504 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.6089, allocations: 182.3 kB / 0.5717 GB, free: 7.324 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.6089, allocations: 27.64 kB / 0.5718 GB, free: 7.297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.6089, allocations: 4 kB / 0.5718 GB, free: 7.293 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6091, allocations: 318.8 kB / 0.5721 GB, free: 6.973 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.6092, allocations: 27.98 kB / 0.5721 GB, free: 6.945 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.6094, allocations: 72.86 kB / 0.5722 GB, free: 6.859 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.6096, allocations: 44.3 kB / 0.5722 GB, free: 6.816 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6096, allocations: 0 / 0.5722 GB, free: 6.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000427/0.6101, allocations: 133.4 kB / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.6101, allocations: 8.125 kB / 0.5723 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.6101, allocations: 4 kB / 0.5723 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.6101, allocations: 3.953 kB / 0.5723 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.6103, allocations: 27.92 kB / 0.5724 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.6104, allocations: 4 kB / 0.5724 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.6105, allocations: 11.98 kB / 0.5724 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.6105, allocations: 4 kB / 0.5724 GB, free: 6.617 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001412/0.6107, allocations: 131.4 kB / 0.5725 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.6107, allocations: 19.81 kB / 0.5725 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004639/0.6112, allocations: 134.1 kB / 0.5727 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.6112, allocations: 7.984 kB / 0.5727 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.6112, allocations: 3.953 kB / 0.5727 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6113, allocations: 0 / 0.5727 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.6115, allocations: 217.6 kB / 0.5729 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6115, allocations: 0 / 0.5729 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.6117, allocations: 27.92 kB / 0.5729 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.6117, allocations: 0 / 0.5729 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.6117, allocations: 4 kB / 0.5729 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.6117, allocations: 0 / 0.5729 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6118, allocations: 0 / 0.5729 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00062/0.6124, allocations: 201 kB / 0.5731 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.6125, allocations: 93.03 kB / 0.5732 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.6125, allocations: 11.92 kB / 0.5732 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.6127, allocations: 8 kB / 0.5732 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.6127, allocations: 7.984 kB / 0.5732 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.6128, allocations: 0 / 0.5732 GB, free: 5.668 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001837/0.613, allocations: 149.2 kB / 0.5734 GB, free: 5.523 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.613, allocations: 0 / 0.5734 GB, free: 5.523 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003217/0.6133, allocations: 32.12 kB / 0.5734 GB, free: 5.492 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001179/0.6145, allocations: 426.9 kB / 0.5738 GB, free: 5.164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003993/0.6149, allocations: 87.83 kB / 0.5739 GB, free: 5.078 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6149, allocations: 0 / 0.5739 GB, free: 5.078 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.6151, allocations: 52.16 kB / 0.5739 GB, free: 5.027 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.6155, allocations: 28.17 kB / 0.574 GB, free: 4.996 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007467/0.6163, allocations: 325.9 kB / 0.5743 GB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.6166, allocations: 0.7204 MB / 0.575 GB, free: 3.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.6167, allocations: 19.42 kB / 0.575 GB, free: 3.891 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6167, allocations: 0 / 0.575 GB, free: 3.891 MB / 394.7 MB Notification: Performance of Templates: time 0.005858/0.6226, allocations: 2.174 MB / 0.5771 GB, free: 1.727 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches