Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001385/0.001385, allocations: 102 kB / 21.22 MB, free: 0.6562 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.001399/0.001399, allocations: 183.9 kB / 24.51 MB, free: 4.016 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.554/1.554, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.2837/0.2837, allocations: 44.92 MB / 353.5 MB, free: 11.83 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 67.88 kB / 497.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3626, allocations: 64.28 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003102/0.3657, allocations: 1.612 MB / 0.5504 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008505/0.3666, allocations: 439 kB / 0.5508 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.3666, allocations: 5.531 kB / 0.5508 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.3669, allocations: 102 kB / 0.5509 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.3671, allocations: 84.27 kB / 0.551 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.3674, allocations: 113.6 kB / 0.5511 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.3676, allocations: 82.08 kB / 0.5512 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.3677, allocations: 12.16 kB / 0.5512 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.114e-05/0.3678, allocations: 51.81 kB / 0.5513 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.3679, allocations: 69.67 kB / 0.5513 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.3679, allocations: 3.25 kB / 0.5513 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.45e-05/0.368, allocations: 47.92 kB / 0.5514 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.368, allocations: 22.55 kB / 0.5514 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.3681, allocations: 29.56 kB / 0.5514 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.3683, allocations: 113 kB / 0.5515 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3683, allocations: 1.188 kB / 0.5515 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3683, allocations: 0 / 0.5515 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3683, allocations: 0 / 0.5515 GB, free: 11.14 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.0005393/0.3688, allocations: 345.2 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3689, allocations: 10.52 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.3689, allocations: 13.41 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.3691, allocations: 152 kB / 0.552 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3691, allocations: 1.531 kB / 0.552 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.3692, allocations: 6.75 kB / 0.552 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3693, allocations: 55.61 kB / 0.5521 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3693, allocations: 3.938 kB / 0.5521 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3694, allocations: 4 kB / 0.5521 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3694, allocations: 1.031 kB / 0.5521 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.3695, allocations: 24.61 kB / 0.5521 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.3699, allocations: 284 kB / 0.5524 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.3701, allocations: 42.81 kB / 0.5524 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.928e-05/0.3701, allocations: 25.03 kB / 0.5525 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.3701, allocations: 1.25 kB / 0.5525 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.3702, allocations: 31.75 kB / 0.5525 GB, free: 10.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3702, allocations: 4 kB / 0.5525 GB, free: 10.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009533/0.3711, allocations: 240.8 kB / 0.5527 GB, free: 10.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.3712, allocations: 52.5 kB / 0.5528 GB, free: 9.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.3714, allocations: 253.8 kB / 0.553 GB, free: 9.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3714, allocations: 26.98 kB / 0.553 GB, free: 9.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.3715, allocations: 109.7 kB / 0.5531 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.3715, allocations: 32.08 kB / 0.5532 GB, free: 9.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.3716, allocations: 19.22 kB / 0.5532 GB, free: 9.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3717, allocations: 323.5 kB / 0.5535 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.725e-05/0.3718, allocations: 36.34 kB / 0.5535 GB, free: 9.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.928e-05/0.3719, allocations: 32.48 kB / 0.5536 GB, free: 9.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.372, allocations: 81.84 kB / 0.5536 GB, free: 9.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.372, allocations: 0 / 0.5536 GB, free: 9.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002292/0.3723, allocations: 104.8 kB / 0.5537 GB, free: 9.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3723, allocations: 5.188 kB / 0.5537 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.3723, allocations: 0.9062 kB / 0.5537 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3723, allocations: 1.156 kB / 0.5538 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.3724, allocations: 17.8 kB / 0.5538 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3724, allocations: 11.88 kB / 0.5538 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.3724, allocations: 7.219 kB / 0.5538 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3725, allocations: 6.5 kB / 0.5538 GB, free: 9.137 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.0001102/0.3726, allocations: 135.5 kB / 0.5539 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.3726, allocations: 17.59 kB / 0.5539 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.3729, allocations: 127.3 kB / 0.5541 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3729, allocations: 1.062 kB / 0.5541 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3729, allocations: 7.938 kB / 0.5541 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3729, allocations: 1.062 kB / 0.5541 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005513/0.3735, allocations: 395.2 kB / 0.5544 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3735, allocations: 1.094 kB / 0.5544 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.3736, allocations: 25.8 kB / 0.5545 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3736, allocations: 0 / 0.5545 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3736, allocations: 2.5 kB / 0.5545 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3736, allocations: 4.031 kB / 0.5545 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3736, allocations: 1.438 kB / 0.5545 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.3739, allocations: 213 kB / 0.5547 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.3739, allocations: 16.19 kB / 0.5547 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.374, allocations: 5.016 kB / 0.5547 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.374, allocations: 11.75 kB / 0.5547 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.3741, allocations: 10.17 kB / 0.5547 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.3741, allocations: 3.188 kB / 0.5547 GB, free: 8.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.3742, allocations: 189 kB / 0.5549 GB, free: 8.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3742, allocations: 0 / 0.5549 GB, free: 8.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.3745, allocations: 22.56 kB / 0.5549 GB, free: 8.188 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.001637/0.3761, allocations: 453.6 kB / 0.5554 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.3764, allocations: 73.75 kB / 0.5554 GB, free: 7.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3764, allocations: 4 kB / 0.5554 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.3765, allocations: 39.09 kB / 0.5555 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.3769, allocations: 22.8 kB / 0.5555 GB, free: 7.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/0.3775, allocations: 290.5 kB / 0.5558 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.3779, allocations: 0.7187 MB / 0.5565 GB, free: 6.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.685e-05/0.378, allocations: 23.86 kB / 0.5565 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.378, allocations: 12.84 kB / 0.5565 GB, free: 6.957 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.378, allocations: 0 / 0.5565 GB, free: 6.957 MB / 398.1 MB Notification: Performance of Templates: time 0.004955/0.383, allocations: 1.423 MB / 0.5579 GB, free: 5.996 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.446924403309822]