Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001594/0.001594, allocations: 105.5 kB / 19.81 MB, free: 2.516 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.001997/0.001997, allocations: 196 kB / 22.98 MB, free: 5.617 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.492/1.492, allocations: 225.6 MB / 251.6 MB, free: 13.35 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.2476/0.2476, allocations: 44.92 MB / 351.6 MB, free: 12.25 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 75.88 kB / 495.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.4502, allocations: 64.25 MB / 0.5465 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004285/0.4545, allocations: 1.748 MB / 0.5482 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.4564, allocations: 0.8972 MB / 0.5491 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.714e-05/0.4565, allocations: 1.406 kB / 0.5491 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004235/0.4569, allocations: 85.22 kB / 0.5492 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.4572, allocations: 83.38 kB / 0.5492 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.4575, allocations: 119.2 kB / 0.5493 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.4578, allocations: 113.1 kB / 0.5495 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.4579, allocations: 15.66 kB / 0.5495 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.4581, allocations: 56.78 kB / 0.5495 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.4582, allocations: 68.7 kB / 0.5496 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.4582, allocations: 3.406 kB / 0.5496 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.4584, allocations: 62.14 kB / 0.5497 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.84e-05/0.4585, allocations: 24.33 kB / 0.5497 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.4585, allocations: 40.91 kB / 0.5497 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.4589, allocations: 135.5 kB / 0.5498 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4589, allocations: 4 kB / 0.5498 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4589, allocations: 0 / 0.5498 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.4589, allocations: 1.5 kB / 0.5498 GB, free: 10.69 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.0007588/0.4596, allocations: 443.6 kB / 0.5503 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.4597, allocations: 10.09 kB / 0.5503 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.4597, allocations: 10.39 kB / 0.5503 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.4601, allocations: 217.4 kB / 0.5505 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.4601, allocations: 5.469 kB / 0.5505 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.4602, allocations: 7.281 kB / 0.5505 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.4604, allocations: 64.25 kB / 0.5506 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.4604, allocations: 1.281 kB / 0.5506 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.4604, allocations: 0 / 0.5506 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.4604, allocations: 5.406 kB / 0.5506 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.187e-05/0.4605, allocations: 24.27 kB / 0.5506 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.461, allocations: 308.8 kB / 0.5509 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.4613, allocations: 59.67 kB / 0.551 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/0.4613, allocations: 21.12 kB / 0.551 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.4614, allocations: 1.469 kB / 0.551 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.4615, allocations: 65.58 kB / 0.551 GB, free: 9.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.4615, allocations: 1.156 kB / 0.551 GB, free: 9.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000903/0.4624, allocations: 258.3 kB / 0.5513 GB, free: 9.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.229e-05/0.4625, allocations: 56.75 kB / 0.5513 GB, free: 9.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.4628, allocations: 219.8 kB / 0.5515 GB, free: 9.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.4628, allocations: 26.86 kB / 0.5516 GB, free: 9.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.4629, allocations: 111 kB / 0.5517 GB, free: 8.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.463, allocations: 32.27 kB / 0.5517 GB, free: 8.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.463, allocations: 30.55 kB / 0.5517 GB, free: 8.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.4632, allocations: 323.2 kB / 0.552 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.515e-05/0.4633, allocations: 35.27 kB / 0.5521 GB, free: 8.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-05/0.4634, allocations: 40.02 kB / 0.5521 GB, free: 8.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.4635, allocations: 83.88 kB / 0.5522 GB, free: 8.492 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4636, allocations: 1.125 kB / 0.5522 GB, free: 8.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002492/0.4638, allocations: 133.5 kB / 0.5523 GB, free: 8.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4638, allocations: 5.75 kB / 0.5523 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4638, allocations: 4.031 kB / 0.5523 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.4638, allocations: 2.156 kB / 0.5523 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/0.4639, allocations: 24.45 kB / 0.5524 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.464, allocations: 5.062 kB / 0.5524 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.464, allocations: 6.312 kB / 0.5524 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.464, allocations: 3.625 kB / 0.5524 GB, free: 8.391 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 (13): * Single equations (assignments): 13 * 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.0001434/0.4642, allocations: 130.8 kB / 0.5525 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.4642, allocations: 10.23 kB / 0.5525 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.4645, allocations: 157.4 kB / 0.5527 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.4645, allocations: 5.047 kB / 0.5527 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4645, allocations: 3.938 kB / 0.5527 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4645, allocations: 1.125 kB / 0.5527 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/0.4651, allocations: 446.2 kB / 0.5531 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4651, allocations: 0 / 0.5531 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.4652, allocations: 20.61 kB / 0.5531 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4652, allocations: 5.438 kB / 0.5531 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.4652, allocations: 6.031 kB / 0.5531 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4652, allocations: 1.031 kB / 0.5531 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.4652, allocations: 1.156 kB / 0.5531 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.4655, allocations: 239 kB / 0.5534 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.4656, allocations: 92.45 kB / 0.5534 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.4656, allocations: 6.281 kB / 0.5534 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.4657, allocations: 6.188 kB / 0.5535 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.4657, allocations: 8.484 kB / 0.5535 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.4657, allocations: 8.5 kB / 0.5535 GB, free: 7.402 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.4659, allocations: 170 kB / 0.5536 GB, free: 7.289 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4659, allocations: 0 / 0.5536 GB, free: 7.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.4662, allocations: 28.66 kB / 0.5537 GB, free: 7.281 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001914/0.4681, allocations: 0.5131 MB / 0.5542 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.4684, allocations: 79 kB / 0.5542 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4684, allocations: 0 / 0.5542 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.39e-05/0.4685, allocations: 40.98 kB / 0.5543 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.4688, allocations: 41.56 kB / 0.5543 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006255/0.4695, allocations: 296.1 kB / 0.5546 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.4699, allocations: 0.7222 MB / 0.5553 GB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.083e-05/0.47, allocations: 19.84 kB / 0.5553 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.47, allocations: 21.03 kB / 0.5553 GB, free: 6.008 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.47, allocations: 1.219 kB / 0.5553 GB, free: 6.008 MB / 398.1 MB Notification: Performance of Templates: time 0.005693/0.4757, allocations: 1.999 MB / 0.5573 GB, free: 4.582 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.5832697078585625]