Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001411/0.001411, allocations: 103.6 kB / 21.19 MB, free: 0.6562 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.001788/0.001788, allocations: 207.6 kB / 24.48 MB, free: 3.957 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.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.98 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.3074/0.3074, allocations: 44.93 MB / 359.6 MB, free: 6.09 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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [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.002374/0.002374, allocations: 71.89 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3387, allocations: 65.48 MB / 0.5582 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003281/0.342, allocations: 1.652 MB / 0.5598 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3431, allocations: 0.5621 MB / 0.5604 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.3432, allocations: 0 / 0.5604 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.3435, allocations: 71.77 kB / 0.5605 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.3438, allocations: 111.6 kB / 0.5606 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.3442, allocations: 183.1 kB / 0.5607 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.3444, allocations: 95.73 kB / 0.5608 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3445, allocations: 12.22 kB / 0.5608 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.3446, allocations: 47.78 kB / 0.5609 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3447, allocations: 59.8 kB / 0.5609 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.3447, allocations: 4 kB / 0.5609 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.3448, allocations: 47.98 kB / 0.561 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.3449, allocations: 31.84 kB / 0.561 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.345, allocations: 31.8 kB / 0.5611 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.3452, allocations: 125.8 kB / 0.5612 GB, free: 4.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3452, allocations: 3.938 kB / 0.5612 GB, free: 4.441 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3452, allocations: 4 kB / 0.5612 GB, free: 4.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3452, allocations: 0 / 0.5612 GB, free: 4.438 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005267/0.3457, allocations: 345.6 kB / 0.5615 GB, free: 4.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3458, allocations: 12.03 kB / 0.5615 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.3458, allocations: 12.89 kB / 0.5615 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.346, allocations: 146.3 kB / 0.5617 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.346, allocations: 8.375 kB / 0.5617 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.346, allocations: 8.359 kB / 0.5617 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.3462, allocations: 77.72 kB / 0.5618 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3463, allocations: 0 / 0.5618 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3463, allocations: 4 kB / 0.5618 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3463, allocations: 0 / 0.5618 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.3464, allocations: 35.97 kB / 0.5618 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.3469, allocations: 272.3 kB / 0.5621 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.3471, allocations: 62.55 kB / 0.5621 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.085e-05/0.3472, allocations: 28.91 kB / 0.5621 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3472, allocations: 4 kB / 0.5622 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.3473, allocations: 30.56 kB / 0.5622 GB, free: 3.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.3473, allocations: 0 / 0.5622 GB, free: 3.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001618/0.3489, allocations: 437 kB / 0.5626 GB, free: 2.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.3489, allocations: 55.41 kB / 0.5626 GB, free: 2.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.3492, allocations: 218.2 kB / 0.5629 GB, free: 2.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.3492, allocations: 29.7 kB / 0.5629 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.505e-05/0.3493, allocations: 108.1 kB / 0.563 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.3494, allocations: 31.7 kB / 0.563 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.3494, allocations: 25.7 kB / 0.563 GB, free: 2.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3496, allocations: 326.8 kB / 0.5634 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.3498, allocations: 51.95 kB / 0.5634 GB, free: 1.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.3499, allocations: 59.95 kB / 0.5635 GB, free: 1.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.3502, allocations: 120.7 kB / 0.5636 GB, free: 1.812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3502, allocations: 3.984 kB / 0.5636 GB, free: 1.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003571/0.3506, allocations: 166 kB / 0.5637 GB, free: 1.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.3506, allocations: 14.34 kB / 0.5638 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3506, allocations: 0 / 0.5638 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3506, allocations: 0 / 0.5638 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.3507, allocations: 31.91 kB / 0.5638 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3507, allocations: 3.938 kB / 0.5638 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.389e-05/0.3508, allocations: 19.98 kB / 0.5638 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.3508, allocations: 0 / 0.5638 GB, free: 1.574 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 (11): * Single equations (assignments): 11 * 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.0001311/0.351, allocations: 137.8 kB / 0.5639 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.351, allocations: 15.84 kB / 0.564 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.3514, allocations: 187 kB / 0.5641 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3514, allocations: 0 / 0.5641 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3515, allocations: 3.938 kB / 0.5641 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3515, allocations: 3.984 kB / 0.5641 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000733/0.3522, allocations: 447.6 kB / 0.5646 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3522, allocations: 0 / 0.5646 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.3523, allocations: 31.97 kB / 0.5646 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3523, allocations: 3.938 kB / 0.5646 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.3523, allocations: 4 kB / 0.5646 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3523, allocations: 7.938 kB / 0.5646 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3523, allocations: 0 / 0.5646 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.3527, allocations: 281.6 kB / 0.5649 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.3528, allocations: 11.89 kB / 0.5649 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.3528, allocations: 0 / 0.5649 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3529, allocations: 15.98 kB / 0.5649 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.3529, allocations: 7.984 kB / 0.5649 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.3529, allocations: 7.938 kB / 0.5649 GB, free: 348 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.3531, allocations: 160.2 kB / 0.5651 GB, free: 188 kB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3531, allocations: 0 / 0.5651 GB, free: 188 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3534, allocations: 31.98 kB / 0.5651 GB, free: 156 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001956/0.3553, allocations: 493.7 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000393/0.3557, allocations: 131.8 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3557, allocations: 0 / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.3559, allocations: 59.91 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.3563, allocations: 23.92 kB / 0.5658 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/0.357, allocations: 354.5 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.3572, allocations: 120.6 kB / 0.5662 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.443e-05/0.3572, allocations: 19.42 kB / 0.5663 GB, free: 15.13 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3572, allocations: 0 / 0.5663 GB, free: 15.13 MB / 414.1 MB Notification: Performance of Templates: time 0.004534/0.3617, allocations: 2.161 MB / 0.5684 GB, free: 12.97 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.053104784805328]