Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,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.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,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.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009822/0.0009822, allocations: 182.1 kB / 17.41 MB, free: 4.406 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.481/1.481, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0007767/0.0007766, allocations: 79.41 kB / 271.9 MB, free: 8.246 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.41/0.41, allocations: 43.56 MB / 363.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000351, allocations: 12 kB / 432.6 MB, free: 5.629 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.133, allocations: 58.84 MB / 491.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3592/0.4922, allocations: 87.63 MB / 0.5655 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.4924, allocations: 71.97 kB / 0.5656 GB, free: 14.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01591/0.5084, allocations: 6.471 MB / 0.5719 GB, free: 8.141 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5084, allocations: 0 / 0.5719 GB, free: 8.141 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.32e-05/0.5084, allocations: 4 kB / 0.5719 GB, free: 8.137 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.0009981/0.5094, allocations: 0.6995 MB / 0.5726 GB, free: 7.387 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.5095, allocations: 12.03 kB / 0.5726 GB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.363e-05/0.5096, allocations: 52.28 kB / 0.5726 GB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007392/0.5103, allocations: 0.4998 MB / 0.5731 GB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.5104, allocations: 384 / 0.5731 GB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.5104, allocations: 4.375 kB / 0.5731 GB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.5106, allocations: 86.64 kB / 0.5732 GB, free: 6.688 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.5106, allocations: 4.188 kB / 0.5732 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.5106, allocations: 3.938 kB / 0.5732 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.5106, allocations: 4 kB / 0.5732 GB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.5108, allocations: 35.91 kB / 0.5733 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.5112, allocations: 374.3 kB / 0.5736 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.5115, allocations: 121.1 kB / 0.5737 GB, free: 6.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.221e-05/0.5116, allocations: 37.7 kB / 0.5738 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.5116, allocations: 4 kB / 0.5738 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.5118, allocations: 105.1 kB / 0.5739 GB, free: 5.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.304e-06/0.5118, allocations: 4 kB / 0.5739 GB, free: 5.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004897/0.5123, allocations: 200.9 kB / 0.5741 GB, free: 5.711 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.5124, allocations: 89.03 kB / 0.5742 GB, free: 5.605 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.5137, allocations: 0.9754 MB / 0.5751 GB, free: 4.617 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.5137, allocations: 33.7 kB / 0.5751 GB, free: 4.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.5139, allocations: 228.1 kB / 0.5754 GB, free: 4.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.514, allocations: 35.55 kB / 0.5754 GB, free: 4.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-06/0.514, allocations: 0 / 0.5754 GB, free: 4.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.5142, allocations: 370.8 kB / 0.5757 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/0.5143, allocations: 27.98 kB / 0.5758 GB, free: 3.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.599e-05/0.5144, allocations: 59.41 kB / 0.5758 GB, free: 3.848 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.5146, allocations: 95.34 kB / 0.5759 GB, free: 3.742 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5146, allocations: 0 / 0.5759 GB, free: 3.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003008/0.5149, allocations: 162.4 kB / 0.5761 GB, free: 3.578 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.5149, allocations: 11.92 kB / 0.5761 GB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.5149, allocations: 4.125 kB / 0.5761 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.515, allocations: 4 kB / 0.5761 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.5151, allocations: 27.94 kB / 0.5761 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.5151, allocations: 12.03 kB / 0.5761 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.5152, allocations: 15.84 kB / 0.5761 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.5152, allocations: 4 kB / 0.5761 GB, free: 3.5 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.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 () * 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.0002264/0.5155, allocations: 225.6 kB / 0.5764 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/0.5155, allocations: 59.25 kB / 0.5764 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/0.5159, allocations: 197.4 kB / 0.5766 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.516, allocations: 4 kB / 0.5766 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.516, allocations: 0 / 0.5766 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.516, allocations: 4 kB / 0.5766 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.5163, allocations: 385.2 kB / 0.577 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5163, allocations: 0 / 0.577 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.5164, allocations: 11.94 kB / 0.577 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.5164, allocations: 7.938 kB / 0.577 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.5164, allocations: 4 kB / 0.577 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5164, allocations: 0 / 0.577 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5164, allocations: 7.984 kB / 0.577 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.5168, allocations: 206.5 kB / 0.5772 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.517, allocations: 192.3 kB / 0.5774 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.857e-05/0.5171, allocations: 11.94 kB / 0.5774 GB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.5172, allocations: 7.984 kB / 0.5774 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.5173, allocations: 11.92 kB / 0.5774 GB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.5173, allocations: 12.06 kB / 0.5774 GB, free: 2.074 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008872/0.5182, allocations: 0.737 MB / 0.5782 GB, free: 1.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5182, allocations: 0 / 0.5782 GB, free: 1.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003156/0.5185, allocations: 76 kB / 0.5782 GB, free: 1.266 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,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) * 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.0009645/0.5195, allocations: 416.4 kB / 0.5786 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.5198, allocations: 87.89 kB / 0.5787 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5198, allocations: 0 / 0.5787 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.5199, allocations: 52.05 kB / 0.5788 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.5204, allocations: 63.33 kB / 0.5788 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.5218, allocations: 1.026 MB / 0.5798 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.5222, allocations: 0.8429 MB / 0.5806 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.5223, allocations: 39.44 kB / 0.5807 GB, free: 14.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5224, allocations: 0 / 0.5807 GB, free: 14.8 MB / 410.7 MB Notification: Performance of Templates: time 0.00828/0.5306, allocations: 5.537 MB / 0.5861 GB, free: 9.262 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches