Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002114/0.002114, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 93.92 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.296/0.296, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.283e-05, allocations: 8.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4204, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.584, allocations: 86.82 MB / 0.5507 GB, free: 12.48 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.5843, allocations: 75.95 kB / 0.5508 GB, free: 12.41 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0283/0.6127, allocations: 6.428 MB / 0.557 GB, free: 5.98 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6127, allocations: 0 / 0.557 GB, free: 5.98 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.229e-05/0.6128, allocations: 12 kB / 0.5571 GB, free: 5.969 MB / 395.1 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.001106/0.6139, allocations: 0.5986 MB / 0.5576 GB, free: 5.324 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.614, allocations: 12.03 kB / 0.5577 GB, free: 5.312 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.6142, allocations: 47.44 kB / 0.5577 GB, free: 5.266 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.6155, allocations: 483.1 kB / 0.5582 GB, free: 4.754 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.6156, allocations: 4 kB / 0.5582 GB, free: 4.75 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.6156, allocations: 4 kB / 0.5582 GB, free: 4.746 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001383/0.6158, allocations: 27.98 kB / 0.5582 GB, free: 4.719 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.616, allocations: 79.31 kB / 0.5583 GB, free: 4.629 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.616, allocations: 7.922 kB / 0.5583 GB, free: 4.621 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.616, allocations: 4 kB / 0.5583 GB, free: 4.617 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.616, allocations: 0 / 0.5583 GB, free: 4.617 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006449/0.6167, allocations: 370.8 kB / 0.5586 GB, free: 4.215 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.6169, allocations: 89.3 kB / 0.5587 GB, free: 4.109 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.661e-05/0.6171, allocations: 37.8 kB / 0.5588 GB, free: 4.066 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.6171, allocations: 0 / 0.5588 GB, free: 4.066 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/0.6174, allocations: 101.1 kB / 0.5588 GB, free: 3.949 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 1.884e-06/0.6174, allocations: 3.938 kB / 0.5589 GB, free: 3.945 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005552/0.6179, allocations: 161 kB / 0.559 GB, free: 3.781 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.618, allocations: 81.11 kB / 0.5591 GB, free: 3.684 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.6202, allocations: 0.9005 MB / 0.56 GB, free: 2.777 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.6203, allocations: 29.7 kB / 0.56 GB, free: 2.742 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.6206, allocations: 250.6 kB / 0.5602 GB, free: 2.496 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.6207, allocations: 23.7 kB / 0.5603 GB, free: 2.473 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-06/0.6207, allocations: 0 / 0.5603 GB, free: 2.473 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6209, allocations: 318.8 kB / 0.5606 GB, free: 2.152 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.35e-05/0.621, allocations: 27.98 kB / 0.5606 GB, free: 2.125 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.6211, allocations: 51.38 kB / 0.5606 GB, free: 2.062 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.6212, allocations: 36.11 kB / 0.5607 GB, free: 2.027 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.6212, allocations: 0 / 0.5607 GB, free: 2.027 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003232/0.6216, allocations: 113.5 kB / 0.5608 GB, free: 1.91 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6216, allocations: 4 kB / 0.5608 GB, free: 1.906 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.6216, allocations: 0 / 0.5608 GB, free: 1.906 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.6217, allocations: 4 kB / 0.5608 GB, free: 1.902 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.6219, allocations: 16 kB / 0.5608 GB, free: 1.887 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.346e-05/0.6219, allocations: 11.92 kB / 0.5608 GB, free: 1.875 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.6222, allocations: 12 kB / 0.5608 GB, free: 1.863 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.6222, allocations: 7.984 kB / 0.5608 GB, free: 1.855 MB / 395.1 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete 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.000137/0.6224, allocations: 120.8 kB / 0.5609 GB, free: 1.73 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.6226, allocations: 51.34 kB / 0.561 GB, free: 1.68 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005983/0.6232, allocations: 185.9 kB / 0.5612 GB, free: 1.488 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6232, allocations: 0 / 0.5612 GB, free: 1.488 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6232, allocations: 4 kB / 0.5612 GB, free: 1.484 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6232, allocations: 0 / 0.5612 GB, free: 1.484 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.6238, allocations: 365.8 kB / 0.5615 GB, free: 1.09 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6239, allocations: 3.938 kB / 0.5615 GB, free: 1.086 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.624, allocations: 15.95 kB / 0.5615 GB, free: 1.07 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.624, allocations: 0 / 0.5615 GB, free: 1.07 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.624, allocations: 3.984 kB / 0.5615 GB, free: 1.066 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.624, allocations: 7.938 kB / 0.5616 GB, free: 1.059 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.624, allocations: 256 / 0.5616 GB, free: 1.059 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.6246, allocations: 230.8 kB / 0.5618 GB, free: 0.8047 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/0.6251, allocations: 188.4 kB / 0.562 GB, free: 0.6016 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.6252, allocations: 4 kB / 0.562 GB, free: 0.5977 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.6254, allocations: 8 kB / 0.562 GB, free: 0.5898 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.6255, allocations: 11.98 kB / 0.562 GB, free: 0.5781 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.6255, allocations: 7.984 kB / 0.562 GB, free: 0.5703 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001516/0.627, allocations: 0.7136 MB / 0.5627 GB, free: 15.86 MB / 411.1 MB Notification: Performance of sort global known variables: time 8.11e-07/0.6271, allocations: 0 / 0.5627 GB, free: 15.86 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0006141/0.6277, allocations: 83.98 kB / 0.5628 GB, free: 15.78 MB / 411.1 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * 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.001101/0.6288, allocations: 346.7 kB / 0.5631 GB, free: 15.48 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003205/0.6292, allocations: 75.86 kB / 0.5632 GB, free: 15.4 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6292, allocations: 0 / 0.5632 GB, free: 15.4 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.6293, allocations: 36.25 kB / 0.5632 GB, free: 15.37 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006946/0.6301, allocations: 81.67 kB / 0.5633 GB, free: 15.29 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.6322, allocations: 0.815 MB / 0.5641 GB, free: 14.44 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006451/0.6329, allocations: 0.8508 MB / 0.5649 GB, free: 13.56 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.6332, allocations: 43.42 kB / 0.5649 GB, free: 13.52 MB / 411.1 MB Notification: Performance of SimCode: time 1.362e-06/0.6332, allocations: 4 kB / 0.5649 GB, free: 13.52 MB / 411.1 MB Notification: Performance of Templates: time 0.01569/0.6489, allocations: 5.577 MB / 0.5704 GB, free: 7.938 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches