Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001227/0.001227, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2263/0.2263, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 83.86 kB / 481.5 MB, free: 3.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3396, allocations: 62.45 MB / 0.5312 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003603/0.3433, allocations: 1.828 MB / 0.5329 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002796/0.3461, allocations: 1.692 MB / 0.5346 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.3462, allocations: 2.25 kB / 0.5346 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.3466, allocations: 57.83 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004122/0.347, allocations: 133.5 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.3473, allocations: 109.3 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.3476, allocations: 203.6 kB / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.516e-05/0.3476, allocations: 9.938 kB / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.3478, allocations: 84.62 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.348, allocations: 84.48 kB / 0.5352 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.3481, allocations: 8.25 kB / 0.5352 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.3483, allocations: 119.1 kB / 0.5354 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.486e-05/0.3484, allocations: 32.09 kB / 0.5354 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.072e-05/0.3485, allocations: 70.66 kB / 0.5355 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.3489, allocations: 227.1 kB / 0.5357 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3489, allocations: 0 / 0.5357 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3489, allocations: 0 / 0.5357 GB, free: 10.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.3489, allocations: 1.094 kB / 0.5357 GB, free: 10.05 MB / 398.1 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.0007948/0.3497, allocations: 0.4981 MB / 0.5362 GB, free: 9.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3497, allocations: 8.812 kB / 0.5362 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.581e-05/0.3498, allocations: 17.66 kB / 0.5362 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.3502, allocations: 262 kB / 0.5364 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.3503, allocations: 6.422 kB / 0.5364 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.3503, allocations: 11.3 kB / 0.5365 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.3505, allocations: 95.72 kB / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3506, allocations: 0 / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3506, allocations: 1.031 kB / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3506, allocations: 1.156 kB / 0.5366 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.3507, allocations: 40.19 kB / 0.5366 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.351, allocations: 218 kB / 0.5368 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.3513, allocations: 101.4 kB / 0.5369 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.3514, allocations: 45.02 kB / 0.5369 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3515, allocations: 2.719 kB / 0.5369 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.3517, allocations: 111.6 kB / 0.537 GB, free: 8.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3517, allocations: 0 / 0.537 GB, free: 8.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004997/0.3522, allocations: 171.9 kB / 0.5372 GB, free: 8.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.3524, allocations: 139 kB / 0.5373 GB, free: 8.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.3527, allocations: 246.2 kB / 0.5376 GB, free: 8.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.3528, allocations: 32.11 kB / 0.5376 GB, free: 8.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.3529, allocations: 115.3 kB / 0.5377 GB, free: 8.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.436e-05/0.353, allocations: 28.7 kB / 0.5377 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.353, allocations: 27.09 kB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3532, allocations: 335.6 kB / 0.5381 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.3533, allocations: 27.02 kB / 0.5381 GB, free: 7.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.3534, allocations: 70.27 kB / 0.5382 GB, free: 7.656 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.3536, allocations: 94.06 kB / 0.5383 GB, free: 7.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3537, allocations: 1.156 kB / 0.5383 GB, free: 7.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003034/0.354, allocations: 133.1 kB / 0.5384 GB, free: 7.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.354, allocations: 5.188 kB / 0.5384 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.354, allocations: 1.156 kB / 0.5384 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.354, allocations: 1.344 kB / 0.5384 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.3542, allocations: 27.08 kB / 0.5384 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3542, allocations: 5.062 kB / 0.5384 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.843e-05/0.3543, allocations: 20.88 kB / 0.5385 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3543, allocations: 4.906 kB / 0.5385 GB, free: 7.48 MB / 398.1 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 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.3544, allocations: 136.3 kB / 0.5386 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.3545, allocations: 25.27 kB / 0.5386 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.3545, allocations: 23.39 kB / 0.5386 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3545, allocations: 1.25 kB / 0.5386 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3545, allocations: 1.312 kB / 0.5386 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3546, allocations: 3.984 kB / 0.5386 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.3548, allocations: 232.2 kB / 0.5389 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3548, allocations: 0 / 0.5389 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.3548, allocations: 6.562 kB / 0.5389 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3549, allocations: 1.25 kB / 0.5389 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.3549, allocations: 6.797 kB / 0.5389 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3549, allocations: 0 / 0.5389 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3549, allocations: 1.25 kB / 0.5389 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.3552, allocations: 174.8 kB / 0.5391 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.3553, allocations: 90.7 kB / 0.5391 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.3554, allocations: 9.391 kB / 0.5391 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.3554, allocations: 3.531 kB / 0.5391 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.3555, allocations: 8.516 kB / 0.5392 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.3555, allocations: 16.47 kB / 0.5392 GB, free: 6.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.3557, allocations: 175.2 kB / 0.5393 GB, free: 6.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3557, allocations: 0 / 0.5393 GB, free: 6.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.356, allocations: 57.55 kB / 0.5394 GB, free: 6.66 MB / 398.1 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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 (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.001843/0.3579, allocations: 0.496 MB / 0.5399 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.3582, allocations: 79.69 kB / 0.54 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3582, allocations: 0 / 0.54 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.3583, allocations: 47.78 kB / 0.54 GB, free: 6.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.3587, allocations: 59.25 kB / 0.5401 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006372/0.3594, allocations: 281.4 kB / 0.5403 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.3598, allocations: 0.7197 MB / 0.541 GB, free: 5.375 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.3599, allocations: 26.59 kB / 0.5411 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.976e-05/0.36, allocations: 38.47 kB / 0.5411 GB, free: 5.344 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.36, allocations: 0 / 0.5411 GB, free: 5.344 MB / 398.1 MB Notification: Performance of Templates: time 0.007723/0.3677, allocations: 3.12 MB / 0.5441 GB, free: 3.762 MB / 398.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches