Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.001707/0.001707, 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.00189/0.00189, allocations: 186.2 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.577/1.577, 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.253/0.253, allocations: 44.91 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.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 71.88 kB / 497.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3965, allocations: 64.28 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003821/0.4004, allocations: 1.605 MB / 0.5504 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009006/0.4013, allocations: 421.1 kB / 0.5508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.4013, allocations: 1.375 kB / 0.5508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006686/0.402, allocations: 449 kB / 0.5512 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004803/0.4025, allocations: 246.4 kB / 0.5515 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.4029, allocations: 128.5 kB / 0.5516 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.4032, allocations: 156.1 kB / 0.5517 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.4034, allocations: 8.391 kB / 0.5517 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.4036, allocations: 108.5 kB / 0.5518 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/0.4039, allocations: 245.5 kB / 0.5521 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.4039, allocations: 3.219 kB / 0.5521 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.404, allocations: 21.17 kB / 0.5521 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.4042, allocations: 82.19 kB / 0.5522 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.4043, allocations: 93.84 kB / 0.5523 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.4047, allocations: 248.1 kB / 0.5525 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4048, allocations: 0 / 0.5525 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4048, allocations: 1.312 kB / 0.5525 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.4048, allocations: 0 / 0.5525 GB, free: 10.68 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.0009488/0.4057, allocations: 0.5594 MB / 0.5531 GB, free: 10.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.4058, allocations: 13.61 kB / 0.5531 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.465e-05/0.4059, allocations: 42.47 kB / 0.5531 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.4062, allocations: 240.3 kB / 0.5533 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.4062, allocations: 1.469 kB / 0.5533 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.4062, allocations: 1.438 kB / 0.5533 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.4064, allocations: 52.16 kB / 0.5534 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4064, allocations: 0 / 0.5534 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.4064, allocations: 4 kB / 0.5534 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4064, allocations: 1.188 kB / 0.5534 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.329e-05/0.4065, allocations: 24.73 kB / 0.5534 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.4071, allocations: 336.2 kB / 0.5537 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.4072, allocations: 34.25 kB / 0.5538 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.567e-05/0.4073, allocations: 10.98 kB / 0.5538 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.4073, allocations: 0 / 0.5538 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.4073, allocations: 35.84 kB / 0.5538 GB, free: 9.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.4073, allocations: 0 / 0.5538 GB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.000308/0.4076, allocations: 101.2 kB / 0.5539 GB, free: 9.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.4077, allocations: 51.41 kB / 0.554 GB, free: 9.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.4087, allocations: 0.8601 MB / 0.5548 GB, free: 8.918 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.4087, allocations: 30.42 kB / 0.5548 GB, free: 8.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.4089, allocations: 221.5 kB / 0.555 GB, free: 8.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.409, allocations: 12.98 kB / 0.5551 GB, free: 8.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.409, allocations: 11.88 kB / 0.5551 GB, free: 8.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.4092, allocations: 371.2 kB / 0.5554 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/0.4092, allocations: 5.562 kB / 0.5554 GB, free: 8.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/0.4093, allocations: 8.828 kB / 0.5554 GB, free: 8.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.418e-05/0.4094, allocations: 20.11 kB / 0.5554 GB, free: 8.293 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4094, allocations: 4.062 kB / 0.5555 GB, free: 8.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001616/0.4095, allocations: 93.42 kB / 0.5555 GB, free: 8.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.4095, allocations: 5.281 kB / 0.5555 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4095, allocations: 0 / 0.5555 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.4096, allocations: 1.094 kB / 0.5555 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.438e-05/0.4096, allocations: 7.422 kB / 0.5556 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.4096, allocations: 5.156 kB / 0.5556 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.4097, allocations: 5.172 kB / 0.5556 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.4097, allocations: 5.156 kB / 0.5556 GB, free: 8.207 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 (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.0002163/0.4099, allocations: 220.8 kB / 0.5558 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.41, allocations: 42.06 kB / 0.5558 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.4102, allocations: 103.2 kB / 0.5559 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4102, allocations: 0 / 0.5559 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.4102, allocations: 4 kB / 0.5559 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4102, allocations: 4 kB / 0.5559 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.4105, allocations: 256.6 kB / 0.5562 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4105, allocations: 0 / 0.5562 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.4106, allocations: 8.031 kB / 0.5562 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4106, allocations: 0 / 0.5562 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.4106, allocations: 0 / 0.5562 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4106, allocations: 0 / 0.5562 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.4106, allocations: 11.91 kB / 0.5562 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.4108, allocations: 183.2 kB / 0.5564 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.4109, allocations: 35.72 kB / 0.5564 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.4109, allocations: 4.031 kB / 0.5564 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.411, allocations: 4 kB / 0.5564 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.411, allocations: 7.984 kB / 0.5564 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.411, allocations: 3.938 kB / 0.5564 GB, free: 7.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000713/0.4117, allocations: 0.6472 MB / 0.5571 GB, free: 6.734 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4117, allocations: 0 / 0.5571 GB, free: 6.734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.4119, allocations: 12 kB / 0.5571 GB, free: 6.723 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 (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.001308/0.4133, allocations: 356.3 kB / 0.5574 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.4134, allocations: 27.92 kB / 0.5574 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4134, allocations: 0 / 0.5574 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-05/0.4135, allocations: 8.062 kB / 0.5574 GB, free: 6.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.4139, allocations: 25.95 kB / 0.5575 GB, free: 6.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.415, allocations: 0.7589 MB / 0.5582 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.4156, allocations: 0.818 MB / 0.559 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.096e-05/0.4156, allocations: 11.97 kB / 0.559 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.4157, allocations: 11.44 kB / 0.559 GB, free: 4.789 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4157, allocations: 0 / 0.559 GB, free: 4.789 MB / 398.1 MB Notification: Performance of Templates: time 0.005212/0.4209, allocations: 1.282 MB / 0.5603 GB, free: 3.512 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.438938554376364]