Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 176 kB / 16.76 MB, free: 5.047 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.71/1.71, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.39 kB / 271.3 MB, free: 8.254 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.3807/0.3807, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004104, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1456, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3544/0.5, allocations: 87.62 MB / 0.5655 GB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.5004, allocations: 75.95 kB / 0.5656 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01743/0.5178, allocations: 6.463 MB / 0.5719 GB, free: 7.898 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5179, allocations: 3.938 kB / 0.5719 GB, free: 7.895 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.872e-05/0.5179, allocations: 8.766 kB / 0.5719 GB, free: 7.887 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.001058/0.519, allocations: 0.7028 MB / 0.5726 GB, free: 7.133 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.519, allocations: 8.031 kB / 0.5726 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.5192, allocations: 56.28 kB / 0.5727 GB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008669/0.5201, allocations: 0.492 MB / 0.5732 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.5201, allocations: 8.375 kB / 0.5732 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.5201, allocations: 384 / 0.5732 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.5203, allocations: 91.92 kB / 0.5732 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.5204, allocations: 192 / 0.5732 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.5204, allocations: 3.938 kB / 0.5733 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.5204, allocations: 0 / 0.5733 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.5205, allocations: 39.91 kB / 0.5733 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.521, allocations: 374.3 kB / 0.5736 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.5213, allocations: 113.2 kB / 0.5738 GB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.865e-05/0.5214, allocations: 37.7 kB / 0.5738 GB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.5214, allocations: 3.984 kB / 0.5738 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.5216, allocations: 109.1 kB / 0.5739 GB, free: 5.668 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.5216, allocations: 0 / 0.5739 GB, free: 5.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005159/0.5222, allocations: 204.9 kB / 0.5741 GB, free: 5.461 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.5222, allocations: 81.05 kB / 0.5742 GB, free: 5.363 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.5236, allocations: 0.9793 MB / 0.5751 GB, free: 4.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.5236, allocations: 29.7 kB / 0.5752 GB, free: 4.336 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.5238, allocations: 236.1 kB / 0.5754 GB, free: 4.102 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.5239, allocations: 35.53 kB / 0.5754 GB, free: 4.066 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.5239, allocations: 0.75 kB / 0.5754 GB, free: 4.066 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.524, allocations: 370.8 kB / 0.5758 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.5241, allocations: 27.98 kB / 0.5758 GB, free: 3.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.5242, allocations: 58.42 kB / 0.5759 GB, free: 3.602 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.5244, allocations: 95.34 kB / 0.5759 GB, free: 3.496 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5244, allocations: 0 / 0.5759 GB, free: 3.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003161/0.5248, allocations: 165.5 kB / 0.5761 GB, free: 3.328 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.5248, allocations: 7.938 kB / 0.5761 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5248, allocations: 3.938 kB / 0.5761 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5248, allocations: 4.125 kB / 0.5761 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.5249, allocations: 31.98 kB / 0.5761 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.525, allocations: 4 kB / 0.5761 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.5251, allocations: 15.84 kB / 0.5762 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.5251, allocations: 7.984 kB / 0.5762 GB, free: 3.254 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.000224/0.5253, allocations: 233.5 kB / 0.5764 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.647e-05/0.5254, allocations: 51.38 kB / 0.5764 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003867/0.5258, allocations: 201.4 kB / 0.5766 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5258, allocations: 4 kB / 0.5766 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5258, allocations: 0 / 0.5766 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5258, allocations: 0 / 0.5766 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.5262, allocations: 385.2 kB / 0.577 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5262, allocations: 0 / 0.577 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.5263, allocations: 15.92 kB / 0.577 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.5263, allocations: 3.938 kB / 0.577 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.5263, allocations: 8 kB / 0.577 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.5263, allocations: 0 / 0.577 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5263, allocations: 0 / 0.577 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.5267, allocations: 210.4 kB / 0.5772 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.5269, allocations: 192.3 kB / 0.5774 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.908e-05/0.527, allocations: 11.94 kB / 0.5774 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.746e-05/0.5271, allocations: 8 kB / 0.5774 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.5271, allocations: 15.86 kB / 0.5775 GB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.5272, allocations: 15.98 kB / 0.5775 GB, free: 1.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008947/0.5281, allocations: 0.7253 MB / 0.5782 GB, free: 1.098 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5281, allocations: 0 / 0.5782 GB, free: 1.098 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003175/0.5284, allocations: 79.98 kB / 0.5783 GB, free: 1.02 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.0009563/0.5294, allocations: 416.3 kB / 0.5786 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.5296, allocations: 79.91 kB / 0.5787 GB, free: 0.625 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5296, allocations: 8.125 kB / 0.5787 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.5298, allocations: 47.91 kB / 0.5788 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.5302, allocations: 70.77 kB / 0.5788 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.5318, allocations: 0.9761 MB / 0.5798 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.5322, allocations: 0.8429 MB / 0.5806 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.5324, allocations: 94.94 kB / 0.5807 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.5325, allocations: 39.42 kB / 0.5807 GB, free: 14.5 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5326, allocations: 0 / 0.5807 GB, free: 14.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01033/0.5429, allocations: 4.527 MB / 0.5852 GB, free: 9.988 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches