Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001593/0.001593, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001407/0.001407, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.525/1.525, allocations: 230.6 MB / 258.3 MB, free: 8.18 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.2288/0.2288, allocations: 44.91 MB / 359.6 MB, free: 6.312 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.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.CombiTable1Dv.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.Test16") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 67.91 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3453, allocations: 65.46 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003204/0.3485, allocations: 1.64 MB / 0.5599 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.3496, allocations: 0.5621 MB / 0.5604 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.211e-05/0.3496, allocations: 0 / 0.5604 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.3499, allocations: 79.7 kB / 0.5605 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.3502, allocations: 103.6 kB / 0.5606 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.3506, allocations: 119.3 kB / 0.5607 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.3508, allocations: 91.73 kB / 0.5608 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3509, allocations: 11.66 kB / 0.5608 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.948e-05/0.3509, allocations: 35.91 kB / 0.5608 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.3511, allocations: 63.73 kB / 0.5609 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.3511, allocations: 4 kB / 0.5609 GB, free: 5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.715e-05/0.3512, allocations: 43.98 kB / 0.5609 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.3512, allocations: 27.8 kB / 0.561 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/0.3513, allocations: 39.73 kB / 0.561 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.3515, allocations: 98.31 kB / 0.5611 GB, free: 4.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3515, allocations: 4 kB / 0.5611 GB, free: 4.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3515, allocations: 0 / 0.5611 GB, free: 4.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.3515, allocations: 0 / 0.5611 GB, free: 4.793 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.0005196/0.352, allocations: 341.6 kB / 0.5614 GB, free: 4.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3521, allocations: 8.031 kB / 0.5614 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.3521, allocations: 20.84 kB / 0.5615 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.3523, allocations: 150.9 kB / 0.5616 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3523, allocations: 8.375 kB / 0.5616 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3524, allocations: 4.375 kB / 0.5616 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3525, allocations: 53.81 kB / 0.5617 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3525, allocations: 0 / 0.5617 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3525, allocations: 0 / 0.5617 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3526, allocations: 7.984 kB / 0.5617 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.711e-05/0.3526, allocations: 19.98 kB / 0.5617 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.3531, allocations: 283.8 kB / 0.562 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.3532, allocations: 42.56 kB / 0.562 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.881e-05/0.3533, allocations: 20.94 kB / 0.562 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3533, allocations: 4 kB / 0.562 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.3533, allocations: 30.56 kB / 0.5621 GB, free: 3.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 4.299e-06/0.3533, allocations: 3.984 kB / 0.5621 GB, free: 3.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000926/0.3542, allocations: 241.3 kB / 0.5623 GB, free: 3.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.3543, allocations: 55.34 kB / 0.5623 GB, free: 3.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.3545, allocations: 210.2 kB / 0.5625 GB, free: 3.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3545, allocations: 33.7 kB / 0.5626 GB, free: 3.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.3546, allocations: 112 kB / 0.5627 GB, free: 3.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.3546, allocations: 31.73 kB / 0.5627 GB, free: 2.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.3547, allocations: 17.72 kB / 0.5627 GB, free: 2.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3548, allocations: 322.8 kB / 0.563 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/0.3549, allocations: 31.97 kB / 0.5631 GB, free: 2.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.502e-05/0.355, allocations: 35.92 kB / 0.5631 GB, free: 2.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.3551, allocations: 76.81 kB / 0.5632 GB, free: 2.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3551, allocations: 0 / 0.5632 GB, free: 2.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002234/0.3554, allocations: 113.5 kB / 0.5633 GB, free: 2.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3554, allocations: 4 kB / 0.5633 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3554, allocations: 0 / 0.5633 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3554, allocations: 0 / 0.5633 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3555, allocations: 19.98 kB / 0.5633 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3555, allocations: 320 / 0.5633 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/0.3556, allocations: 19.92 kB / 0.5633 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3556, allocations: 3.938 kB / 0.5633 GB, free: 2.324 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.0001116/0.3557, allocations: 129.8 kB / 0.5635 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.3557, allocations: 15.91 kB / 0.5635 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.356, allocations: 127 kB / 0.5636 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.356, allocations: 4 kB / 0.5636 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.356, allocations: 0 / 0.5636 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.356, allocations: 3.938 kB / 0.5636 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.3566, allocations: 394.3 kB / 0.564 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3566, allocations: 0 / 0.564 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.877e-05/0.3567, allocations: 27.98 kB / 0.564 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3567, allocations: 3.938 kB / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3567, allocations: 0 / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3567, allocations: 0 / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3567, allocations: 4 kB / 0.564 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.357, allocations: 216.3 kB / 0.5642 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.357, allocations: 15.84 kB / 0.5642 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.357, allocations: 0 / 0.5642 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.3571, allocations: 7.984 kB / 0.5642 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.3571, allocations: 8 kB / 0.5642 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.3571, allocations: 4 kB / 0.5642 GB, free: 1.285 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.3573, allocations: 172.2 kB / 0.5644 GB, free: 1.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3573, allocations: 0 / 0.5644 GB, free: 1.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.3575, allocations: 20 kB / 0.5644 GB, free: 1.098 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.00175/0.3593, allocations: 458.5 kB / 0.5649 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.3595, allocations: 75.89 kB / 0.5649 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3595, allocations: 0 / 0.5649 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.905e-05/0.3596, allocations: 43.91 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.36, allocations: 17.61 kB / 0.565 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005875/0.3606, allocations: 304.8 kB / 0.5653 GB, free: 372 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.361, allocations: 0.7119 MB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.361, allocations: 15.44 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.361, allocations: 0 / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of Templates: time 0.004014/0.365, allocations: 1.829 MB / 0.5678 GB, free: 13.78 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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: 8.0717082999181]