Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00158/0.00158, allocations: 113.5 kB / 18.79 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.001595/0.001595, allocations: 215.1 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.443/1.443, allocations: 230.2 MB / 250.8 MB, free: 8.777 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.2232/0.2232, allocations: 46.9 MB / 351.8 MB, free: 7.316 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.002263/0.002263, allocations: 75.88 kB / 496.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3515, allocations: 65.99 MB / 0.5494 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003392/0.3549, allocations: 1.742 MB / 0.5511 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.3567, allocations: 1.037 MB / 0.5521 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.3568, allocations: 0 / 0.5521 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.3572, allocations: 43.77 kB / 0.5521 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.3575, allocations: 95.59 kB / 0.5522 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.3577, allocations: 83.66 kB / 0.5523 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.3579, allocations: 99.7 kB / 0.5524 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.358, allocations: 11.98 kB / 0.5524 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3581, allocations: 43.78 kB / 0.5524 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.575e-05/0.3582, allocations: 39.72 kB / 0.5525 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3582, allocations: 4 kB / 0.5525 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3583, allocations: 43.97 kB / 0.5525 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.062e-05/0.3584, allocations: 19.92 kB / 0.5525 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.926e-05/0.3585, allocations: 39.75 kB / 0.5526 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.3587, allocations: 124 kB / 0.5527 GB, free: 2.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3587, allocations: 4 kB / 0.5527 GB, free: 2.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3587, allocations: 0 / 0.5527 GB, free: 2.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.3587, allocations: 0 / 0.5527 GB, free: 2.07 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.0006444/0.3593, allocations: 430.6 kB / 0.5531 GB, free: 1.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3594, allocations: 8.031 kB / 0.5531 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.3594, allocations: 8.891 kB / 0.5531 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.3598, allocations: 224.1 kB / 0.5533 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3598, allocations: 4.375 kB / 0.5533 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.3598, allocations: 4.125 kB / 0.5534 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.36, allocations: 53.67 kB / 0.5534 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.36, allocations: 4 kB / 0.5534 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.36, allocations: 0 / 0.5534 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.36, allocations: 0 / 0.5534 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.178e-05/0.3601, allocations: 19.92 kB / 0.5534 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.3605, allocations: 300.8 kB / 0.5537 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.3607, allocations: 54.67 kB / 0.5538 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.045e-05/0.3608, allocations: 20.84 kB / 0.5538 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.3608, allocations: 0 / 0.5538 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.3609, allocations: 71.33 kB / 0.5539 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3609, allocations: 4 kB / 0.5539 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005766/0.3615, allocations: 185.3 kB / 0.554 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.3615, allocations: 51.41 kB / 0.5541 GB, free: 484 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.3618, allocations: 210 kB / 0.5543 GB, free: 264 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3618, allocations: 29.7 kB / 0.5543 GB, free: 228 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.3619, allocations: 104.1 kB / 0.5544 GB, free: 120 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.3619, allocations: 19.86 kB / 0.5544 GB, free: 100 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.362, allocations: 29.7 kB / 0.5545 GB, free: 64 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.3621, allocations: 330.8 kB / 0.5548 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.719e-05/0.3622, allocations: 19.92 kB / 0.5548 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.986e-05/0.3623, allocations: 37.7 kB / 0.5548 GB, free: 15.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.3624, allocations: 57.66 kB / 0.5549 GB, free: 15.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3624, allocations: 0 / 0.5549 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.3626, allocations: 109.5 kB / 0.555 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3626, allocations: 4 kB / 0.555 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3626, allocations: 3.984 kB / 0.555 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3626, allocations: 4 kB / 0.555 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.463e-05/0.3627, allocations: 12 kB / 0.555 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3627, allocations: 3.984 kB / 0.555 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.3628, allocations: 11.94 kB / 0.555 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.3628, 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.0001225/0.3629, allocations: 133.8 kB / 0.5552 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.3629, allocations: 15.89 kB / 0.5552 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.3632, allocations: 119 kB / 0.5553 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3632, allocations: 0 / 0.5553 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3632, allocations: 0 / 0.5553 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3632, allocations: 3.938 kB / 0.5553 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.3637, allocations: 391.3 kB / 0.5557 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3637, allocations: 4 kB / 0.5557 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.3637, allocations: 12.02 kB / 0.5557 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3637, allocations: 7.938 kB / 0.5557 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3637, allocations: 7.938 kB / 0.5557 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3637, allocations: 0 / 0.5557 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3637, allocations: 4 kB / 0.5557 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.364, allocations: 204.5 kB / 0.5559 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.364, allocations: 89.06 kB / 0.556 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.364, allocations: 8.312 kB / 0.556 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.3641, allocations: 3.984 kB / 0.556 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.3641, allocations: 8 kB / 0.556 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.3642, allocations: 8 kB / 0.556 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.3643, allocations: 164.8 kB / 0.5562 GB, free: 14.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3643, allocations: 0 / 0.5562 GB, free: 14.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.3646, allocations: 23.94 kB / 0.5562 GB, free: 14.15 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.001659/0.3662, allocations: 461.6 kB / 0.5566 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.3664, allocations: 55.91 kB / 0.5567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3664, allocations: 0 / 0.5567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.996e-05/0.3665, allocations: 32.05 kB / 0.5567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.3668, allocations: 27.98 kB / 0.5567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.3673, allocations: 246.6 kB / 0.557 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.3677, allocations: 0.7041 MB / 0.5577 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.449e-05/0.3678, allocations: 21.17 kB / 0.5577 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.3678, allocations: 19.44 kB / 0.5577 GB, free: 12.7 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3678, allocations: 0 / 0.5577 GB, free: 12.7 MB / 414.1 MB Notification: Performance of Templates: time 0.005037/0.3728, allocations: 1.767 MB / 0.5594 GB, free: 10.95 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches