Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.00175/0.00175, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001706/0.001706, allocations: 210.5 kB / 23.72 MB, free: 4.391 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2151/0.2151, allocations: 44.93 MB / 358.8 MB, free: 6.176 MB / 286.1 MB " [Timeout remaining time 180] 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [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.002223/0.002223, allocations: 63.91 kB / 0.4935 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3459, allocations: 65.48 MB / 0.5575 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003256/0.3491, allocations: 1.601 MB / 0.559 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.3513, allocations: 1.232 MB / 0.5602 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.3513, allocations: 0 / 0.5602 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.3516, allocations: 27.86 kB / 0.5603 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.3519, allocations: 83.61 kB / 0.5603 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.3523, allocations: 115.7 kB / 0.5605 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.3524, allocations: 63.84 kB / 0.5605 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3525, allocations: 11.98 kB / 0.5605 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.385e-05/0.3526, allocations: 31.8 kB / 0.5606 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3527, allocations: 27.84 kB / 0.5606 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.3527, allocations: 4 kB / 0.5606 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.3529, allocations: 95.88 kB / 0.5607 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.993e-05/0.353, allocations: 11.94 kB / 0.5607 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.353, allocations: 23.84 kB / 0.5607 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.3533, allocations: 137.9 kB / 0.5608 GB, free: 4.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3533, allocations: 3.938 kB / 0.5608 GB, free: 4.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3533, allocations: 4 kB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.3533, allocations: 0 / 0.5608 GB, free: 4.027 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.0005136/0.3538, allocations: 329.7 kB / 0.5612 GB, free: 3.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3538, allocations: 8.031 kB / 0.5612 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.3539, allocations: 12.89 kB / 0.5612 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.3541, allocations: 134.4 kB / 0.5613 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3541, allocations: 4.375 kB / 0.5613 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3542, allocations: 384 / 0.5613 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.3544, allocations: 101.2 kB / 0.5614 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3544, allocations: 4 kB / 0.5614 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.3544, allocations: 0 / 0.5614 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3544, allocations: 0 / 0.5614 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.3545, allocations: 23.97 kB / 0.5614 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.3549, allocations: 228.5 kB / 0.5617 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.3551, allocations: 50.48 kB / 0.5617 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.3551, allocations: 12.86 kB / 0.5617 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.3552, allocations: 4 kB / 0.5617 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.3552, allocations: 30.56 kB / 0.5618 GB, free: 2.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3552, allocations: 4 kB / 0.5618 GB, free: 2.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005888/0.3558, allocations: 153.5 kB / 0.5619 GB, free: 2.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.3558, allocations: 85.09 kB / 0.562 GB, free: 2.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.356, allocations: 144.8 kB / 0.5621 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.356, allocations: 25.7 kB / 0.5621 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.3561, allocations: 92.14 kB / 0.5622 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.3561, allocations: 23.78 kB / 0.5623 GB, free: 2.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.3561, allocations: 21.72 kB / 0.5623 GB, free: 2.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3563, allocations: 322.8 kB / 0.5626 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.3564, allocations: 19.98 kB / 0.5626 GB, free: 2.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.3565, allocations: 63.41 kB / 0.5627 GB, free: 1.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.3566, allocations: 52.81 kB / 0.5627 GB, free: 1.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3566, allocations: 7.938 kB / 0.5627 GB, free: 1.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001986/0.3568, allocations: 81.56 kB / 0.5628 GB, free: 1.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3568, allocations: 8.031 kB / 0.5628 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3568, allocations: 0 / 0.5628 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3568, allocations: 7.938 kB / 0.5628 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/0.3569, allocations: 16.23 kB / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3569, allocations: 0 / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.228e-05/0.357, allocations: 11.98 kB / 0.5628 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.357, allocations: 0 / 0.5628 GB, free: 1.785 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 (5): * Single equations (assignments): 5 * 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 9.522e-05/0.3571, allocations: 121.8 kB / 0.563 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.3571, allocations: 3.953 kB / 0.563 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.3574, allocations: 110 kB / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3574, allocations: 0 / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3574, allocations: 0 / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3574, allocations: 0 / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.3578, allocations: 302.1 kB / 0.5634 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3578, allocations: 4 kB / 0.5634 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.084e-05/0.3579, allocations: 15.92 kB / 0.5634 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3579, allocations: 0 / 0.5634 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.3579, allocations: 4 kB / 0.5634 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3579, allocations: 0 / 0.5634 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3579, allocations: 4 kB / 0.5634 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.3581, allocations: 183.4 kB / 0.5636 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.3582, allocations: 7.953 kB / 0.5636 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.3582, allocations: 0 / 0.5636 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.853e-05/0.3583, allocations: 7.984 kB / 0.5636 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.3583, allocations: 7.938 kB / 0.5636 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3583, allocations: 0 / 0.5636 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.3584, allocations: 119.2 kB / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3584, allocations: 0 / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.3587, allocations: 35.88 kB / 0.5637 GB, free: 0.7969 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 (5): * Single equations (assignments): 5 * 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.001911/0.3606, allocations: 0.5332 MB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.3608, allocations: 51.95 kB / 0.5643 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3608, allocations: 0 / 0.5643 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.304e-05/0.3609, allocations: 23.98 kB / 0.5643 GB, free: 416 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.3613, allocations: 26.8 kB / 0.5643 GB, free: 396 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.3618, allocations: 169.6 kB / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.874e-05/0.3619, allocations: 84.64 kB / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.574e-05/0.3619, allocations: 23.75 kB / 0.5646 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.362, allocations: 15.42 kB / 0.5646 GB, free: 60 kB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.362, allocations: 0 / 0.5646 GB, free: 60 kB / 398.1 MB Notification: Performance of Templates: time 0.005268/0.3672, allocations: 1.829 MB / 0.5664 GB, free: 14.24 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.215347426012158]