Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.00188/0.00188, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002361/0.002361, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.554/1.554, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2263/0.2263, allocations: 44.92 MB / 359.6 MB, free: 6.297 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.CombiTable2Dv.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") [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.002325/0.002325, allocations: 63.89 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3517, allocations: 65.47 MB / 0.5583 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003497/0.3552, allocations: 1.708 MB / 0.5599 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.3563, allocations: 0.5933 MB / 0.5605 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.3564, allocations: 8 kB / 0.5605 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.3566, allocations: 51.8 kB / 0.5606 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.3569, allocations: 99.58 kB / 0.5607 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.3573, allocations: 187.2 kB / 0.5609 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.3575, allocations: 91.75 kB / 0.5609 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.611e-05/0.3576, allocations: 24.16 kB / 0.561 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.569e-05/0.3577, allocations: 35.84 kB / 0.561 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.3578, allocations: 59.75 kB / 0.5611 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.3578, allocations: 4 kB / 0.5611 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3579, allocations: 43.98 kB / 0.5611 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.884e-05/0.358, allocations: 31.91 kB / 0.5611 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.574e-05/0.358, allocations: 31.73 kB / 0.5612 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.3582, allocations: 117.9 kB / 0.5613 GB, free: 4.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.3582, allocations: 0 / 0.5613 GB, free: 4.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3582, allocations: 8 kB / 0.5613 GB, free: 4.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.3582, allocations: 0 / 0.5613 GB, free: 4.641 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.0005136/0.3588, allocations: 353.5 kB / 0.5616 GB, free: 4.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.3588, allocations: 8.031 kB / 0.5616 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.3588, allocations: 12.84 kB / 0.5616 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.359, allocations: 150.3 kB / 0.5618 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.359, allocations: 4.312 kB / 0.5618 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.3591, allocations: 4.375 kB / 0.5618 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.3592, allocations: 73.8 kB / 0.5619 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3593, allocations: 0 / 0.5619 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.3593, allocations: 0 / 0.5619 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3593, allocations: 0 / 0.5619 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.3594, allocations: 43.95 kB / 0.5619 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.3599, allocations: 291.8 kB / 0.5622 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.3601, allocations: 58.55 kB / 0.5622 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.3602, allocations: 28.97 kB / 0.5623 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.3602, allocations: 4 kB / 0.5623 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.3603, allocations: 34.59 kB / 0.5623 GB, free: 3.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3603, allocations: 0 / 0.5623 GB, free: 3.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001521/0.3618, allocations: 425 kB / 0.5627 GB, free: 3.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.3618, allocations: 63.28 kB / 0.5628 GB, free: 2.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.362, allocations: 191.3 kB / 0.5629 GB, free: 2.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.362, allocations: 25.7 kB / 0.563 GB, free: 2.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.3621, allocations: 112.1 kB / 0.5631 GB, free: 2.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/0.3622, allocations: 47.62 kB / 0.5631 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.3622, allocations: 25.66 kB / 0.5631 GB, free: 2.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.3624, allocations: 326.8 kB / 0.5635 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.3626, allocations: 51.95 kB / 0.5635 GB, free: 2.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.3627, allocations: 51.95 kB / 0.5636 GB, free: 2.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.363, allocations: 132.7 kB / 0.5637 GB, free: 1.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.363, allocations: 0 / 0.5637 GB, free: 1.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003481/0.3633, allocations: 169.5 kB / 0.5638 GB, free: 1.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3633, allocations: 4 kB / 0.5638 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3633, allocations: 0 / 0.5638 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3634, allocations: 0 / 0.5638 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.3635, allocations: 31.92 kB / 0.5639 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3635, allocations: 4 kB / 0.5639 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.3635, allocations: 11.98 kB / 0.5639 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.3636, allocations: 4 kB / 0.5639 GB, free: 1.766 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.0001106/0.3637, allocations: 133.8 kB / 0.564 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.3637, allocations: 15.89 kB / 0.564 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.3641, allocations: 191.4 kB / 0.5642 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3641, allocations: 7.938 kB / 0.5642 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3641, allocations: 0.5625 kB / 0.5642 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3641, allocations: 0 / 0.5642 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000754/0.3649, allocations: 475.1 kB / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3649, allocations: 0 / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.365, allocations: 31.92 kB / 0.5647 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.365, allocations: 4 kB / 0.5647 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.365, allocations: 7.984 kB / 0.5647 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.365, allocations: 4 kB / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.365, allocations: 0 / 0.5647 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.3655, allocations: 277.1 kB / 0.565 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.3655, allocations: 11.91 kB / 0.565 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.3655, allocations: 3.938 kB / 0.565 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3656, allocations: 15.98 kB / 0.565 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.3657, allocations: 15.92 kB / 0.565 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3657, allocations: 4 kB / 0.565 GB, free: 500 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.3658, allocations: 149.8 kB / 0.5652 GB, free: 352 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3658, allocations: 96 / 0.5652 GB, free: 352 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.3661, allocations: 31.88 kB / 0.5652 GB, free: 320 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.001729/0.3678, allocations: 456.1 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003787/0.3682, allocations: 131.8 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3682, allocations: 0 / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.3684, allocations: 68.02 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.3688, allocations: 28.08 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/0.3694, allocations: 337.8 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.3697, allocations: 0.7158 MB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.3698, allocations: 19.44 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3698, allocations: 0 / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of Templates: time 0.004276/0.3741, allocations: 2.082 MB / 0.5689 GB, free: 12.61 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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: 7.8988396800123155]