Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 103.1 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3612/0.3612, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 71.88 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3434, allocations: 62.02 MB / 0.5152 GB, free: 37.72 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002519/0.346, allocations: 1.675 MB / 0.5168 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007465/0.3467, allocations: 0.5235 MB / 0.5173 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.3468, allocations: 3.938 kB / 0.5173 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.3471, allocations: 132.2 kB / 0.5174 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.3473, allocations: 106.5 kB / 0.5175 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.3475, allocations: 78.94 kB / 0.5176 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.3476, allocations: 90.59 kB / 0.5177 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.3477, allocations: 19.22 kB / 0.5177 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.039e-05/0.3478, allocations: 43.11 kB / 0.5178 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.871e-05/0.3479, allocations: 82.39 kB / 0.5178 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.3479, allocations: 0 / 0.5178 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-05/0.348, allocations: 48.14 kB / 0.5179 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.348, allocations: 22.7 kB / 0.5179 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.3481, allocations: 46.39 kB / 0.5179 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.3482, allocations: 109.3 kB / 0.518 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3482, allocations: 2.562 kB / 0.518 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.3482, allocations: 4 kB / 0.5181 GB, free: 35.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.3483, allocations: 0 / 0.5181 GB, free: 35.93 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003821/0.3486, allocations: 437.3 kB / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.3487, allocations: 8.719 kB / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3487, allocations: 14.53 kB / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.3489, allocations: 213.3 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.3489, allocations: 384 / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3489, allocations: 2.906 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.349, allocations: 58.23 kB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3491, allocations: 4 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.3491, allocations: 0 / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3491, allocations: 7.422 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.082e-05/0.3492, allocations: 24.89 kB / 0.5188 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.3495, allocations: 311.7 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.38e-05/0.3496, allocations: 45.58 kB / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.3496, allocations: 13.83 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.3496, allocations: 6.688 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.3496, allocations: 34.56 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3497, allocations: 0 / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007347/0.3504, allocations: 219.9 kB / 0.5194 GB, free: 34.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.3504, allocations: 58.19 kB / 0.5194 GB, free: 34.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.3506, allocations: 284.9 kB / 0.5197 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.3507, allocations: 28.55 kB / 0.5197 GB, free: 34.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.3507, allocations: 113.4 kB / 0.5199 GB, free: 34.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.3507, allocations: 22.75 kB / 0.5199 GB, free: 34.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.3508, allocations: 26.84 kB / 0.5199 GB, free: 34.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.036e-05/0.3508, allocations: 331.9 kB / 0.5202 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.589e-05/0.3509, allocations: 25.45 kB / 0.5202 GB, free: 34.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.687e-05/0.351, allocations: 25.94 kB / 0.5203 GB, free: 34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.3511, allocations: 60.5 kB / 0.5203 GB, free: 33.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3511, allocations: 0 / 0.5203 GB, free: 33.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001667/0.3513, allocations: 110.5 kB / 0.5204 GB, free: 33.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.3513, allocations: 5.531 kB / 0.5204 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3513, allocations: 0 / 0.5204 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3513, allocations: 2.688 kB / 0.5204 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.3514, allocations: 21.2 kB / 0.5205 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3514, allocations: 4 kB / 0.5205 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.866e-05/0.3515, allocations: 10.88 kB / 0.5205 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3515, allocations: 0 / 0.5205 GB, free: 33.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.827e-05/0.3515, allocations: 138.9 kB / 0.5206 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.3516, allocations: 16.94 kB / 0.5206 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.3518, allocations: 115.5 kB / 0.5207 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3518, allocations: 3 kB / 0.5207 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3518, allocations: 0 / 0.5207 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3518, allocations: 3.938 kB / 0.5207 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.3522, allocations: 420 kB / 0.5211 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.3522, allocations: 0 / 0.5211 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.717e-05/0.3523, allocations: 21.58 kB / 0.5212 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3523, allocations: 3.938 kB / 0.5212 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3523, allocations: 6.875 kB / 0.5212 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3523, allocations: 0 / 0.5212 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3523, allocations: 0 / 0.5212 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.3527, allocations: 0.8035 MB / 0.522 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.3527, allocations: 91.58 kB / 0.522 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.3528, allocations: 3.094 kB / 0.522 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.3528, allocations: 2.938 kB / 0.522 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.3529, allocations: 14.66 kB / 0.5221 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.3529, allocations: 2.906 kB / 0.5221 GB, free: 32.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.353, allocations: 210.7 kB / 0.5223 GB, free: 32.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.353, allocations: 0 / 0.5223 GB, free: 32.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003255/0.3534, allocations: 28.98 kB / 0.5223 GB, free: 32.34 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008708/0.3542, allocations: 450.3 kB / 0.5227 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.3544, allocations: 63.64 kB / 0.5228 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3544, allocations: 0 / 0.5228 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.308e-05/0.3545, allocations: 41.42 kB / 0.5228 GB, free: 32.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.3548, allocations: 30.12 kB / 0.5229 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.3553, allocations: 455.5 kB / 0.5233 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.3555, allocations: 0.7257 MB / 0.524 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.3555, allocations: 10.42 kB / 0.524 GB, free: 31.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.3555, allocations: 20.64 kB / 0.524 GB, free: 31 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3555, allocations: 0 / 0.524 GB, free: 31 MB / 378.7 MB Notification: Performance of Templates: time 0.003402/0.359, allocations: 1.338 MB / 0.5253 GB, free: 30.83 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches