Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.00121/0.00121, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001463/0.001463, allocations: 161 kB / 24.55 MB, free: 20 kB / 18.57 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.034/1.034, allocations: 177.1 MB / 205 MB, free: 5.273 MB / 186.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.2768/0.2768, allocations: 32.81 MB / 294.3 MB, free: 1.23 MB / 266.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.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.459e-05, allocations: 5.547 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.002612/0.002637, allocations: 2.039 MB / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.004075, allocations: 1.012 MB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.526e-05/0.00417, allocations: 3.938 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004047/0.004575, allocations: 270.9 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003872/0.004962, allocations: 262.9 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.00556, allocations: 478.8 kB / 380.1 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.005872, allocations: 335 kB / 380.4 MB, free: 264 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.006024, allocations: 48.89 kB / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.006173, allocations: 179.5 kB / 380.6 MB, free: 36 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.006361, allocations: 191.5 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.006386, allocations: 16 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.00652, allocations: 103.8 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.006622, allocations: 99.61 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.006676, allocations: 51.72 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.006951, allocations: 266.8 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.006955, allocations: 3.984 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006955, allocations: 0 / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.006961, allocations: 0 / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005848/0.007546, allocations: 0.6931 MB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.007582, allocations: 11.98 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.00765, allocations: 60.59 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.007883, allocations: 270.8 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.007895, allocations: 8.375 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.007928, allocations: 16.33 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.008083, allocations: 99.56 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.008095, allocations: 192 / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.008108, allocations: 8.125 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.008118, allocations: 4 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.668e-05/0.008184, allocations: 40.56 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.008648, allocations: 467.3 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.008832, allocations: 78.97 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.008868, allocations: 27.67 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.008894, allocations: 4 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.008918, allocations: 41.39 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.008919, allocations: 224 / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006123/0.009531, allocations: 330.9 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.009567, allocations: 51.41 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.009932, allocations: 482.7 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.009946, allocations: 29.7 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.01007, allocations: 259.2 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.01011, allocations: 63.47 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.01015, allocations: 43.38 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.01029, allocations: 0.5313 MB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.47e-05/0.01034, allocations: 31.89 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/0.01038, allocations: 23.98 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.41e-05/0.01047, allocations: 79.61 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.01047, allocations: 4 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001695/0.01064, allocations: 158.8 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.01065, allocations: 11.94 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01066, allocations: 0 / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.01067, allocations: 0 / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.01078, allocations: 35.98 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.01079, allocations: 0 / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.01082, allocations: 15.92 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.01083, allocations: 4 kB / 385.3 MB, free: 11.18 MB / 362.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 (17): * Single equations (assignments): 17 * 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 7.913e-05/0.01091, allocations: 156.6 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.01095, allocations: 51.72 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.01119, allocations: 187.9 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01119, allocations: 0 / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.0112, allocations: 0 / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.0112, allocations: 7.938 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.01166, allocations: 0.5673 MB / 386.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01166, allocations: 0 / 386.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.01172, allocations: 27.98 kB / 386.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01173, allocations: 0 / 386.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.01174, allocations: 4 kB / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01174, allocations: 0 / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01174, allocations: 0 / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.01195, allocations: 329.6 kB / 386.6 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.01197, allocations: 27.77 kB / 386.6 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.01199, allocations: 0 / 386.6 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-05/0.01203, allocations: 12 kB / 386.6 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.01207, allocations: 11.97 kB / 386.6 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.01208, allocations: 11.98 kB / 386.6 MB, free: 9.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001997/0.01228, allocations: 327 kB / 387 MB, free: 9.406 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01228, allocations: 0 / 387 MB, free: 9.406 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001927/0.01247, allocations: 51.89 kB / 387 MB, free: 9.355 MB / 362.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 (17): * Single equations (assignments): 17 * 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.01391, allocations: 0.6569 MB / 387.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.01408, allocations: 95.48 kB / 387.8 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01408, allocations: 0 / 387.8 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.068e-05/0.01414, allocations: 62.56 kB / 387.8 MB, free: 8.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.01446, allocations: 87.78 kB / 387.9 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.01512, allocations: 0.5807 MB / 388.5 MB, free: 8.129 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.877e-05/0.01519, allocations: 112.3 kB / 388.6 MB, free: 8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.386e-05/0.01526, allocations: 49.89 kB / 388.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.01531, allocations: 28.5 kB / 388.7 MB, free: 7.926 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01531, allocations: 0 / 388.7 MB, free: 7.926 MB / 362.7 MB Notification: Performance of Templates: time 0.00561/0.02092, allocations: 3.341 MB / 392 MB, free: 4.629 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.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.4409012040123343]