Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 230.2 MB / 250.8 MB, free: 8.754 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.2186/0.2186, allocations: 46.89 MB / 351.8 MB, free: 7.293 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.002275/0.002275, allocations: 79.88 kB / 496.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3409, allocations: 65.98 MB / 0.5494 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003015/0.3439, allocations: 1.731 MB / 0.5511 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.3456, allocations: 1.04 MB / 0.5521 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.3457, allocations: 0 / 0.5521 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.346, allocations: 55.75 kB / 0.5521 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.3463, allocations: 99.58 kB / 0.5522 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.3465, allocations: 75.69 kB / 0.5523 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.3466, allocations: 111.6 kB / 0.5524 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3467, allocations: 7.984 kB / 0.5524 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.021e-05/0.3468, allocations: 39.8 kB / 0.5524 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.294e-05/0.3469, allocations: 43.77 kB / 0.5525 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3469, allocations: 8 kB / 0.5525 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.413e-05/0.347, allocations: 39.98 kB / 0.5525 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.3471, allocations: 27.86 kB / 0.5526 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.3472, allocations: 47.61 kB / 0.5526 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.3474, allocations: 143.9 kB / 0.5527 GB, free: 2.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3474, allocations: 0 / 0.5527 GB, free: 2.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3474, allocations: 0 / 0.5527 GB, free: 2.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3474, allocations: 0 / 0.5527 GB, free: 2.016 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.0006546/0.3481, allocations: 454.4 kB / 0.5532 GB, free: 1.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3481, allocations: 12.03 kB / 0.5532 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.3482, allocations: 16.84 kB / 0.5532 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.3485, allocations: 225 kB / 0.5534 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3485, allocations: 384 / 0.5534 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.3485, allocations: 4.125 kB / 0.5534 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.3487, allocations: 61.61 kB / 0.5535 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3487, allocations: 0 / 0.5535 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.3487, allocations: 0 / 0.5535 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3487, allocations: 0 / 0.5535 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.24e-05/0.3488, allocations: 19.98 kB / 0.5535 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.3492, allocations: 300.8 kB / 0.5538 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.3494, allocations: 62.61 kB / 0.5538 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.994e-05/0.3495, allocations: 16.86 kB / 0.5539 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3495, allocations: 0 / 0.5539 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.3497, allocations: 71.38 kB / 0.5539 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.3497, allocations: 0 / 0.5539 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005436/0.3502, allocations: 181.2 kB / 0.5541 GB, free: 456 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.3503, allocations: 55.41 kB / 0.5542 GB, free: 388 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.3505, allocations: 274.8 kB / 0.5544 GB, free: 100 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3506, allocations: 29.7 kB / 0.5544 GB, free: 64 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.3507, allocations: 112.1 kB / 0.5546 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.3507, allocations: 31.78 kB / 0.5546 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.3507, allocations: 25.7 kB / 0.5546 GB, free: 15.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3509, allocations: 330.8 kB / 0.5549 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.748e-05/0.3509, allocations: 19.98 kB / 0.5549 GB, free: 15.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.351, allocations: 37.64 kB / 0.555 GB, free: 15.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.3511, allocations: 61.78 kB / 0.555 GB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3511, allocations: 4 kB / 0.555 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000194/0.3513, allocations: 109.5 kB / 0.5551 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3513, allocations: 8.188 kB / 0.5552 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3513, allocations: 0 / 0.5552 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3514, allocations: 3.938 kB / 0.5552 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.635e-05/0.3514, allocations: 15.98 kB / 0.5552 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.3515, allocations: 4.375 kB / 0.5552 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.3515, allocations: 3.938 kB / 0.5552 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3515, allocations: 4.031 kB / 0.5552 GB, free: 15.27 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.0001199/0.3516, allocations: 145.7 kB / 0.5553 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.3517, allocations: 23.89 kB / 0.5553 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.3519, allocations: 123 kB / 0.5555 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3519, allocations: 0 / 0.5555 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3519, allocations: 0 / 0.5555 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3519, allocations: 3.938 kB / 0.5555 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.3524, allocations: 403.3 kB / 0.5558 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3524, allocations: 0 / 0.5558 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.3524, allocations: 11.98 kB / 0.5559 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.3524, allocations: 4 kB / 0.5559 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.3524, allocations: 3.938 kB / 0.5559 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3524, allocations: 0 / 0.5559 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3524, allocations: 7.938 kB / 0.5559 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.3527, allocations: 208.5 kB / 0.5561 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.3527, allocations: 89.02 kB / 0.5562 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.3528, allocations: 7.922 kB / 0.5562 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.3529, allocations: 4 kB / 0.5562 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.3529, allocations: 8 kB / 0.5562 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3529, allocations: 7.984 kB / 0.5562 GB, free: 14.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.3531, allocations: 196.6 kB / 0.5564 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3531, allocations: 0 / 0.5564 GB, free: 13.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.3533, allocations: 27.94 kB / 0.5564 GB, free: 13.91 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.001621/0.355, allocations: 469.3 kB / 0.5568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.3551, allocations: 47.98 kB / 0.5569 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3551, allocations: 4.062 kB / 0.5569 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.915e-05/0.3552, allocations: 27.92 kB / 0.5569 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.3556, allocations: 27.92 kB / 0.557 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.3561, allocations: 291.5 kB / 0.5572 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.3565, allocations: 0.7275 MB / 0.5579 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.875e-05/0.3565, allocations: 17.19 kB / 0.558 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.3565, allocations: 15.44 kB / 0.558 GB, free: 12.4 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3565, allocations: 4 kB / 0.558 GB, free: 12.4 MB / 414.1 MB Notification: Performance of Templates: time 0.004785/0.3613, allocations: 1.801 MB / 0.5597 GB, free: 10.62 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches