Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00156/0.00156, allocations: 201.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007464/0.0007464, allocations: 99.47 kB / 299.9 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3537/0.3537, allocations: 45.01 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002851, allocations: 8 kB / 470.8 MB, free: 7.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3403, allocations: 63.1 MB / 0.5214 GB, free: 38.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002126/0.3425, allocations: 1.399 MB / 0.5227 GB, free: 37.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.344, allocations: 1.332 MB / 0.524 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.3441, allocations: 0 / 0.524 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.3445, allocations: 59.92 kB / 0.5241 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.3447, allocations: 88 kB / 0.5242 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.345, allocations: 92.78 kB / 0.5243 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.3451, allocations: 101.4 kB / 0.5244 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.536e-05/0.3452, allocations: 3.297 kB / 0.5244 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.958e-05/0.3453, allocations: 44.45 kB / 0.5244 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/0.3454, allocations: 35.05 kB / 0.5244 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.3454, allocations: 2.781 kB / 0.5245 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.696e-05/0.3455, allocations: 23.16 kB / 0.5245 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.3455, allocations: 29.88 kB / 0.5245 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.93e-05/0.3456, allocations: 65.75 kB / 0.5246 GB, free: 36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.3458, allocations: 122.7 kB / 0.5247 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.3458, allocations: 0 / 0.5247 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3458, allocations: 0 / 0.5247 GB, free: 35.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.3458, allocations: 0 / 0.5247 GB, free: 35.95 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004603/0.3463, allocations: 417.3 kB / 0.5251 GB, free: 35.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3463, allocations: 9.094 kB / 0.5251 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.3464, allocations: 10.72 kB / 0.5251 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.3466, allocations: 226.8 kB / 0.5253 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.3466, allocations: 384 / 0.5253 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.3466, allocations: 6.969 kB / 0.5253 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.3468, allocations: 44.41 kB / 0.5254 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3468, allocations: 0 / 0.5254 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3468, allocations: 0 / 0.5254 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3468, allocations: 6.062 kB / 0.5254 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.481e-05/0.3469, allocations: 14.06 kB / 0.5254 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.347, allocations: 201.1 kB / 0.5256 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.3472, allocations: 54.17 kB / 0.5256 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.3472, allocations: 20.86 kB / 0.5256 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.3473, allocations: 3.281 kB / 0.5256 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.3474, allocations: 63.97 kB / 0.5257 GB, free: 34.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.565e-06/0.3475, allocations: 0 / 0.5257 GB, free: 34.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002466/0.3477, allocations: 106.9 kB / 0.5258 GB, free: 34.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.3477, allocations: 51.41 kB / 0.5259 GB, free: 34.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.348, allocations: 267.6 kB / 0.5261 GB, free: 34.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.517e-06/0.348, allocations: 25.7 kB / 0.5261 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.348, allocations: 116.3 kB / 0.5263 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.3481, allocations: 11.09 kB / 0.5263 GB, free: 34.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.3481, allocations: 2.438 kB / 0.5263 GB, free: 34.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.3481, allocations: 329.9 kB / 0.5266 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.3482, allocations: 10.06 kB / 0.5266 GB, free: 34.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.494e-05/0.3482, allocations: 25.41 kB / 0.5266 GB, free: 34.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.842e-05/0.3483, allocations: 47.61 kB / 0.5267 GB, free: 34.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3483, allocations: 4 kB / 0.5267 GB, free: 34.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001627/0.3485, allocations: 91.58 kB / 0.5268 GB, free: 34.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3485, allocations: 13.19 kB / 0.5268 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3485, allocations: 0 / 0.5268 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3486, allocations: 3.984 kB / 0.5268 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.3486, allocations: 13.75 kB / 0.5268 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3487, allocations: 0 / 0.5268 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.3487, allocations: 6.438 kB / 0.5268 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.3487, allocations: 2.656 kB / 0.5268 GB, free: 34.07 MB / 378.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 (7): * Single equations (assignments): 7 * 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 8.03e-05/0.3488, allocations: 138.4 kB / 0.5269 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.3488, allocations: 19.59 kB / 0.5269 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.3489, allocations: 14.66 kB / 0.527 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3489, allocations: 2.438 kB / 0.527 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3489, allocations: 4 kB / 0.527 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3489, allocations: 3.422 kB / 0.527 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.349, allocations: 203.5 kB / 0.5272 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.349, allocations: 0 / 0.5272 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.349, allocations: 2.562 kB / 0.5272 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3491, allocations: 6.625 kB / 0.5272 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.3491, allocations: 0 / 0.5272 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3491, allocations: 3.938 kB / 0.5272 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3491, allocations: 0 / 0.5272 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.3492, allocations: 113.3 kB / 0.5273 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.3493, allocations: 90.14 kB / 0.5274 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.3493, allocations: 0 / 0.5274 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.3494, allocations: 10.22 kB / 0.5274 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.3494, allocations: 6.406 kB / 0.5274 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.3494, allocations: 2.688 kB / 0.5274 GB, free: 33.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.3495, allocations: 205.8 kB / 0.5276 GB, free: 33.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3496, allocations: 0 / 0.5276 GB, free: 33.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000183/0.3497, allocations: 15.78 kB / 0.5276 GB, free: 33.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008782/0.3506, allocations: 480.2 kB / 0.5281 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.3508, allocations: 37.69 kB / 0.5281 GB, free: 33.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3508, allocations: 7.031 kB / 0.5281 GB, free: 33.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.303e-05/0.3509, allocations: 16.31 kB / 0.5281 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.3511, allocations: 35.17 kB / 0.5281 GB, free: 33.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.3515, allocations: 301.1 kB / 0.5284 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.3517, allocations: 0.7153 MB / 0.5291 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.404e-05/0.3517, allocations: 6.531 kB / 0.5291 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.3518, allocations: 19.17 kB / 0.5292 GB, free: 32.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3518, allocations: 7.938 kB / 0.5292 GB, free: 32.16 MB / 378.7 MB Notification: Performance of Templates: time 0.003525/0.3553, allocations: 1.452 MB / 0.5306 GB, free: 31.98 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches