Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001858/0.001858, 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.002333/0.002333, allocations: 168.9 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.45/1.45, allocations: 177.2 MB / 204.9 MB, free: 9.035 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.2093/0.2093, allocations: 32.81 MB / 294.1 MB, free: 44 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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [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.002126/0.002126, allocations: 66.41 kB / 440.6 MB, free: 9.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3244, allocations: 65.44 MB / 0.4942 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002542/0.327, allocations: 1.618 MB / 0.4957 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007708/0.3277, allocations: 0.5213 MB / 0.4962 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.301e-05/0.3278, allocations: 3.938 kB / 0.4963 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.3282, allocations: 453.5 kB / 0.4967 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.3286, allocations: 291.2 kB / 0.497 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.3289, allocations: 134.2 kB / 0.4971 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.3291, allocations: 169.4 kB / 0.4973 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.3291, allocations: 6.562 kB / 0.4973 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.94e-05/0.3292, allocations: 114.7 kB / 0.4974 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.3294, allocations: 243.5 kB / 0.4976 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3294, allocations: 3.188 kB / 0.4976 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.25e-05/0.3295, allocations: 28.23 kB / 0.4976 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.608e-05/0.3296, allocations: 78.03 kB / 0.4977 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.3296, allocations: 67.08 kB / 0.4978 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.3299, allocations: 267.4 kB / 0.498 GB, free: 29.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3299, allocations: 0 / 0.498 GB, free: 29.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3299, allocations: 0 / 0.498 GB, free: 29.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.3299, allocations: 0 / 0.498 GB, free: 29.51 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005949/0.3305, allocations: 0.5719 MB / 0.4986 GB, free: 29.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3305, allocations: 9.5 kB / 0.4986 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.902e-05/0.3306, allocations: 51.8 kB / 0.4986 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.3308, allocations: 248.3 kB / 0.4989 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.3308, allocations: 3.812 kB / 0.4989 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.3308, allocations: 384 / 0.4989 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.331, allocations: 57.56 kB / 0.4989 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.331, allocations: 0 / 0.4989 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.331, allocations: 4 kB / 0.4989 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.331, allocations: 3.125 kB / 0.4989 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.3311, allocations: 26.52 kB / 0.499 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.3314, allocations: 326.3 kB / 0.4993 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3315, allocations: 45.84 kB / 0.4993 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.157e-05/0.3316, allocations: 21.59 kB / 0.4993 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.3316, allocations: 0 / 0.4993 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.353e-05/0.3316, allocations: 33.72 kB / 0.4994 GB, free: 28.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.3316, allocations: 0 / 0.4994 GB, free: 28.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000314/0.3319, allocations: 119.1 kB / 0.4995 GB, free: 28.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.332, allocations: 51.41 kB / 0.4995 GB, free: 28.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006352/0.3326, allocations: 0.8713 MB / 0.5004 GB, free: 27.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.3326, allocations: 25.7 kB / 0.5004 GB, free: 27.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3327, allocations: 213.5 kB / 0.5006 GB, free: 27.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.3327, allocations: 3.953 kB / 0.5006 GB, free: 27.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.3328, allocations: 16.72 kB / 0.5006 GB, free: 27.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.972e-05/0.3328, allocations: 363.6 kB / 0.501 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.3329, allocations: 20.36 kB / 0.501 GB, free: 27.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.921e-05/0.333, allocations: 13.17 kB / 0.501 GB, free: 27.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.3331, allocations: 46.38 kB / 0.5011 GB, free: 27.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3331, allocations: 0 / 0.5011 GB, free: 27.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001642/0.3332, allocations: 108 kB / 0.5012 GB, free: 27.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.3332, allocations: 3.312 kB / 0.5012 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3332, allocations: 0 / 0.5012 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3333, allocations: 3.125 kB / 0.5012 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.3333, allocations: 9.516 kB / 0.5012 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.3334, allocations: 3.938 kB / 0.5012 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.3334, allocations: 3.25 kB / 0.5012 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.3334, allocations: 4 kB / 0.5012 GB, free: 27.29 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 (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.0001259/0.3335, allocations: 220.5 kB / 0.5014 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.3336, allocations: 43.56 kB / 0.5014 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.3338, allocations: 120.8 kB / 0.5016 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3338, allocations: 3.094 kB / 0.5016 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3338, allocations: 0 / 0.5016 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3338, allocations: 3.469 kB / 0.5016 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.334, allocations: 235 kB / 0.5018 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.334, allocations: 7.938 kB / 0.5018 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.937e-05/0.334, allocations: 10.05 kB / 0.5018 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.334, allocations: 0 / 0.5018 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.334, allocations: 3.281 kB / 0.5018 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.334, allocations: 3.938 kB / 0.5018 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.334, allocations: 0 / 0.5018 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.3342, allocations: 203.7 kB / 0.502 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.3342, allocations: 33.47 kB / 0.502 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.3343, allocations: 4 kB / 0.502 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.3344, allocations: 10.73 kB / 0.502 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.3344, allocations: 0 / 0.502 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.3344, allocations: 3.406 kB / 0.5021 GB, free: 26.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004387/0.3348, allocations: 0.6494 MB / 0.5027 GB, free: 26.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3348, allocations: 0 / 0.5027 GB, free: 26.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.3351, allocations: 23.84 kB / 0.5027 GB, free: 26.44 MB / 446.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.001301/0.3364, allocations: 374.5 kB / 0.5031 GB, free: 26.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.3365, allocations: 41.94 kB / 0.5031 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3365, allocations: 0 / 0.5031 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.698e-05/0.3366, allocations: 16.53 kB / 0.5031 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.337, allocations: 26.2 kB / 0.5031 GB, free: 26.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008669/0.3378, allocations: 0.801 MB / 0.5039 GB, free: 25.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.338, allocations: 212.5 kB / 0.5041 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.464e-05/0.338, allocations: 12.89 kB / 0.5041 GB, free: 25.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.3381, allocations: 11.5 kB / 0.5042 GB, free: 25.77 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3381, allocations: 0 / 0.5042 GB, free: 25.77 MB / 446.1 MB Notification: Performance of Templates: time 0.004274/0.3423, allocations: 1.141 MB / 0.5053 GB, free: 25.54 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.90988454699982]