Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002331/0.00233, 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.079/2.079, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.00113/0.00113, allocations: 98.92 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.5383/0.5383, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006944/0.0006945, allocations: 16 kB / 431.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1249, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4628/0.5877, allocations: 87.75 MB / 0.5644 GB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.5881, allocations: 79.95 kB / 0.5645 GB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02498/0.6131, allocations: 5.855 MB / 0.5702 GB, free: 8.965 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6131, allocations: 0.5469 kB / 0.5702 GB, free: 8.965 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.185e-05/0.6132, allocations: 4 kB / 0.5702 GB, free: 8.961 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008326/0.614, allocations: 469.5 kB / 0.5707 GB, free: 8.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.6141, allocations: 19.95 kB / 0.5707 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.297e-05/0.6141, allocations: 19.25 kB / 0.5707 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005106/0.6147, allocations: 240.9 kB / 0.5709 GB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.6147, allocations: 7.984 kB / 0.5709 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.6147, allocations: 4 kB / 0.571 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.615, allocations: 101 kB / 0.571 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.6151, allocations: 0.625 kB / 0.571 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.6151, allocations: 0 / 0.571 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.6151, allocations: 7.938 kB / 0.5711 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.6153, allocations: 35.97 kB / 0.5711 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.6156, allocations: 218.5 kB / 0.5713 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.6161, allocations: 109.2 kB / 0.5714 GB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.6161, allocations: 8 kB / 0.5714 GB, free: 7.582 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003173/0.6165, allocations: 117.1 kB / 0.5715 GB, free: 7.449 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.655e-06/0.6165, allocations: 0 / 0.5715 GB, free: 7.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007269/0.6172, allocations: 169.4 kB / 0.5717 GB, free: 7.277 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/0.6173, allocations: 132.5 kB / 0.5718 GB, free: 7.117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.6177, allocations: 202.9 kB / 0.572 GB, free: 6.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.6177, allocations: 29.7 kB / 0.572 GB, free: 6.875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/0.6178, allocations: 170.6 kB / 0.5722 GB, free: 6.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.6179, allocations: 27.61 kB / 0.5722 GB, free: 6.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/0.6179, allocations: 0 / 0.5722 GB, free: 6.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.618, allocations: 322.8 kB / 0.5725 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.6182, allocations: 27.98 kB / 0.5726 GB, free: 6.328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.6184, allocations: 74.25 kB / 0.5726 GB, free: 6.238 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.6186, allocations: 35.92 kB / 0.5727 GB, free: 6.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.6186, allocations: 4 kB / 0.5727 GB, free: 6.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000423/0.619, allocations: 121.6 kB / 0.5728 GB, free: 6.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.6191, allocations: 12.09 kB / 0.5728 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.6191, allocations: 0 / 0.5728 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.6191, allocations: 7.938 kB / 0.5728 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.6193, allocations: 23.92 kB / 0.5728 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.6193, allocations: 0 / 0.5728 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.6195, allocations: 20.88 kB / 0.5728 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.6195, allocations: 4 kB / 0.5728 GB, free: 6.008 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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.000177/0.6197, allocations: 137.8 kB / 0.573 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.6198, allocations: 19.81 kB / 0.573 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.6204, allocations: 159.2 kB / 0.5731 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.6204, allocations: 0 / 0.5731 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.6204, allocations: 4.125 kB / 0.5732 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.6204, allocations: 4 kB / 0.5732 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.6207, allocations: 225.5 kB / 0.5734 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6208, allocations: 0 / 0.5734 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/0.6209, allocations: 15.94 kB / 0.5734 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.6209, allocations: 3.938 kB / 0.5734 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.6209, allocations: 15.98 kB / 0.5734 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.6209, allocations: 0 / 0.5734 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6209, allocations: 0 / 0.5734 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.6215, allocations: 196 kB / 0.5736 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.6216, allocations: 100.9 kB / 0.5737 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.6217, allocations: 8 kB / 0.5737 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.6218, allocations: 4 kB / 0.5737 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.6219, allocations: 7.984 kB / 0.5737 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.6219, allocations: 11.98 kB / 0.5737 GB, free: 5.008 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002709/0.6222, allocations: 165.5 kB / 0.5739 GB, free: 4.848 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6222, allocations: 3.938 kB / 0.5739 GB, free: 4.844 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004067/0.6226, allocations: 43.98 kB / 0.5739 GB, free: 4.801 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001372/0.624, allocations: 465.4 kB / 0.5744 GB, free: 4.441 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004871/0.6245, allocations: 91.89 kB / 0.5745 GB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.6246, allocations: 0 / 0.5745 GB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.6248, allocations: 43.92 kB / 0.5745 GB, free: 4.309 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.6253, allocations: 58.02 kB / 0.5745 GB, free: 4.254 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008255/0.6262, allocations: 323 kB / 0.5749 GB, free: 3.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.6265, allocations: 0.7205 MB / 0.5756 GB, free: 3.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.6266, allocations: 23.42 kB / 0.5756 GB, free: 3.141 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6267, allocations: 0 / 0.5756 GB, free: 3.141 MB / 394.7 MB Notification: Performance of Templates: time 0.007588/0.6343, allocations: 2.717 MB / 0.5782 GB, free: 440 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches