Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.0009092/0.0009092, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.002104, allocations: 449.7 kB / 10.37 MB, free: 328 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.000722/0.000722, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009929/0.001715, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.087/1.087, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1045/1.191, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.3034/0.3034, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03128/0.3346, allocations: 12.53 MB / 289.3 MB, free: 8.664 MB / 282.7 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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.906e-06/2.906e-06, allocations: 0 / 290.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.576e-05/3.866e-05, allocations: 3.688 kB / 290.6 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003355/0.003394, allocations: 1.681 MB / 292.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.004455, allocations: 0.5406 MB / 292.8 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.259e-05/0.004537, allocations: 0 / 292.8 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.004789, allocations: 35.42 kB / 292.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.005067, allocations: 80.75 kB / 293 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.005381, allocations: 90.62 kB / 293 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.005577, allocations: 61.84 kB / 293.1 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.00571, allocations: 14.16 kB / 293.1 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.005846, allocations: 47.94 kB / 293.2 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.996e-05/0.005936, allocations: 16.86 kB / 293.2 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.005958, allocations: 3.812 kB / 293.2 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.006079, allocations: 31.23 kB / 293.2 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.418e-05/0.006153, allocations: 25.08 kB / 293.2 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.006194, allocations: 10.97 kB / 293.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.006409, allocations: 68.86 kB / 293.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.322e-05/0.006432, allocations: 3.938 kB / 293.3 MB, free: 5.559 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.006435, allocations: 0 / 293.3 MB, free: 5.559 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.006452, allocations: 0 / 293.3 MB, free: 5.559 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.0005719/0.007024, allocations: 300.8 kB / 293.6 MB, free: 5.242 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.007077, allocations: 12.02 kB / 293.6 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.007117, allocations: 4.938 kB / 293.6 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.007399, allocations: 138.2 kB / 293.8 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.007413, allocations: 8.375 kB / 293.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.00744, allocations: 4.312 kB / 293.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.007579, allocations: 58.7 kB / 293.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.007592, allocations: 0 / 293.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.007603, allocations: 0 / 293.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.007609, allocations: 0 / 293.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.841e-05/0.007637, allocations: 7.984 kB / 293.8 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002851/0.007922, allocations: 159.1 kB / 294 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.008123, allocations: 30.5 kB / 294 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.008142, allocations: 8.859 kB / 294 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.008169, allocations: 12 kB / 294.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.008203, allocations: 34.56 kB / 294.1 MB, free: 4.703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.605e-06/0.008206, allocations: 0 / 294.1 MB, free: 4.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003809/0.008587, allocations: 77.64 kB / 294.2 MB, free: 4.621 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.00863, allocations: 55.41 kB / 294.2 MB, free: 4.555 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.008756, allocations: 166.5 kB / 294.4 MB, free: 4.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.008769, allocations: 29.7 kB / 294.4 MB, free: 4.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.008807, allocations: 88.12 kB / 294.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.008833, allocations: 19.78 kB / 294.5 MB, free: 4.234 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.008868, allocations: 21.7 kB / 294.5 MB, free: 4.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.008968, allocations: 326.8 kB / 294.9 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.008986, allocations: 4 kB / 294.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.221e-05/0.008998, allocations: 4 kB / 294.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.009039, allocations: 24.97 kB / 294.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.009041, allocations: 0 / 294.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.895e-05/0.00912, allocations: 53.62 kB / 294.9 MB, free: 3.785 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.009145, allocations: 4 kB / 294.9 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.009155, allocations: 0 / 294.9 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.009168, allocations: 4.266 kB / 294.9 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.009245, allocations: 12 kB / 295 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.009248, allocations: 0 / 295 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.009267, allocations: 8 kB / 295 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.009272, allocations: 3.984 kB / 295 MB, free: 3.754 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 6.794e-05/0.00934, allocations: 112.6 kB / 295.1 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.00936, allocations: 15.92 kB / 295.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.009488, allocations: 58.14 kB / 295.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.009491, allocations: 0 / 295.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.009494, allocations: 0 / 295.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.009497, allocations: 0 / 295.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.009752, allocations: 222.7 kB / 295.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.009754, allocations: 0 / 295.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.009805, allocations: 15.98 kB / 295.4 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.009815, allocations: 7.953 kB / 295.4 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.009819, allocations: 0 / 295.4 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.009826, allocations: 4 kB / 295.4 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.009827, allocations: 192 / 295.4 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.009832, allocations: 4 kB / 295.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.01015, allocations: 143.5 kB / 295.5 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.01016, allocations: 4 kB / 295.5 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.074e-05/0.01019, allocations: 0 / 295.5 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.01023, allocations: 11.94 kB / 295.6 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.01023, allocations: 4 kB / 295.6 MB, free: 3.105 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.155e-05/0.01027, allocations: 42.69 kB / 295.6 MB, free: 3.062 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01027, allocations: 0 / 295.6 MB, free: 3.062 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001408/0.01041, allocations: 23.88 kB / 295.6 MB, free: 3.039 MB / 282.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.001474/0.01189, allocations: 0.5364 MB / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.012, allocations: 24.84 kB / 296.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.01201, allocations: 0 / 296.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.6e-05/0.01203, allocations: 16.8 kB / 296.2 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.01226, allocations: 35.02 kB / 296.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005789/0.01283, allocations: 190.8 kB / 296.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.99e-05/0.01288, allocations: 59.34 kB / 296.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.798e-05/0.01293, allocations: 11.98 kB / 296.5 MB, free: 2.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.01299, allocations: 59.36 kB / 296.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of SimCode: time 1.343e-06/0.01299, allocations: 0 / 296.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of Templates: time 0.004098/0.01709, allocations: 1.262 MB / 297.8 MB, free: 1.125 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1925832303240895]