Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009867/0.0009866, allocations: 176.9 kB / 16.76 MB, free: 4.93 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.737/1.737, allocations: 205.4 MB / 222.9 MB, free: 8.922 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.0008052/0.0008049, allocations: 91.39 kB / 271.3 MB, free: 8.23 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.3941/0.3941, allocations: 43.57 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.0004589, allocations: 20 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1393, allocations: 58.86 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3877/0.5271, allocations: 87.61 MB / 0.5655 GB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.5274, allocations: 75.97 kB / 0.5656 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01707/0.5445, allocations: 6.468 MB / 0.5719 GB, free: 7.887 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5445, allocations: 3.938 kB / 0.5719 GB, free: 7.883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.29e-05/0.5446, allocations: 4 kB / 0.5719 GB, free: 7.879 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.001117/0.5457, allocations: 0.7028 MB / 0.5726 GB, free: 7.125 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.593e-05/0.5458, allocations: 8.031 kB / 0.5726 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.5459, allocations: 59.19 kB / 0.5727 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009706/0.5469, allocations: 0.492 MB / 0.5732 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.547, allocations: 4.359 kB / 0.5732 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.547, allocations: 8.359 kB / 0.5732 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.5472, allocations: 79.94 kB / 0.5732 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5473, allocations: 192 / 0.5732 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.5473, allocations: 11.92 kB / 0.5733 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.5473, allocations: 0 / 0.5733 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.5474, allocations: 35.92 kB / 0.5733 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005898/0.548, allocations: 386.3 kB / 0.5737 GB, free: 5.953 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.5483, allocations: 105.2 kB / 0.5738 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.5484, allocations: 41.7 kB / 0.5738 GB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.5485, allocations: 4 kB / 0.5738 GB, free: 5.781 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.5488, allocations: 109.1 kB / 0.5739 GB, free: 5.656 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.5488, allocations: 0 / 0.5739 GB, free: 5.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006012/0.5494, allocations: 208.9 kB / 0.5741 GB, free: 5.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.5495, allocations: 81.05 kB / 0.5742 GB, free: 5.348 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.5509, allocations: 0.9832 MB / 0.5751 GB, free: 4.352 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.5509, allocations: 25.7 kB / 0.5752 GB, free: 4.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.5511, allocations: 228.1 kB / 0.5754 GB, free: 4.094 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.5512, allocations: 31.55 kB / 0.5754 GB, free: 4.062 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.087e-05/0.5512, allocations: 8 kB / 0.5754 GB, free: 4.055 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.5514, allocations: 366.8 kB / 0.5758 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.5515, allocations: 31.97 kB / 0.5758 GB, free: 3.656 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.078e-05/0.5516, allocations: 55.42 kB / 0.5759 GB, free: 3.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.5518, allocations: 96.38 kB / 0.5759 GB, free: 3.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5518, allocations: 0 / 0.5759 GB, free: 3.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003377/0.5521, allocations: 169 kB / 0.5761 GB, free: 3.312 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.5522, allocations: 11.94 kB / 0.5761 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5522, allocations: 0 / 0.5761 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5522, allocations: 0 / 0.5761 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.5523, allocations: 28.55 kB / 0.5761 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5523, allocations: 0 / 0.5761 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.5525, allocations: 15.91 kB / 0.5762 GB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.5525, allocations: 12 kB / 0.5762 GB, free: 3.246 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.0002403/0.5527, allocations: 221.6 kB / 0.5764 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.5528, allocations: 67.25 kB / 0.5764 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.5532, allocations: 197.4 kB / 0.5766 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/0.5533, allocations: 0 / 0.5766 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.5533, allocations: 4 kB / 0.5766 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.5533, allocations: 3.984 kB / 0.5766 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/0.5537, allocations: 381.3 kB / 0.577 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5537, allocations: 0 / 0.577 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.828e-05/0.5538, allocations: 15.92 kB / 0.577 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.5538, allocations: 7.938 kB / 0.577 GB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.5538, allocations: 0 / 0.577 GB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.5538, allocations: 4 kB / 0.577 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5538, allocations: 0 / 0.577 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.5542, allocations: 213.4 kB / 0.5772 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.5544, allocations: 196.3 kB / 0.5774 GB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.5545, allocations: 7.938 kB / 0.5774 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.5546, allocations: 4 kB / 0.5774 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.5546, allocations: 19.92 kB / 0.5775 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.5546, allocations: 7.938 kB / 0.5775 GB, free: 1.816 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008838/0.5555, allocations: 0.7291 MB / 0.5782 GB, free: 1.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5555, allocations: 0 / 0.5782 GB, free: 1.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.5559, allocations: 84 kB / 0.5783 GB, free: 1.008 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.0009947/0.5569, allocations: 423.6 kB / 0.5787 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.5572, allocations: 83.91 kB / 0.5787 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5572, allocations: 0 / 0.5787 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.5573, allocations: 51.91 kB / 0.5788 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.5578, allocations: 58.95 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.001524/0.5593, allocations: 0.9834 MB / 0.5798 GB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.5598, allocations: 0.8468 MB / 0.5806 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.56, allocations: 79.45 kB / 0.5807 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.5601, allocations: 43.42 kB / 0.5807 GB, free: 14.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5602, allocations: 0 / 0.5807 GB, free: 14.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01035/0.5705, allocations: 4.531 MB / 0.5852 GB, free: 9.984 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches