Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002256/0.002256, allocations: 183.9 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.636/1.636, allocations: 225.6 MB / 253.3 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2747/0.2747, allocations: 44.91 MB / 353.5 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 71.88 kB / 497.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4227, allocations: 64.29 MB / 0.5489 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004025/0.4268, allocations: 1.733 MB / 0.5506 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.4286, allocations: 0.8922 MB / 0.5514 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.4287, allocations: 1.344 kB / 0.5514 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.4291, allocations: 88.73 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.4294, allocations: 73.39 kB / 0.5516 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.4298, allocations: 119.5 kB / 0.5517 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.4301, allocations: 110 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.4302, allocations: 7.672 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.4303, allocations: 59.16 kB / 0.5519 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.4305, allocations: 61.22 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.4305, allocations: 7.75 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.4306, allocations: 42.45 kB / 0.552 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.137e-05/0.4307, allocations: 23.77 kB / 0.552 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.442e-05/0.4308, allocations: 35.67 kB / 0.552 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.4311, allocations: 121.4 kB / 0.5522 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4311, allocations: 0 / 0.5522 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4311, allocations: 0 / 0.5522 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.4311, allocations: 1.188 kB / 0.5522 GB, free: 10.66 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.0006754/0.4318, allocations: 344.7 kB / 0.5525 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4318, allocations: 10.86 kB / 0.5525 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.4319, allocations: 21 kB / 0.5525 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.4322, allocations: 151.3 kB / 0.5527 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.4322, allocations: 5.656 kB / 0.5527 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.4323, allocations: 10.33 kB / 0.5527 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.4324, allocations: 57.45 kB / 0.5527 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.4325, allocations: 3.984 kB / 0.5527 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.4325, allocations: 1.094 kB / 0.5527 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4325, allocations: 1.062 kB / 0.5527 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.511e-05/0.4326, allocations: 22.61 kB / 0.5528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.433, allocations: 258.3 kB / 0.553 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.4332, allocations: 56.42 kB / 0.5531 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.4333, allocations: 20.84 kB / 0.5531 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.4333, allocations: 1.25 kB / 0.5531 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.4335, allocations: 77.12 kB / 0.5532 GB, free: 9.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.714e-06/0.4335, allocations: 0 / 0.5532 GB, free: 9.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006136/0.4341, allocations: 178.8 kB / 0.5533 GB, free: 9.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.4341, allocations: 52.59 kB / 0.5534 GB, free: 9.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.4344, allocations: 208.7 kB / 0.5536 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.4344, allocations: 25.7 kB / 0.5536 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.4345, allocations: 110.7 kB / 0.5537 GB, free: 9.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.4345, allocations: 23.39 kB / 0.5537 GB, free: 9.195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.4346, allocations: 23.8 kB / 0.5538 GB, free: 9.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4347, allocations: 331.4 kB / 0.5541 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.219e-05/0.4348, allocations: 18.05 kB / 0.5541 GB, free: 8.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.4349, allocations: 39.83 kB / 0.5541 GB, free: 8.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.435, allocations: 59.72 kB / 0.5542 GB, free: 8.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.435, allocations: 0 / 0.5542 GB, free: 8.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002168/0.4352, allocations: 115.9 kB / 0.5543 GB, free: 8.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4352, allocations: 5 kB / 0.5543 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.4352, allocations: 1.375 kB / 0.5543 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4352, allocations: 0 / 0.5543 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.4353, allocations: 13.91 kB / 0.5543 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.4354, allocations: 4.922 kB / 0.5543 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.364e-05/0.4354, allocations: 6.219 kB / 0.5543 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.4354, allocations: 10.28 kB / 0.5543 GB, free: 8.672 MB / 398.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.000122/0.4355, allocations: 136.8 kB / 0.5545 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.4356, allocations: 14.75 kB / 0.5545 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.4358, allocations: 107.6 kB / 0.5546 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.4358, allocations: 1.094 kB / 0.5546 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4358, allocations: 1.188 kB / 0.5546 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.4358, allocations: 7.938 kB / 0.5546 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.4363, allocations: 370.4 kB / 0.5549 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4363, allocations: 1.062 kB / 0.5549 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.4364, allocations: 7.594 kB / 0.5549 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4364, allocations: 1.031 kB / 0.555 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.4364, allocations: 10.17 kB / 0.555 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4364, allocations: 3.938 kB / 0.555 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4364, allocations: 1.031 kB / 0.555 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.4367, allocations: 204.9 kB / 0.5552 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.4367, allocations: 11.8 kB / 0.5552 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.4367, allocations: 6.312 kB / 0.5552 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.4368, allocations: 5.281 kB / 0.5552 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.4368, allocations: 11.52 kB / 0.5552 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.4369, allocations: 3.375 kB / 0.5552 GB, free: 7.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.437, allocations: 155.9 kB / 0.5553 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.437, allocations: 0 / 0.5553 GB, free: 7.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.4373, allocations: 27.98 kB / 0.5554 GB, free: 7.77 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: 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.001691/0.439, allocations: 462.9 kB / 0.5558 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.4392, allocations: 63.08 kB / 0.5559 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4392, allocations: 1.375 kB / 0.5559 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.4393, allocations: 27.42 kB / 0.5559 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.4397, allocations: 36.52 kB / 0.5559 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.4403, allocations: 235.9 kB / 0.5562 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.4407, allocations: 0.7157 MB / 0.5569 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.103e-05/0.4408, allocations: 14.22 kB / 0.5569 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.4408, allocations: 14.34 kB / 0.5569 GB, free: 6.57 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4408, allocations: 0 / 0.5569 GB, free: 6.57 MB / 398.1 MB Notification: Performance of Templates: time 0.005763/0.4466, allocations: 1.766 MB / 0.5586 GB, free: 5.309 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.622309057973325]