Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001272/0.001272, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001372/0.001372, allocations: 168.6 kB / 24.5 MB, free: 3.453 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.449/1.449, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.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.2121/0.2121, allocations: 32.81 MB / 294.1 MB, free: 60 kB / 270.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") [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.002324/0.002324, allocations: 71.89 kB / 440.6 MB, free: 9.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3278, allocations: 65.43 MB / 0.4942 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002646/0.3304, allocations: 1.687 MB / 0.4958 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008722/0.3313, allocations: 0.5717 MB / 0.4964 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.3314, allocations: 0 / 0.4964 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.3319, allocations: 452.6 kB / 0.4968 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.3322, allocations: 292.6 kB / 0.4971 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.3326, allocations: 177.5 kB / 0.4972 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.3328, allocations: 186.4 kB / 0.4974 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3329, allocations: 14.97 kB / 0.4974 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.937e-05/0.333, allocations: 123.8 kB / 0.4976 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.3332, allocations: 248 kB / 0.4978 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.3332, allocations: 3.062 kB / 0.4978 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.21e-05/0.3333, allocations: 51.22 kB / 0.4978 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.251e-05/0.3334, allocations: 91.14 kB / 0.4979 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.242e-05/0.3334, allocations: 78.77 kB / 0.498 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.3337, allocations: 287.3 kB / 0.4983 GB, free: 29.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3337, allocations: 4 kB / 0.4983 GB, free: 29.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3337, allocations: 0 / 0.4983 GB, free: 29.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3337, allocations: 0 / 0.4983 GB, free: 29.46 MB / 446.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.0005694/0.3342, allocations: 0.5938 MB / 0.4989 GB, free: 28.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.3343, allocations: 13.19 kB / 0.4989 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.3343, allocations: 43.22 kB / 0.4989 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.3345, allocations: 253.9 kB / 0.4992 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.3345, allocations: 3.25 kB / 0.4992 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.3346, allocations: 7.406 kB / 0.4992 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.3347, allocations: 71.09 kB / 0.4992 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3348, allocations: 0 / 0.4992 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3348, allocations: 0 / 0.4992 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3348, allocations: 3.125 kB / 0.4992 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.3349, allocations: 48.22 kB / 0.4993 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.3353, allocations: 357.3 kB / 0.4996 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.3356, allocations: 58.41 kB / 0.4997 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.88e-05/0.3356, allocations: 31.45 kB / 0.4997 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.3357, allocations: 3.25 kB / 0.4997 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.3357, allocations: 30.56 kB / 0.4997 GB, free: 28.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.3357, allocations: 0 / 0.4997 GB, free: 28.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001398/0.3371, allocations: 0.4949 MB / 0.5002 GB, free: 28.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.3371, allocations: 55.41 kB / 0.5003 GB, free: 28.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006235/0.3377, allocations: 0.8686 MB / 0.5011 GB, free: 27.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.3377, allocations: 29.7 kB / 0.5012 GB, free: 27.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3378, allocations: 215.3 kB / 0.5014 GB, free: 27.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.3379, allocations: 38.48 kB / 0.5014 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.3379, allocations: 26.83 kB / 0.5014 GB, free: 27.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.242e-05/0.338, allocations: 360.8 kB / 0.5018 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3381, allocations: 51.27 kB / 0.5018 GB, free: 27.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.3382, allocations: 64.38 kB / 0.5019 GB, free: 27.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.3385, allocations: 125.3 kB / 0.502 GB, free: 27.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3385, allocations: 4 kB / 0.502 GB, free: 27.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003391/0.3388, allocations: 200.8 kB / 0.5022 GB, free: 26.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3388, allocations: 6.875 kB / 0.5022 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3388, allocations: 0 / 0.5022 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3388, allocations: 4 kB / 0.5022 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3389, allocations: 36.27 kB / 0.5022 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.339, allocations: 3.938 kB / 0.5022 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.303e-05/0.339, allocations: 9.531 kB / 0.5023 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.339, allocations: 2.844 kB / 0.5023 GB, free: 26.96 MB / 446.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.0001332/0.3392, allocations: 222.6 kB / 0.5025 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.3392, allocations: 43.19 kB / 0.5025 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.3396, allocations: 235.7 kB / 0.5027 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3396, allocations: 7.125 kB / 0.5027 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3396, allocations: 3.938 kB / 0.5027 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3396, allocations: 0 / 0.5027 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000624/0.3402, allocations: 0.5199 MB / 0.5033 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.3402, allocations: 4.062 kB / 0.5033 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.911e-05/0.3403, allocations: 30.47 kB / 0.5033 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3403, allocations: 7.125 kB / 0.5033 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3404, allocations: 4 kB / 0.5033 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3404, allocations: 3.156 kB / 0.5033 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3404, allocations: 0 / 0.5033 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.3407, allocations: 309.6 kB / 0.5036 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.3407, allocations: 40.62 kB / 0.5036 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.3408, allocations: 3.031 kB / 0.5036 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3409, allocations: 12.88 kB / 0.5036 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3409, allocations: 8.859 kB / 0.5037 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3409, allocations: 6.234 kB / 0.5037 GB, free: 26.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004687/0.3414, allocations: 0.6535 MB / 0.5043 GB, free: 25.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3414, allocations: 0 / 0.5043 GB, free: 25.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.3417, allocations: 29.56 kB / 0.5043 GB, free: 25.84 MB / 446.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.001792/0.3434, allocations: 0.5012 MB / 0.5048 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.3438, allocations: 122.1 kB / 0.5049 GB, free: 25.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3438, allocations: 4 kB / 0.5049 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.3439, allocations: 68.92 kB / 0.505 GB, free: 25.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.3443, allocations: 30.7 kB / 0.505 GB, free: 25.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009238/0.3452, allocations: 0.8893 MB / 0.5059 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.3454, allocations: 232.3 kB / 0.5061 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.654e-05/0.3455, allocations: 29.31 kB / 0.5062 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.3455, allocations: 18.47 kB / 0.5062 GB, free: 25.02 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3455, allocations: 0 / 0.5062 GB, free: 25.02 MB / 446.1 MB Notification: Performance of Templates: time 0.004858/0.3504, allocations: 1.779 MB / 0.5079 GB, free: 24.75 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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: 4.878879213007167]