Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.002011/0.002011, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001886/0.001886, allocations: 208.6 kB / 23.73 MB, free: 4.523 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2499/0.2499, allocations: 46.96 MB / 360.9 MB, free: 4.129 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 71.89 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3604, allocations: 66.04 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003425/0.3638, allocations: 1.613 MB / 0.5627 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.365, allocations: 0.5183 MB / 0.5632 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.365, allocations: 0 / 0.5632 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006139/0.3656, allocations: 459.1 kB / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005371/0.3662, allocations: 295.3 kB / 0.5639 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.3666, allocations: 127.4 kB / 0.564 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.3668, allocations: 167.7 kB / 0.5642 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.3669, allocations: 8 kB / 0.5642 GB, free: 1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.3671, allocations: 119.6 kB / 0.5643 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.3674, allocations: 243.5 kB / 0.5645 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.3674, allocations: 4 kB / 0.5645 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.527e-05/0.3675, allocations: 16 kB / 0.5645 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.3676, allocations: 91.67 kB / 0.5646 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.933e-05/0.3677, allocations: 67.25 kB / 0.5647 GB, free: 480 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.3681, allocations: 273 kB / 0.565 GB, free: 212 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3681, allocations: 0 / 0.565 GB, free: 212 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3681, allocations: 0 / 0.565 GB, free: 212 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.3681, allocations: 0 / 0.565 GB, free: 212 kB / 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.0009133/0.369, allocations: 0.574 MB / 0.5655 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.369, allocations: 8.031 kB / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.175e-05/0.3691, allocations: 44.66 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.3695, allocations: 234.8 kB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3695, allocations: 4.375 kB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.3695, allocations: 8.312 kB / 0.5658 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.3697, allocations: 58.72 kB / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3697, allocations: 0 / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3697, allocations: 0 / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.3697, allocations: 4 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.3699, allocations: 31.97 kB / 0.5659 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.3704, allocations: 332.4 kB / 0.5662 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.3706, allocations: 38.56 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.379e-05/0.3706, allocations: 24.88 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.3707, allocations: 4 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.3707, allocations: 30.56 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3707, allocations: 0 / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004359/0.3711, allocations: 121.4 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.3712, allocations: 51.41 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.3723, allocations: 0.8691 MB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3723, allocations: 25.7 kB / 0.5673 GB, free: 13.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.3725, allocations: 220 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.3725, allocations: 3.953 kB / 0.5676 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.3726, allocations: 13.72 kB / 0.5676 GB, free: 13.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002357/0.3728, allocations: 362.8 kB / 0.5679 GB, free: 13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.3729, allocations: 15.92 kB / 0.5679 GB, free: 12.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.3729, allocations: 19.98 kB / 0.5679 GB, free: 12.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.3731, allocations: 44.77 kB / 0.568 GB, free: 12.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3731, allocations: 0 / 0.568 GB, free: 12.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002342/0.3733, allocations: 109.7 kB / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3733, allocations: 4 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3733, allocations: 0 / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3734, allocations: 0 / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.3734, allocations: 11.98 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.3735, allocations: 3.938 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.074e-05/0.3735, allocations: 4 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3735, allocations: 7.984 kB / 0.5681 GB, free: 12.78 MB / 414.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 (3): * Single equations (assignments): 3 * 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.0002395/0.3738, allocations: 217.7 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.3738, allocations: 43.72 kB / 0.5684 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.3741, allocations: 113.1 kB / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3741, allocations: 4 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/0.3741, allocations: 7.922 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3741, allocations: 0 / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.3744, allocations: 229.2 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.3744, allocations: 4 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.3745, allocations: 12 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3745, allocations: 0 / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.3745, allocations: 7.984 kB / 0.5687 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3745, allocations: 3.938 kB / 0.5687 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3745, allocations: 0 / 0.5687 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.3748, allocations: 199.2 kB / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.3748, allocations: 35.72 kB / 0.569 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.3749, allocations: 3.984 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.657e-05/0.375, allocations: 8 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.375, allocations: 4 kB / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.375, allocations: 0 / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006967/0.3757, allocations: 0.655 MB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3757, allocations: 0 / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.3759, allocations: 19.94 kB / 0.5696 GB, free: 11.16 MB / 414.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 (3): * Single equations (assignments): 3 * 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.001443/0.3774, allocations: 379.6 kB / 0.57 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.3776, allocations: 39.91 kB / 0.57 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3776, allocations: 0 / 0.57 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.512e-05/0.3777, allocations: 19.92 kB / 0.5701 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.3781, allocations: 25.89 kB / 0.5701 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.3794, allocations: 0.7985 MB / 0.5709 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.3797, allocations: 216.2 kB / 0.5711 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.523e-05/0.3797, allocations: 15.72 kB / 0.5711 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.3797, allocations: 15.42 kB / 0.5711 GB, free: 9.766 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3797, allocations: 0 / 0.5711 GB, free: 9.766 MB / 414.1 MB Notification: Performance of Templates: time 0.005603/0.3853, allocations: 1.495 MB / 0.5726 GB, free: 8.285 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.414132714271545]