Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001446/0.001446, allocations: 73.72 kB / 21.24 MB, free: 0.5547 MB / 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.001484/0.001484, allocations: 160.8 kB / 24.5 MB, free: 3.715 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.472/1.472, allocations: 177.2 MB / 204.9 MB, free: 8.992 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.2055/0.2055, allocations: 32.81 MB / 294.1 MB, free: 24 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [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.002114/0.002114, allocations: 59.91 kB / 440.6 MB, free: 9.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3158, allocations: 65.44 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003137/0.3189, allocations: 1.619 MB / 0.4957 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007973/0.3197, allocations: 0.5109 MB / 0.4962 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.3198, allocations: 0 / 0.4962 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004578/0.3202, allocations: 454.9 kB / 0.4967 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.3206, allocations: 290.4 kB / 0.4969 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.3209, allocations: 134 kB / 0.4971 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.3211, allocations: 161.7 kB / 0.4972 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.877e-05/0.3212, allocations: 10.81 kB / 0.4972 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.506e-05/0.3213, allocations: 108.3 kB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.3215, allocations: 244.2 kB / 0.4976 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.3215, allocations: 3.25 kB / 0.4976 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.566e-05/0.3216, allocations: 27.25 kB / 0.4976 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.369e-05/0.3216, allocations: 76.08 kB / 0.4977 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.3217, allocations: 71.8 kB / 0.4977 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.3219, allocations: 260.4 kB / 0.498 GB, free: 29.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3219, allocations: 0 / 0.498 GB, free: 29.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3219, allocations: 0 / 0.498 GB, free: 29.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.3219, allocations: 0 / 0.498 GB, free: 29.56 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.0005733/0.3225, allocations: 0.5681 MB / 0.4985 GB, free: 29.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3226, allocations: 9.375 kB / 0.4986 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.3226, allocations: 47.06 kB / 0.4986 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.3228, allocations: 243 kB / 0.4988 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3228, allocations: 384 / 0.4988 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.3228, allocations: 11.59 kB / 0.4988 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.323, allocations: 50 kB / 0.4989 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.323, allocations: 3.938 kB / 0.4989 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.323, allocations: 0 / 0.4989 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.323, allocations: 0 / 0.4989 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.558e-05/0.3231, allocations: 19.91 kB / 0.4989 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.3234, allocations: 318.9 kB / 0.4992 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.37e-05/0.3235, allocations: 32.14 kB / 0.4992 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.3236, allocations: 18.28 kB / 0.4993 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3236, allocations: 0 / 0.4993 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.3236, allocations: 37.69 kB / 0.4993 GB, free: 28.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3236, allocations: 0 / 0.4993 GB, free: 28.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002353/0.3238, allocations: 102.4 kB / 0.4994 GB, free: 28.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.3239, allocations: 54.56 kB / 0.4995 GB, free: 28.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006717/0.3245, allocations: 0.857 MB / 0.5003 GB, free: 28.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.3245, allocations: 25.7 kB / 0.5003 GB, free: 27.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.3247, allocations: 218.8 kB / 0.5005 GB, free: 27.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.3247, allocations: 12.02 kB / 0.5005 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.3247, allocations: 12.72 kB / 0.5005 GB, free: 27.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.467e-05/0.3248, allocations: 364.7 kB / 0.5009 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.958e-05/0.3249, allocations: 9.844 kB / 0.5009 GB, free: 27.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.801e-05/0.3249, allocations: 3.281 kB / 0.5009 GB, free: 27.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.513e-05/0.3249, allocations: 28.72 kB / 0.5009 GB, free: 27.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3249, allocations: 0 / 0.5009 GB, free: 27.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001205/0.3251, allocations: 92.61 kB / 0.501 GB, free: 27.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3251, allocations: 9.906 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3251, allocations: 0 / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3251, allocations: 0 / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.879e-05/0.3252, allocations: 9.438 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3252, allocations: 0 / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.086e-05/0.3252, allocations: 0 / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3252, allocations: 3.156 kB / 0.501 GB, free: 27.36 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 (2): * Single equations (assignments): 2 * 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.0001375/0.3254, allocations: 213.9 kB / 0.5012 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.3254, allocations: 45.81 kB / 0.5013 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.3256, allocations: 109.7 kB / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3256, allocations: 0 / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3256, allocations: 0 / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3256, allocations: 0 / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.3258, allocations: 233.9 kB / 0.5016 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3258, allocations: 0 / 0.5016 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.3259, allocations: 5.781 kB / 0.5016 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3259, allocations: 0 / 0.5016 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3259, allocations: 0 / 0.5016 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3259, allocations: 0 / 0.5016 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3259, allocations: 7.969 kB / 0.5016 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.326, allocations: 197.7 kB / 0.5018 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.3261, allocations: 33.5 kB / 0.5019 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.3261, allocations: 0 / 0.5019 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.3262, allocations: 3.328 kB / 0.5019 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.3262, allocations: 7.234 kB / 0.5019 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.3262, allocations: 0 / 0.5019 GB, free: 26.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005477/0.3268, allocations: 0.6516 MB / 0.5025 GB, free: 26.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3268, allocations: 0 / 0.5025 GB, free: 26.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.327, allocations: 15.69 kB / 0.5025 GB, free: 26.53 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 (2): * Single equations (assignments): 2 * 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.001284/0.3283, allocations: 376.7 kB / 0.5029 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.3284, allocations: 23.41 kB / 0.5029 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3284, allocations: 4.062 kB / 0.5029 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.382e-05/0.3284, allocations: 10.34 kB / 0.5029 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.3288, allocations: 37.91 kB / 0.5029 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000851/0.3297, allocations: 0.7824 MB / 0.5037 GB, free: 25.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.3299, allocations: 213.1 kB / 0.5039 GB, free: 25.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.785e-05/0.3299, allocations: 2.969 kB / 0.5039 GB, free: 25.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.3299, allocations: 17.75 kB / 0.5039 GB, free: 25.87 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3299, allocations: 4 kB / 0.5039 GB, free: 25.86 MB / 446.1 MB Notification: Performance of Templates: time 0.004161/0.3341, allocations: 1.09 MB / 0.505 GB, free: 25.65 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.9670774129917845]