Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001065/0.001065, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001416/0.002481, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000714/0.000714, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.001802, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.067/1.067, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0919/1.159, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.2522/0.2522, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02501/0.2772, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.7 MB " [Timeout remaining time 180] 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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 292.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.432e-05, allocations: 5.141 kB / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002008/0.002022, allocations: 1.678 MB / 294.5 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.003368, allocations: 1.333 MB / 295.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.003425, allocations: 0 / 295.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.003563, allocations: 31.77 kB / 295.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.003792, allocations: 75.52 kB / 296 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.004056, allocations: 131.5 kB / 296.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.004186, allocations: 63.84 kB / 296.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.265e-05/0.004269, allocations: 15.92 kB / 296.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.004372, allocations: 51.89 kB / 296.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.004482, allocations: 31.83 kB / 296.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.004499, allocations: 4 kB / 296.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.004661, allocations: 91.89 kB / 296.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.004699, allocations: 7.938 kB / 296.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.00472, allocations: 8 kB / 296.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.00491, allocations: 135.5 kB / 296.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.004921, allocations: 0 / 296.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004922, allocations: 0 / 296.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.004934, allocations: 4 kB / 296.5 MB, free: 2.52 MB / 282.7 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.0004303/0.005365, allocations: 309.2 kB / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.005398, allocations: 15.97 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.005434, allocations: 4.938 kB / 296.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.005579, allocations: 129.7 kB / 297 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.005589, allocations: 4.375 kB / 297 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.005611, allocations: 4.375 kB / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.00573, allocations: 98.36 kB / 297.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.005738, allocations: 192 / 297.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.005746, allocations: 4.125 kB / 297.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.005751, allocations: 0 / 297.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.926e-05/0.00577, allocations: 8 kB / 297.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.005982, allocations: 174.9 kB / 297.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.006105, allocations: 33.39 kB / 297.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.448e-05/0.00612, allocations: 4.859 kB / 297.3 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.006137, allocations: 4 kB / 297.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.006159, allocations: 34.72 kB / 297.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.00616, allocations: 4 kB / 297.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002683/0.006428, allocations: 85.52 kB / 297.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.006451, allocations: 51.41 kB / 297.5 MB, free: 1.445 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.006553, allocations: 144.4 kB / 297.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.006566, allocations: 29.7 kB / 297.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.006601, allocations: 88.09 kB / 297.7 MB, free: 1.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.006626, allocations: 23.81 kB / 297.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.006655, allocations: 17.72 kB / 297.8 MB, free: 1.117 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002734/0.006928, allocations: 322.8 kB / 298.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.006941, allocations: 8 kB / 298.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.962e-05/0.006971, allocations: 47.42 kB / 298.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.701e-05/0.006998, allocations: 19.67 kB / 298.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.006999, allocations: 0 / 298.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.261e-05/0.007052, allocations: 49.62 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.007062, allocations: 4 kB / 298.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.007065, allocations: 0 / 298.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.007077, allocations: 0 / 298.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.78e-05/0.007124, allocations: 23.92 kB / 298.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.007127, allocations: 0 / 298.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.007146, allocations: 7.938 kB / 298.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.00715, allocations: 4.031 kB / 298.2 MB, free: 0.6094 MB / 282.7 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 5.707e-05/0.007207, allocations: 112.7 kB / 298.3 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.007224, allocations: 7.938 kB / 298.3 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.733e-05/0.007311, allocations: 66.12 kB / 298.4 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.007312, allocations: 0 / 298.4 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.007314, allocations: 0 / 298.4 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.007317, allocations: 0 / 298.4 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.007492, allocations: 211 kB / 298.6 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.007495, allocations: 4 kB / 298.6 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.007528, allocations: 19.98 kB / 298.6 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.007537, allocations: 11.95 kB / 298.7 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.00754, allocations: 4.281 kB / 298.7 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-06/0.007544, allocations: 0 / 298.7 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.007545, allocations: 0 / 298.7 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007546, allocations: 0 / 298.7 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.325e-05/0.007629, allocations: 151.4 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.007641, allocations: 4 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.175e-05/0.007672, allocations: 4 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.007697, allocations: 3.984 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.007702, allocations: 4 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.424e-05/0.007736, allocations: 33.84 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007736, allocations: 4 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.0079, allocations: 35.88 kB / 298.9 MB, free: 15.88 MB / 298.7 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.001533/0.009433, allocations: 0.6969 MB / 299.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.595e-05/0.009509, allocations: 20.86 kB / 299.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.009514, allocations: 4 kB / 299.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.679e-05/0.009541, allocations: 20.78 kB / 299.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.009721, allocations: 95.25 kB / 299.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.01009, allocations: 170.6 kB / 299.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.97e-05/0.01013, allocations: 62.59 kB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.931e-05/0.01017, allocations: 11.86 kB / 300 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.01024, allocations: 63.36 kB / 300 MB, free: 15.05 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01024, allocations: 0 / 300 MB, free: 15.05 MB / 298.7 MB Notification: Performance of Templates: time 0.003303/0.01354, allocations: 2.042 MB / 302.1 MB, free: 13.02 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8702920638024807]