Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0013/0.0013, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.806/1.806, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.000818/0.0008182, allocations: 88.92 kB / 271.3 MB, free: 8.25 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.4533/0.4533, allocations: 43.56 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003671, allocations: 15.98 kB / 432.6 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3555/0.4908, allocations: 87.77 MB / 0.5657 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.491, allocations: 75.97 kB / 0.5657 GB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01493/0.506, allocations: 5.457 MB / 0.5711 GB, free: 8.594 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.506, allocations: 4 kB / 0.5711 GB, free: 8.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.506, allocations: 8 kB / 0.5711 GB, free: 8.582 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000538/0.5066, allocations: 422 kB / 0.5715 GB, free: 8.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.5066, allocations: 8.031 kB / 0.5715 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.5067, allocations: 17.56 kB / 0.5715 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.507, allocations: 212.8 kB / 0.5717 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.5071, allocations: 4.375 kB / 0.5717 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.5071, allocations: 384 / 0.5717 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.5073, allocations: 58.23 kB / 0.5718 GB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.5073, allocations: 4.188 kB / 0.5718 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.5073, allocations: 7.938 kB / 0.5718 GB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.5073, allocations: 0 / 0.5718 GB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.521e-05/0.5074, allocations: 27.97 kB / 0.5718 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.5078, allocations: 284.9 kB / 0.5721 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.508, allocations: 66.61 kB / 0.5721 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/0.5081, allocations: 24.84 kB / 0.5722 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.5081, allocations: 3.938 kB / 0.5722 GB, free: 7.309 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.5083, allocations: 75.23 kB / 0.5722 GB, free: 7.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.5083, allocations: 0 / 0.5722 GB, free: 7.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006278/0.5089, allocations: 185.9 kB / 0.5724 GB, free: 7.035 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.509, allocations: 51.41 kB / 0.5725 GB, free: 6.973 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.5092, allocations: 197.7 kB / 0.5727 GB, free: 6.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.5093, allocations: 29.69 kB / 0.5727 GB, free: 6.734 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.5093, allocations: 104.1 kB / 0.5728 GB, free: 6.629 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.5094, allocations: 27.64 kB / 0.5728 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.5094, allocations: 0 / 0.5728 GB, free: 6.602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5096, allocations: 326.8 kB / 0.5731 GB, free: 6.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.5096, allocations: 23.98 kB / 0.5731 GB, free: 6.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.5097, allocations: 38.45 kB / 0.5732 GB, free: 6.207 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.5099, allocations: 65.7 kB / 0.5732 GB, free: 6.137 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.5099, allocations: 0 / 0.5732 GB, free: 6.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001851/0.5101, allocations: 97.58 kB / 0.5733 GB, free: 6.035 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.5101, allocations: 4 kB / 0.5733 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.5101, allocations: 4 kB / 0.5733 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.5101, allocations: 4.219 kB / 0.5733 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.221e-05/0.5102, allocations: 23.92 kB / 0.5734 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.5102, allocations: 3.938 kB / 0.5734 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.5103, allocations: 7.984 kB / 0.5734 GB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.5103, allocations: 4 kB / 0.5734 GB, free: 5.984 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001035/0.5104, allocations: 133.3 kB / 0.5735 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.5104, allocations: 15.81 kB / 0.5735 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.5107, allocations: 123 kB / 0.5736 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.5107, allocations: 0 / 0.5736 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5107, allocations: 0 / 0.5736 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5107, allocations: 3.984 kB / 0.5737 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.5112, allocations: 415.2 kB / 0.574 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5112, allocations: 0 / 0.574 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.5113, allocations: 8 kB / 0.5741 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5113, allocations: 0 / 0.5741 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.5113, allocations: 12.39 kB / 0.5741 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5113, allocations: 0 / 0.5741 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.157e-05/0.5113, allocations: 11.88 kB / 0.5741 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.5116, allocations: 208.1 kB / 0.5743 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/0.5117, allocations: 100.9 kB / 0.5744 GB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.5117, allocations: 0 / 0.5744 GB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.5118, allocations: 12 kB / 0.5744 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.5119, allocations: 11.92 kB / 0.5744 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.5119, allocations: 4 kB / 0.5744 GB, free: 4.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001401/0.512, allocations: 152.9 kB / 0.5745 GB, free: 4.691 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.512, allocations: 0 / 0.5745 GB, free: 4.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.5123, allocations: 35.92 kB / 0.5746 GB, free: 4.656 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001048/0.5134, allocations: 474.5 kB / 0.575 GB, free: 4.285 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.5136, allocations: 63.86 kB / 0.5751 GB, free: 4.223 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5136, allocations: 0 / 0.5751 GB, free: 4.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.786e-05/0.5137, allocations: 32.08 kB / 0.5751 GB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.514, allocations: 32.11 kB / 0.5752 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.5145, allocations: 260.5 kB / 0.5754 GB, free: 3.887 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.5148, allocations: 0.7083 MB / 0.5761 GB, free: 3.152 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.49e-05/0.5149, allocations: 12.55 kB / 0.5761 GB, free: 3.141 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.5149, allocations: 15.44 kB / 0.5761 GB, free: 3.129 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5149, allocations: 0 / 0.5761 GB, free: 3.129 MB / 394.7 MB Notification: Performance of Templates: time 0.004776/0.5197, allocations: 1.716 MB / 0.5778 GB, free: 1.422 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches