Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008638/0.0008638, allocations: 171 kB / 16.76 MB, free: 4.934 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.752/1.752, allocations: 205.4 MB / 222.9 MB, free: 8.918 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.0007683/0.0007683, allocations: 82.42 kB / 271.3 MB, free: 8.238 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.4446/0.4446, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004982, allocations: 16 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1651, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3576/0.5227, allocations: 87.76 MB / 0.5657 GB, free: 14.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.5231, allocations: 75.97 kB / 0.5657 GB, free: 14.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01522/0.5383, allocations: 5.511 MB / 0.5711 GB, free: 8.691 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5384, allocations: 0 / 0.5711 GB, free: 8.691 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.5384, allocations: 0 / 0.5711 GB, free: 8.691 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.0006046/0.539, allocations: 433.9 kB / 0.5715 GB, free: 8.219 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.5391, allocations: 12.03 kB / 0.5715 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.5391, allocations: 16.75 kB / 0.5716 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.5395, allocations: 220.4 kB / 0.5718 GB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.5395, allocations: 4.375 kB / 0.5718 GB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.5395, allocations: 384 / 0.5718 GB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.5397, allocations: 58.22 kB / 0.5718 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.5397, allocations: 4.188 kB / 0.5718 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.5397, allocations: 7.875 kB / 0.5718 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5397, allocations: 0 / 0.5718 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.236e-05/0.5398, allocations: 20.86 kB / 0.5719 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.5403, allocations: 304.9 kB / 0.5722 GB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.5405, allocations: 58.62 kB / 0.5722 GB, free: 7.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.099e-05/0.5406, allocations: 24.78 kB / 0.5722 GB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.5406, allocations: 0 / 0.5722 GB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.5408, allocations: 75.39 kB / 0.5723 GB, free: 7.316 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.5408, allocations: 0 / 0.5723 GB, free: 7.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006239/0.5414, allocations: 181.2 kB / 0.5725 GB, free: 7.133 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.5414, allocations: 55.39 kB / 0.5725 GB, free: 7.066 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.5417, allocations: 204.6 kB / 0.5727 GB, free: 6.859 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.5417, allocations: 33.7 kB / 0.5728 GB, free: 6.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.5418, allocations: 112 kB / 0.5729 GB, free: 6.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.5418, allocations: 23.7 kB / 0.5729 GB, free: 6.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/0.5418, allocations: 4 kB / 0.5729 GB, free: 6.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.542, allocations: 326.8 kB / 0.5732 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.5421, allocations: 23.98 kB / 0.5732 GB, free: 6.328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.002e-05/0.5421, allocations: 33.7 kB / 0.5733 GB, free: 6.289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.5423, allocations: 73.62 kB / 0.5733 GB, free: 6.211 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5423, allocations: 0 / 0.5733 GB, free: 6.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002005/0.5425, allocations: 97.53 kB / 0.5734 GB, free: 6.109 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.5425, allocations: 4 kB / 0.5734 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5425, allocations: 0 / 0.5734 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.5425, allocations: 0 / 0.5734 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.935e-05/0.5426, allocations: 20.73 kB / 0.5734 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.5427, allocations: 0 / 0.5734 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.271e-05/0.5427, allocations: 8 kB / 0.5735 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.5427, allocations: 0 / 0.5735 GB, free: 6.078 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.0001064/0.5428, allocations: 136.6 kB / 0.5736 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.5429, allocations: 19.81 kB / 0.5736 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.5432, allocations: 123.1 kB / 0.5737 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5432, allocations: 3.984 kB / 0.5737 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5432, allocations: 0 / 0.5737 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5432, allocations: 3.984 kB / 0.5737 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.5437, allocations: 419.2 kB / 0.5741 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5437, allocations: 0 / 0.5741 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.5438, allocations: 19.92 kB / 0.5741 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.5438, allocations: 0 / 0.5741 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.5438, allocations: 3.938 kB / 0.5741 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.5438, allocations: 4 kB / 0.5742 GB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5438, allocations: 3.938 kB / 0.5742 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.5441, allocations: 220.2 kB / 0.5744 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.5442, allocations: 89.02 kB / 0.5744 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.5442, allocations: 0 / 0.5744 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.5443, allocations: 11.98 kB / 0.5745 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.5443, allocations: 7.938 kB / 0.5745 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.5443, allocations: 384 / 0.5745 GB, free: 4.926 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.5445, allocations: 164.2 kB / 0.5746 GB, free: 4.766 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5445, allocations: 0 / 0.5746 GB, free: 4.766 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.5448, allocations: 39.94 kB / 0.5747 GB, free: 4.727 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.001169/0.546, allocations: 483.1 kB / 0.5751 GB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.5462, allocations: 63.91 kB / 0.5752 GB, free: 4.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5462, allocations: 0 / 0.5752 GB, free: 4.289 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.083e-05/0.5463, allocations: 35.92 kB / 0.5752 GB, free: 4.254 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.5467, allocations: 27.97 kB / 0.5752 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.5472, allocations: 273.7 kB / 0.5755 GB, free: 3.934 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.5476, allocations: 0.7043 MB / 0.5762 GB, free: 3.203 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.348e-05/0.5476, allocations: 14.03 kB / 0.5762 GB, free: 3.191 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.5477, allocations: 19.44 kB / 0.5762 GB, free: 3.172 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5477, allocations: 8 kB / 0.5762 GB, free: 3.164 MB / 394.7 MB Notification: Performance of Templates: time 0.004755/0.5525, allocations: 1.742 MB / 0.5779 GB, free: 1.43 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches