Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001341/0.001341, allocations: 110 kB / 21.23 MB, free: 0.6602 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.00144/0.00144, allocations: 186.4 kB / 24.51 MB, free: 4.035 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.54/1.54, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2541/0.2541, allocations: 44.89 MB / 353.5 MB, free: 11.82 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002608/0.002608, allocations: 59.91 kB / 497.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4512, allocations: 64.3 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.00372/0.4549, allocations: 1.573 MB / 0.5504 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000922/0.4558, allocations: 426 kB / 0.5508 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.341e-05/0.4559, allocations: 1.531 kB / 0.5508 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.4562, allocations: 19.58 kB / 0.5508 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.4565, allocations: 37.66 kB / 0.5508 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.4569, allocations: 85.61 kB / 0.5509 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.4571, allocations: 62.42 kB / 0.551 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.4572, allocations: 15.86 kB / 0.551 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.564e-05/0.4573, allocations: 19.91 kB / 0.551 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.357e-05/0.4574, allocations: 17.67 kB / 0.551 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.4574, allocations: 6.875 kB / 0.551 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.4575, allocations: 38.75 kB / 0.5511 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.08e-05/0.4576, allocations: 16.31 kB / 0.5511 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.4577, allocations: 18.89 kB / 0.5511 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.4579, allocations: 72.28 kB / 0.5512 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.4579, allocations: 3.984 kB / 0.5512 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4579, allocations: 0 / 0.5512 GB, free: 11.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.4579, allocations: 0 / 0.5512 GB, free: 11.33 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006809/0.4586, allocations: 300.2 kB / 0.5515 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.4587, allocations: 14.58 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.4587, allocations: 7.578 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.459, allocations: 131.6 kB / 0.5516 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.459, allocations: 9.969 kB / 0.5516 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.459, allocations: 1.812 kB / 0.5516 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.4592, allocations: 55.33 kB / 0.5517 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.4592, allocations: 0 / 0.5517 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.4592, allocations: 1.5 kB / 0.5517 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4593, allocations: 0 / 0.5517 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.4594, allocations: 24.48 kB / 0.5517 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.4599, allocations: 246.6 kB / 0.5519 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.4602, allocations: 42.06 kB / 0.552 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.014e-05/0.4602, allocations: 10.48 kB / 0.552 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.4603, allocations: 5.578 kB / 0.552 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.4603, allocations: 40.12 kB / 0.552 GB, free: 10.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.4603, allocations: 0 / 0.552 GB, free: 10.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007297/0.4611, allocations: 129.7 kB / 0.5521 GB, free: 10.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.4611, allocations: 52.59 kB / 0.5522 GB, free: 10.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.4614, allocations: 146.8 kB / 0.5523 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.4614, allocations: 25.7 kB / 0.5524 GB, free: 10.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.087e-05/0.4615, allocations: 107.4 kB / 0.5525 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.4615, allocations: 10.09 kB / 0.5525 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.4616, allocations: 17.03 kB / 0.5525 GB, free: 10.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.4618, allocations: 325 kB / 0.5528 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.229e-05/0.4618, allocations: 22.55 kB / 0.5528 GB, free: 9.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.4619, allocations: 14.83 kB / 0.5528 GB, free: 9.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.4621, allocations: 55.86 kB / 0.5529 GB, free: 9.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4621, allocations: 0 / 0.5529 GB, free: 9.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002115/0.4623, allocations: 76.22 kB / 0.553 GB, free: 9.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.4623, allocations: 5.562 kB / 0.553 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4623, allocations: 0 / 0.553 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.4623, allocations: 1.312 kB / 0.553 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.4624, allocations: 13.36 kB / 0.553 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4624, allocations: 0 / 0.553 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.4625, allocations: 11.84 kB / 0.553 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.4625, allocations: 1.031 kB / 0.553 GB, free: 9.578 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0002172/0.4627, allocations: 126.2 kB / 0.5531 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.4627, allocations: 11.16 kB / 0.5531 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.463, allocations: 92.2 kB / 0.5532 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.463, allocations: 1.219 kB / 0.5532 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.463, allocations: 1.188 kB / 0.5532 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.463, allocations: 4 kB / 0.5532 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005338/0.4636, allocations: 319.7 kB / 0.5535 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4636, allocations: 1.25 kB / 0.5535 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.59e-05/0.4636, allocations: 8.438 kB / 0.5535 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4636, allocations: 1.375 kB / 0.5535 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.4636, allocations: 5.078 kB / 0.5535 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4636, allocations: 3.938 kB / 0.5535 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4637, allocations: 0 / 0.5535 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.464, allocations: 176.1 kB / 0.5537 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.4641, allocations: 5.422 kB / 0.5537 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.4641, allocations: 5.062 kB / 0.5537 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.4641, allocations: 11.17 kB / 0.5537 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.4642, allocations: 6.219 kB / 0.5537 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.4642, allocations: 1.219 kB / 0.5537 GB, free: 8.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.4643, allocations: 122.3 kB / 0.5539 GB, free: 8.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4643, allocations: 1.125 kB / 0.5539 GB, free: 8.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.4646, allocations: 8.875 kB / 0.5539 GB, free: 8.758 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001636/0.4662, allocations: 407.7 kB / 0.5543 GB, free: 8.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.4664, allocations: 43.06 kB / 0.5543 GB, free: 8.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4664, allocations: 0 / 0.5543 GB, free: 8.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.4665, allocations: 30.02 kB / 0.5543 GB, free: 8.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.467, allocations: 18.81 kB / 0.5543 GB, free: 8.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.4674, allocations: 159.3 kB / 0.5545 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.468, allocations: 0.6968 MB / 0.5552 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.904e-05/0.468, allocations: 9.891 kB / 0.5552 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.4681, allocations: 15.19 kB / 0.5552 GB, free: 7.652 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4681, allocations: 0 / 0.5552 GB, free: 7.652 MB / 398.1 MB Notification: Performance of Templates: time 0.004963/0.473, allocations: 1.111 MB / 0.5563 GB, free: 7.078 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.5494049824774265]