Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001373/0.001373, 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.001417/0.001417, allocations: 160.3 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.428/1.428, allocations: 177.2 MB / 204.9 MB, free: 9.012 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.2035/0.2035, allocations: 32.81 MB / 294.1 MB, free: 20 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [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.00215/0.00215, allocations: 63.91 kB / 440.6 MB, free: 9.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.329, allocations: 65.45 MB / 0.4942 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002429/0.3314, allocations: 1.618 MB / 0.4957 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007931/0.3322, allocations: 0.5396 MB / 0.4963 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/0.3323, allocations: 0 / 0.4963 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004635/0.3327, allocations: 450.8 kB / 0.4967 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.3331, allocations: 297.5 kB / 0.497 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.3334, allocations: 171.8 kB / 0.4971 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.3336, allocations: 171.4 kB / 0.4973 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.3337, allocations: 14.38 kB / 0.4973 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.511e-05/0.3338, allocations: 115.5 kB / 0.4974 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.334, allocations: 238.6 kB / 0.4977 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.334, allocations: 3.375 kB / 0.4977 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.121e-05/0.3341, allocations: 31.42 kB / 0.4977 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.915e-05/0.3342, allocations: 84.03 kB / 0.4978 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.3342, allocations: 67.22 kB / 0.4978 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.3344, allocations: 254 kB / 0.4981 GB, free: 29.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3344, allocations: 4 kB / 0.4981 GB, free: 29.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3344, allocations: 0 / 0.4981 GB, free: 29.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.3344, allocations: 0 / 0.4981 GB, free: 29.49 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.0005278/0.335, allocations: 0.5707 MB / 0.4986 GB, free: 29.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.335, allocations: 9.688 kB / 0.4987 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.335, allocations: 43.25 kB / 0.4987 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.3352, allocations: 243.4 kB / 0.4989 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.3352, allocations: 384 / 0.4989 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.3353, allocations: 7.625 kB / 0.4989 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.3354, allocations: 54.39 kB / 0.499 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3354, allocations: 3.938 kB / 0.499 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.3354, allocations: 3.062 kB / 0.499 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.3354, allocations: 0 / 0.499 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.185e-05/0.3355, allocations: 23.31 kB / 0.499 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.3358, allocations: 331.3 kB / 0.4993 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.896e-05/0.3359, allocations: 39.62 kB / 0.4994 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.336, allocations: 22.73 kB / 0.4994 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.336, allocations: 0 / 0.4994 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.154e-05/0.336, allocations: 33.75 kB / 0.4994 GB, free: 28.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.336, allocations: 0 / 0.4994 GB, free: 28.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002405/0.3362, allocations: 105.5 kB / 0.4995 GB, free: 28.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.3363, allocations: 54.69 kB / 0.4996 GB, free: 28.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/0.3369, allocations: 0.8652 MB / 0.5004 GB, free: 27.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.3369, allocations: 29.83 kB / 0.5004 GB, free: 27.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.337, allocations: 218.4 kB / 0.5007 GB, free: 27.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.337, allocations: 3.953 kB / 0.5007 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.337, allocations: 20.55 kB / 0.5007 GB, free: 27.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.497e-05/0.3371, allocations: 360.5 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-05/0.3371, allocations: 10.44 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.3372, allocations: 9.812 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.286e-05/0.3372, allocations: 28.36 kB / 0.5011 GB, free: 27.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3372, allocations: 7.312 kB / 0.5011 GB, free: 27.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001228/0.3374, allocations: 87.95 kB / 0.5012 GB, free: 27.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.3374, allocations: 6.25 kB / 0.5012 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.3374, allocations: 0 / 0.5012 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3374, allocations: 7.453 kB / 0.5012 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.109e-05/0.3374, allocations: 5.969 kB / 0.5012 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3374, allocations: 0 / 0.5012 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.3375, allocations: 3.344 kB / 0.5012 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.3375, allocations: 0 / 0.5012 GB, free: 27.28 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.0001365/0.3376, allocations: 223.8 kB / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.3377, allocations: 41.91 kB / 0.5014 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.3379, allocations: 106.9 kB / 0.5015 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3379, allocations: 0 / 0.5015 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3379, allocations: 0 / 0.5015 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3379, allocations: 0 / 0.5015 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.338, allocations: 237.6 kB / 0.5018 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.338, allocations: 0 / 0.5018 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.615e-05/0.3381, allocations: 10.56 kB / 0.5018 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3381, allocations: 32 / 0.5018 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.3381, allocations: 4 kB / 0.5018 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3381, allocations: 3.938 kB / 0.5018 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3381, allocations: 3.938 kB / 0.5018 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.3382, allocations: 193.3 kB / 0.502 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.3383, allocations: 33.31 kB / 0.502 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.3383, allocations: 6.391 kB / 0.502 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.3384, allocations: 0 / 0.502 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.3384, allocations: 0 / 0.502 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.3384, allocations: 3.156 kB / 0.502 GB, free: 26.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004551/0.3388, allocations: 0.6561 MB / 0.5027 GB, free: 26.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3388, allocations: 0 / 0.5027 GB, free: 26.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.3391, allocations: 20.81 kB / 0.5027 GB, free: 26.43 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.001292/0.3404, allocations: 381.5 kB / 0.503 GB, free: 26.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.3405, allocations: 27.42 kB / 0.5031 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3405, allocations: 0 / 0.5031 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.877e-05/0.3405, allocations: 9.641 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.0003388/0.3409, allocations: 30.36 kB / 0.5031 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008115/0.3417, allocations: 0.7797 MB / 0.5039 GB, free: 25.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.3419, allocations: 213.6 kB / 0.5041 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.756e-05/0.3419, allocations: 13.55 kB / 0.5041 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.3419, allocations: 15.72 kB / 0.5041 GB, free: 25.79 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3419, allocations: 0 / 0.5041 GB, free: 25.79 MB / 446.1 MB Notification: Performance of Templates: time 0.004166/0.3461, allocations: 1.108 MB / 0.5052 GB, free: 25.56 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.914414305938408]