Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001783/0.001783, allocations: 71.22 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.00222/0.00222, allocations: 158.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.506/1.506, allocations: 177.2 MB / 204.9 MB, free: 9.008 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.2178/0.2178, allocations: 32.79 MB / 294.1 MB, free: 28 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [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.002345/0.002345, allocations: 71.84 kB / 440.6 MB, free: 9.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3424, allocations: 65.43 MB / 0.4942 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002428/0.3449, allocations: 1.668 MB / 0.4958 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007802/0.3456, allocations: 0.551 MB / 0.4963 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.3457, allocations: 3.312 kB / 0.4963 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.3461, allocations: 464.3 kB / 0.4968 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.3465, allocations: 295.2 kB / 0.497 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.3468, allocations: 171.1 kB / 0.4972 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.347, allocations: 177.8 kB / 0.4974 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.3471, allocations: 17.55 kB / 0.4974 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.167e-05/0.3472, allocations: 111.5 kB / 0.4975 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.3473, allocations: 244.1 kB / 0.4977 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3474, allocations: 3.25 kB / 0.4977 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-05/0.3474, allocations: 37.94 kB / 0.4978 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.042e-05/0.3475, allocations: 87.8 kB / 0.4979 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.3476, allocations: 70.53 kB / 0.4979 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.3478, allocations: 268.9 kB / 0.4982 GB, free: 29.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3478, allocations: 0 / 0.4982 GB, free: 29.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3478, allocations: 0 / 0.4982 GB, free: 29.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.3478, allocations: 0 / 0.4982 GB, free: 29.47 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005689/0.3484, allocations: 0.5783 MB / 0.4987 GB, free: 28.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3484, allocations: 9.281 kB / 0.4988 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.3485, allocations: 47.11 kB / 0.4988 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.3487, allocations: 244.9 kB / 0.499 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.3487, allocations: 7.375 kB / 0.499 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.3487, allocations: 7.891 kB / 0.4991 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3489, allocations: 56.92 kB / 0.4991 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3489, allocations: 3.938 kB / 0.4991 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3489, allocations: 4 kB / 0.4991 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3489, allocations: 0 / 0.4991 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.484e-05/0.349, allocations: 25.89 kB / 0.4991 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.3494, allocations: 341.3 kB / 0.4995 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.3496, allocations: 45.14 kB / 0.4995 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.707e-05/0.3497, allocations: 21.97 kB / 0.4995 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.3497, allocations: 0 / 0.4995 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.3497, allocations: 30.56 kB / 0.4996 GB, free: 28.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.3497, allocations: 0 / 0.4996 GB, free: 28.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005963/0.3503, allocations: 245.1 kB / 0.4998 GB, free: 28.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.3503, allocations: 54.44 kB / 0.4998 GB, free: 28.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007308/0.3511, allocations: 0.8636 MB / 0.5007 GB, free: 27.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.3511, allocations: 25.7 kB / 0.5007 GB, free: 27.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.3512, allocations: 214.4 kB / 0.5009 GB, free: 27.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.3512, allocations: 22.39 kB / 0.5009 GB, free: 27.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.3513, allocations: 16.84 kB / 0.501 GB, free: 27.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3514, allocations: 362.9 kB / 0.5013 GB, free: 27.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.335e-05/0.3515, allocations: 26.95 kB / 0.5013 GB, free: 27.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.3515, allocations: 19.5 kB / 0.5013 GB, free: 27.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.3517, allocations: 63.52 kB / 0.5014 GB, free: 27.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3517, allocations: 0 / 0.5014 GB, free: 27.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001982/0.3519, allocations: 122.5 kB / 0.5015 GB, free: 27.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3519, allocations: 6.219 kB / 0.5015 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3519, allocations: 0 / 0.5015 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.3519, allocations: 0 / 0.5015 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.352, allocations: 19.66 kB / 0.5015 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.352, allocations: 0 / 0.5015 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.352, allocations: 7.156 kB / 0.5016 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/0.352, allocations: 7.516 kB / 0.5016 GB, free: 27.14 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 (5): * Single equations (assignments): 5 * 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.0001664/0.3522, allocations: 213.9 kB / 0.5018 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.3522, allocations: 42.16 kB / 0.5018 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.3525, allocations: 137.9 kB / 0.5019 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3525, allocations: 3 kB / 0.5019 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3525, allocations: 0 / 0.5019 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3525, allocations: 0 / 0.5019 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.353, allocations: 427.7 kB / 0.5023 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.353, allocations: 0 / 0.5023 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.353, allocations: 12.48 kB / 0.5024 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.353, allocations: 0 / 0.5024 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.353, allocations: 3.062 kB / 0.5024 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.353, allocations: 0 / 0.5024 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3531, allocations: 11.53 kB / 0.5024 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.3533, allocations: 219.9 kB / 0.5026 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.3533, allocations: 37.69 kB / 0.5026 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.3533, allocations: 5.406 kB / 0.5026 GB, free: 26.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.3534, allocations: 10.38 kB / 0.5026 GB, free: 26.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.3535, allocations: 5.062 kB / 0.5026 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.3535, allocations: 3.781 kB / 0.5026 GB, free: 26.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005452/0.354, allocations: 0.6555 MB / 0.5033 GB, free: 26.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.354, allocations: 0 / 0.5033 GB, free: 26.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.3543, allocations: 23.06 kB / 0.5033 GB, free: 26.14 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 (5): * Single equations (assignments): 5 * 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.001536/0.3558, allocations: 419.6 kB / 0.5037 GB, free: 25.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.356, allocations: 64.33 kB / 0.5038 GB, free: 25.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.356, allocations: 3.938 kB / 0.5038 GB, free: 25.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.3561, allocations: 29.23 kB / 0.5038 GB, free: 25.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.3564, allocations: 26.11 kB / 0.5038 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009055/0.3573, allocations: 0.8034 MB / 0.5046 GB, free: 25.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.3575, allocations: 225 kB / 0.5048 GB, free: 25.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.066e-05/0.3576, allocations: 23.95 kB / 0.5048 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.3576, allocations: 11.47 kB / 0.5049 GB, free: 25.44 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3576, allocations: 2.844 kB / 0.5049 GB, free: 25.44 MB / 446.1 MB Notification: Performance of Templates: time 0.004478/0.3621, allocations: 1.344 MB / 0.5062 GB, free: 25.2 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.939337833086029]