Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001382, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.2 MB / 250.8 MB, free: 8.82 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.2377/0.2377, allocations: 46.88 MB / 351.8 MB, free: 7.324 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.002289/0.002289, allocations: 83.86 kB / 496.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.356, allocations: 65.97 MB / 0.5494 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003377/0.3594, allocations: 1.739 MB / 0.5511 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.3612, allocations: 1.037 MB / 0.5521 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.3613, allocations: 0 / 0.5521 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.3616, allocations: 43.77 kB / 0.5521 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.3619, allocations: 91.59 kB / 0.5522 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.3621, allocations: 83.66 kB / 0.5523 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.3623, allocations: 99.64 kB / 0.5524 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3624, allocations: 11.98 kB / 0.5524 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.709e-05/0.3625, allocations: 47.78 kB / 0.5524 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.169e-05/0.3626, allocations: 31.84 kB / 0.5525 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3626, allocations: 4 kB / 0.5525 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.355e-05/0.3627, allocations: 39.98 kB / 0.5525 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.3627, allocations: 23.91 kB / 0.5525 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.3628, allocations: 35.75 kB / 0.5526 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.363, allocations: 123.9 kB / 0.5527 GB, free: 2.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.363, allocations: 4 kB / 0.5527 GB, free: 2.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.363, allocations: 0 / 0.5527 GB, free: 2.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.363, allocations: 0 / 0.5527 GB, free: 2.039 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005905/0.3636, allocations: 422.7 kB / 0.5531 GB, free: 1.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3637, allocations: 12.03 kB / 0.5531 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.3637, allocations: 12.88 kB / 0.5531 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.3641, allocations: 216.8 kB / 0.5533 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.3641, allocations: 4.359 kB / 0.5533 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.3642, allocations: 12.12 kB / 0.5533 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.3643, allocations: 57.61 kB / 0.5534 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3643, allocations: 0 / 0.5534 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3643, allocations: 0 / 0.5534 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3644, allocations: 4 kB / 0.5534 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.676e-05/0.3644, allocations: 19.98 kB / 0.5534 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.3648, allocations: 284.9 kB / 0.5537 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.365, allocations: 58.61 kB / 0.5537 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.288e-05/0.3651, allocations: 16.86 kB / 0.5538 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.3651, allocations: 4 kB / 0.5538 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.3652, allocations: 71.33 kB / 0.5538 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3652, allocations: 0 / 0.5538 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000544/0.3658, allocations: 181.3 kB / 0.554 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3658, allocations: 51.41 kB / 0.5541 GB, free: 468 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.366, allocations: 198.4 kB / 0.5542 GB, free: 260 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.366, allocations: 29.7 kB / 0.5543 GB, free: 224 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.3661, allocations: 100.1 kB / 0.5544 GB, free: 120 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3662, allocations: 31.77 kB / 0.5544 GB, free: 88 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.3662, allocations: 25.72 kB / 0.5544 GB, free: 56 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3664, allocations: 330.7 kB / 0.5547 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.117e-05/0.3664, allocations: 23.98 kB / 0.5548 GB, free: 15.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.3665, allocations: 37.64 kB / 0.5548 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.3666, allocations: 57.78 kB / 0.5549 GB, free: 15.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3666, allocations: 0 / 0.5549 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/0.3668, allocations: 109.5 kB / 0.555 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3668, allocations: 4 kB / 0.555 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3668, allocations: 0 / 0.555 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3669, allocations: 4 kB / 0.555 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-05/0.3669, allocations: 15.98 kB / 0.555 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3669, allocations: 0 / 0.555 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.367, allocations: 11.97 kB / 0.555 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.367, allocations: 0 / 0.555 GB, free: 15.45 MB / 414.1 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 ($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 (10): * Single equations (assignments): 10 * 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.0001158/0.3671, allocations: 137.7 kB / 0.5551 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.3671, allocations: 11.91 kB / 0.5551 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.3674, allocations: 115.4 kB / 0.5552 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3674, allocations: 4 kB / 0.5552 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3674, allocations: 0 / 0.5552 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3674, allocations: 3.938 kB / 0.5553 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.3679, allocations: 395.3 kB / 0.5556 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3679, allocations: 0 / 0.5556 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.3679, allocations: 11.98 kB / 0.5556 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3679, allocations: 0 / 0.5556 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3679, allocations: 3.938 kB / 0.5556 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3679, allocations: 4 kB / 0.5556 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3679, allocations: 3.938 kB / 0.5557 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.3681, allocations: 212.2 kB / 0.5559 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.3682, allocations: 85.06 kB / 0.5559 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3682, allocations: 3.938 kB / 0.5559 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.3683, allocations: 7.984 kB / 0.5559 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.3683, allocations: 8 kB / 0.556 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.3683, allocations: 0 / 0.556 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.3685, allocations: 156.2 kB / 0.5561 GB, free: 14.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3685, allocations: 4 kB / 0.5561 GB, free: 14.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.3687, allocations: 27.92 kB / 0.5561 GB, free: 14.16 MB / 414.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: 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 (8): * Single equations (assignments): 6 * 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.001636/0.3704, allocations: 452.9 kB / 0.5566 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.3706, allocations: 51.98 kB / 0.5566 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3706, allocations: 0 / 0.5566 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.663e-05/0.3706, allocations: 31.92 kB / 0.5566 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.371, allocations: 33.56 kB / 0.5567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.3715, allocations: 238.5 kB / 0.5569 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.3718, allocations: 0.712 MB / 0.5576 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.854e-05/0.3719, allocations: 9.203 kB / 0.5576 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.3719, allocations: 19.42 kB / 0.5576 GB, free: 12.73 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3719, allocations: 0 / 0.5576 GB, free: 12.73 MB / 414.1 MB Notification: Performance of Templates: time 0.004909/0.3768, allocations: 1.763 MB / 0.5593 GB, free: 10.98 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches