Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001335/0.001335, 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.001386/0.001386, 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.517/1.517, 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.2672/0.2672, allocations: 44.91 MB / 353.5 MB, free: 11.81 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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 75.88 kB / 497.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4635/0.4655, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003614/0.4691, allocations: 1.609 MB / 0.5504 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009369/0.47, allocations: 430.4 kB / 0.5508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.4701, allocations: 1.219 kB / 0.5508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.4704, allocations: 74.44 kB / 0.5509 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.4707, allocations: 67.23 kB / 0.551 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.471, allocations: 109.8 kB / 0.5511 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.4712, allocations: 72.33 kB / 0.5511 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.4714, allocations: 16.23 kB / 0.5511 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.887e-05/0.4715, allocations: 34.44 kB / 0.5512 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.4716, allocations: 56.69 kB / 0.5512 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.4716, allocations: 2.719 kB / 0.5512 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.4717, allocations: 40.11 kB / 0.5513 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.625e-05/0.4718, allocations: 18.72 kB / 0.5513 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.4718, allocations: 33.47 kB / 0.5513 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.4721, allocations: 96.84 kB / 0.5514 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4721, allocations: 0 / 0.5514 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4721, allocations: 0 / 0.5514 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.4721, allocations: 1.688 kB / 0.5514 GB, free: 11.2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005861/0.4727, allocations: 327.1 kB / 0.5517 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.4727, allocations: 10.83 kB / 0.5517 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.4728, allocations: 16.94 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.473, allocations: 144.9 kB / 0.5519 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.473, allocations: 5.938 kB / 0.5519 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.473, allocations: 1.781 kB / 0.5519 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.4732, allocations: 59.67 kB / 0.552 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.4732, allocations: 0 / 0.552 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.4732, allocations: 1.031 kB / 0.552 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.4732, allocations: 1.062 kB / 0.552 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.4734, allocations: 27.38 kB / 0.552 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.4739, allocations: 276.7 kB / 0.5523 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.4741, allocations: 38.94 kB / 0.5523 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.847e-05/0.4741, allocations: 21.64 kB / 0.5523 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.4742, allocations: 1.062 kB / 0.5523 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.4742, allocations: 35.69 kB / 0.5523 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.4742, allocations: 0 / 0.5523 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001051/0.4753, allocations: 235.2 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.4753, allocations: 52.34 kB / 0.5526 GB, free: 10.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.4756, allocations: 202.9 kB / 0.5528 GB, free: 9.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.4756, allocations: 25.7 kB / 0.5528 GB, free: 9.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.4756, allocations: 101.2 kB / 0.5529 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.4757, allocations: 27.12 kB / 0.553 GB, free: 9.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.4757, allocations: 24.05 kB / 0.553 GB, free: 9.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4759, allocations: 322 kB / 0.5533 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.476, allocations: 35.53 kB / 0.5533 GB, free: 9.418 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.509e-05/0.4761, allocations: 33.39 kB / 0.5534 GB, free: 9.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.4763, allocations: 74.16 kB / 0.5534 GB, free: 9.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4763, allocations: 0 / 0.5534 GB, free: 9.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000239/0.4765, allocations: 107.9 kB / 0.5535 GB, free: 9.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.4765, allocations: 5.531 kB / 0.5535 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4765, allocations: 0 / 0.5535 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4765, allocations: 5.406 kB / 0.5535 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.4767, allocations: 17.27 kB / 0.5536 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4767, allocations: 8.25 kB / 0.5536 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/0.4767, allocations: 7.484 kB / 0.5536 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.4767, allocations: 2.156 kB / 0.5536 GB, free: 9.277 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 (8): * Single equations (assignments): 8 * 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.000129/0.4768, allocations: 127.3 kB / 0.5537 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.4769, allocations: 13.78 kB / 0.5537 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/0.4772, allocations: 136.3 kB / 0.5538 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4772, allocations: 5.25 kB / 0.5538 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4772, allocations: 3.938 kB / 0.5538 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4772, allocations: 0 / 0.5538 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005968/0.4778, allocations: 388.4 kB / 0.5542 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4778, allocations: 0 / 0.5542 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.409e-05/0.4779, allocations: 21.61 kB / 0.5542 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4779, allocations: 1.031 kB / 0.5542 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.4779, allocations: 2.344 kB / 0.5542 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4779, allocations: 4 kB / 0.5542 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4779, allocations: 1.891 kB / 0.5542 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.4782, allocations: 211.3 kB / 0.5544 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.4782, allocations: 11.2 kB / 0.5545 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.4782, allocations: 1.031 kB / 0.5545 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.4783, allocations: 11.45 kB / 0.5545 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.4784, allocations: 14.88 kB / 0.5545 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.4784, allocations: 3.25 kB / 0.5545 GB, free: 8.465 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.4785, allocations: 148.7 kB / 0.5546 GB, free: 8.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4785, allocations: 0 / 0.5546 GB, free: 8.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000253/0.4788, allocations: 22.12 kB / 0.5547 GB, free: 8.355 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001758/0.4805, allocations: 455.2 kB / 0.5551 GB, free: 8.141 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.4808, allocations: 74.02 kB / 0.5552 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4808, allocations: 0 / 0.5552 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.4809, allocations: 50.61 kB / 0.5552 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.4814, allocations: 27.05 kB / 0.5552 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.482, allocations: 242.3 kB / 0.5555 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.4824, allocations: 0.7019 MB / 0.5561 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.254e-05/0.4825, allocations: 28.44 kB / 0.5562 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.4826, allocations: 13.28 kB / 0.5562 GB, free: 7.145 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4826, allocations: 0 / 0.5562 GB, free: 7.145 MB / 398.1 MB Notification: Performance of Templates: time 0.00537/0.4879, allocations: 1.401 MB / 0.5576 GB, free: 6.359 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.602236110717058]