Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002/0.002, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002567/0.002567, allocations: 209.4 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.69/1.69, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2721/0.2721, allocations: 46.93 MB / 360.8 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 71.89 kB / 0.4967 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4285, allocations: 66.04 MB / 0.5611 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.00342/0.4319, allocations: 1.629 MB / 0.5627 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.433, allocations: 0.5767 MB / 0.5633 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.4331, allocations: 0 / 0.5633 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006002/0.4337, allocations: 451.1 kB / 0.5637 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004925/0.4342, allocations: 295.3 kB / 0.564 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.4347, allocations: 174.9 kB / 0.5642 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.4349, allocations: 167.6 kB / 0.5643 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.435, allocations: 15.98 kB / 0.5643 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.4351, allocations: 111.8 kB / 0.5645 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.4354, allocations: 247.5 kB / 0.5647 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.4354, allocations: 0 / 0.5647 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.4355, allocations: 31.97 kB / 0.5647 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.4357, allocations: 79.7 kB / 0.5648 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.785e-05/0.4358, allocations: 103 kB / 0.5649 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.4361, allocations: 257 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4361, allocations: 7.938 kB / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4361, allocations: 3.938 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.4361, allocations: 0 / 0.5651 GB, free: 296 kB / 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.0007428/0.4369, allocations: 0.566 MB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4369, allocations: 8.031 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/0.437, allocations: 44.66 kB / 0.5658 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.4373, allocations: 246.8 kB / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.4373, allocations: 384 / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.4373, allocations: 384 / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.4374, allocations: 54.8 kB / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.4374, allocations: 0 / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.4375, allocations: 4 kB / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.4375, allocations: 3.984 kB / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.841e-05/0.4375, allocations: 27.92 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.4381, allocations: 355.8 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.283e-05/0.4382, allocations: 34.56 kB / 0.5664 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.4382, allocations: 12.92 kB / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.4382, allocations: 7.922 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.4383, allocations: 34.55 kB / 0.5665 GB, free: 14.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.4383, allocations: 4 kB / 0.5665 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002704/0.4385, allocations: 105.3 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.4386, allocations: 55.53 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009999/0.4396, allocations: 0.8699 MB / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.4396, allocations: 25.7 kB / 0.5675 GB, free: 13.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.4398, allocations: 224 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.4398, allocations: 3.953 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.4398, allocations: 13.72 kB / 0.5678 GB, free: 13.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002653/0.4401, allocations: 366.7 kB / 0.5681 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.045e-05/0.4402, allocations: 11.94 kB / 0.5681 GB, free: 13.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.165e-05/0.4402, allocations: 19.92 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.336e-05/0.4403, allocations: 28.84 kB / 0.5682 GB, free: 13.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4403, allocations: 0 / 0.5682 GB, free: 13.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001713/0.4405, allocations: 93.39 kB / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4405, allocations: 8 kB / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.4405, allocations: 0 / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4405, allocations: 96 / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.4406, allocations: 8 kB / 0.5683 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.4406, allocations: 0 / 0.5683 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.013e-05/0.4406, allocations: 11.94 kB / 0.5683 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.4406, allocations: 0 / 0.5683 GB, free: 12.89 MB / 414.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 (2): * Single equations (assignments): 2 * 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.0002181/0.4408, allocations: 217.7 kB / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.4409, allocations: 43.72 kB / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.4411, allocations: 108.8 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4411, allocations: 4.031 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4411, allocations: 0 / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4411, allocations: 4 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.4415, allocations: 256.6 kB / 0.5689 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4415, allocations: 0 / 0.5689 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.4415, allocations: 7.984 kB / 0.5689 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4415, allocations: 0 / 0.5689 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.4415, allocations: 0 / 0.5689 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4415, allocations: 0 / 0.5689 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4415, allocations: 0 / 0.5689 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.4417, allocations: 203.1 kB / 0.5691 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.4418, allocations: 35.72 kB / 0.5691 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.4418, allocations: 0 / 0.5691 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.4419, allocations: 0 / 0.5691 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.4419, allocations: 0 / 0.5691 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.4419, allocations: 4 kB / 0.5691 GB, free: 11.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000708/0.4426, allocations: 0.655 MB / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4426, allocations: 8.031 kB / 0.5698 GB, free: 11.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.4429, allocations: 12 kB / 0.5698 GB, free: 11.27 MB / 414.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 (2): * Single equations (assignments): 2 * 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.001367/0.4442, allocations: 358.1 kB / 0.5701 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.4444, allocations: 27.92 kB / 0.5702 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4444, allocations: 4 kB / 0.5702 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.583e-05/0.4444, allocations: 11.98 kB / 0.5702 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.4448, allocations: 31.92 kB / 0.5702 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.4461, allocations: 0.783 MB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.4467, allocations: 0.8292 MB / 0.5718 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.277e-05/0.4467, allocations: 15.73 kB / 0.5718 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.4468, allocations: 15.42 kB / 0.5718 GB, free: 9.277 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4468, allocations: 0 / 0.5718 GB, free: 9.277 MB / 414.1 MB Notification: Performance of Templates: time 0.00508/0.4518, allocations: 1.281 MB / 0.5731 GB, free: 8.004 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.677285315934569]