Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000973/0.0009731, allocations: 193.9 kB / 16.09 MB, free: 5.547 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 226.5 MB / 243.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008514/0.0008516, allocations: 101.1 kB / 295.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.368/0.368, allocations: 44.83 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002695, allocations: 12 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3322, allocations: 62.96 MB / 0.5159 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.001887/0.3341, allocations: 1.513 MB / 0.5174 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.3355, allocations: 1.039 MB / 0.5184 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.11e-05/0.3356, allocations: 0 / 0.5184 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005289/0.3362, allocations: 298.1 kB / 0.5187 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004182/0.3366, allocations: 222.2 kB / 0.5189 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.337, allocations: 148.7 kB / 0.519 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.3373, allocations: 214.3 kB / 0.5192 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.621e-05/0.3374, allocations: 22.53 kB / 0.5192 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.3375, allocations: 117.5 kB / 0.5194 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.3377, allocations: 158.8 kB / 0.5195 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.3377, allocations: 3.031 kB / 0.5195 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3379, allocations: 36.83 kB / 0.5195 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.338, allocations: 140 kB / 0.5197 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.3381, allocations: 158.2 kB / 0.5198 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.3384, allocations: 277.3 kB / 0.5201 GB, free: 34.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3384, allocations: 0 / 0.5201 GB, free: 34.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3384, allocations: 0 / 0.5201 GB, free: 34.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3384, allocations: 0 / 0.5201 GB, free: 34.82 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007858/0.3392, allocations: 0.6688 MB / 0.5207 GB, free: 34.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3393, allocations: 11.59 kB / 0.5208 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.54e-05/0.3394, allocations: 45.03 kB / 0.5208 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.3399, allocations: 446.6 kB / 0.5212 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.3399, allocations: 18.44 kB / 0.5212 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.3399, allocations: 7.031 kB / 0.5212 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.3401, allocations: 85.3 kB / 0.5213 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3401, allocations: 0 / 0.5213 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3401, allocations: 0 / 0.5213 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.3402, allocations: 2.906 kB / 0.5213 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.776e-05/0.3403, allocations: 32.2 kB / 0.5214 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.3406, allocations: 372.1 kB / 0.5217 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.3408, allocations: 109.2 kB / 0.5218 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.856e-05/0.3409, allocations: 48.06 kB / 0.5219 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.3409, allocations: 6.828 kB / 0.5219 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.3411, allocations: 115.4 kB / 0.522 GB, free: 33.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.3411, allocations: 0 / 0.522 GB, free: 33.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004027/0.3415, allocations: 188.5 kB / 0.5222 GB, free: 33.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.3416, allocations: 87.95 kB / 0.5222 GB, free: 33.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008382/0.3424, allocations: 1.023 MB / 0.5232 GB, free: 32.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.3425, allocations: 32.36 kB / 0.5233 GB, free: 32.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.3426, allocations: 234.6 kB / 0.5235 GB, free: 32.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.3426, allocations: 28.33 kB / 0.5235 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.3426, allocations: 0 / 0.5235 GB, free: 32.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.3427, allocations: 371.3 kB / 0.5239 GB, free: 32.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-05/0.3428, allocations: 27.58 kB / 0.5239 GB, free: 32.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.3429, allocations: 48.44 kB / 0.524 GB, free: 32.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.343, allocations: 93.98 kB / 0.524 GB, free: 32.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.343, allocations: 0 / 0.524 GB, free: 32.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002334/0.3433, allocations: 174.5 kB / 0.5242 GB, free: 32.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3433, allocations: 6.25 kB / 0.5242 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3433, allocations: 0 / 0.5242 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3433, allocations: 8.031 kB / 0.5242 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3434, allocations: 22.25 kB / 0.5242 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3434, allocations: 6.547 kB / 0.5243 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.123e-05/0.3435, allocations: 16.52 kB / 0.5243 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3436, allocations: 5.375 kB / 0.5243 GB, free: 32.02 MB / 378.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.0001565/0.3437, allocations: 223.7 kB / 0.5245 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.3438, allocations: 49 kB / 0.5245 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.494e-05/0.3439, allocations: 61.94 kB / 0.5246 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3439, allocations: 4 kB / 0.5246 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3439, allocations: 0 / 0.5246 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3439, allocations: 2.656 kB / 0.5246 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.3441, allocations: 345.5 kB / 0.5249 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3441, allocations: 0 / 0.5249 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.3441, allocations: 9.688 kB / 0.5249 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3442, allocations: 2.688 kB / 0.5249 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3442, allocations: 6.688 kB / 0.5249 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3442, allocations: 0 / 0.5249 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3442, allocations: 3.938 kB / 0.5249 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.3444, allocations: 210.1 kB / 0.5252 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.3446, allocations: 145.5 kB / 0.5253 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.3446, allocations: 5.938 kB / 0.5253 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.3447, allocations: 9.125 kB / 0.5253 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.3447, allocations: 10.09 kB / 0.5253 GB, free: 31.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.3448, allocations: 8.844 kB / 0.5253 GB, free: 31.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005857/0.3454, allocations: 0.7627 MB / 0.5261 GB, free: 31.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3454, allocations: 0 / 0.5261 GB, free: 31.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002392/0.3456, allocations: 45.78 kB / 0.5261 GB, free: 31.02 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0007959/0.3464, allocations: 406.4 kB / 0.5265 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.3466, allocations: 80.73 kB / 0.5266 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3466, allocations: 0 / 0.5266 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.686e-05/0.3467, allocations: 41.47 kB / 0.5266 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.3471, allocations: 66.16 kB / 0.5267 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.3481, allocations: 0.9563 MB / 0.5276 GB, free: 30.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.3484, allocations: 0.8357 MB / 0.5284 GB, free: 29.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.3485, allocations: 34.3 kB / 0.5285 GB, free: 29.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3485, allocations: 0 / 0.5285 GB, free: 29.55 MB / 378.7 MB Notification: Performance of Templates: time 0.007287/0.3558, allocations: 4.975 MB / 0.5333 GB, free: 28.86 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches