Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001294/0.001294, 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.001733/0.001733, allocations: 169.3 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.579/1.579, allocations: 177.2 MB / 204.9 MB, free: 9.051 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.2107/0.2107, allocations: 32.81 MB / 294.1 MB, free: 68 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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.002208/0.002208, allocations: 63.91 kB / 440.6 MB, free: 9.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3319, allocations: 65.45 MB / 0.4942 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002765/0.3347, allocations: 1.594 MB / 0.4957 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009439/0.3356, allocations: 0.5284 MB / 0.4962 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.046e-05/0.3357, allocations: 0 / 0.4962 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.3359, allocations: 29.06 kB / 0.4963 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.3363, allocations: 79.11 kB / 0.4963 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.3366, allocations: 110.6 kB / 0.4964 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.3367, allocations: 63.17 kB / 0.4965 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3368, allocations: 7.109 kB / 0.4965 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.572e-05/0.3369, allocations: 28.73 kB / 0.4965 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.3369, allocations: 28.91 kB / 0.4966 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.337, allocations: 0 / 0.4966 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.468e-05/0.337, allocations: 37.38 kB / 0.4966 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.3371, allocations: 17.8 kB / 0.4966 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.3371, allocations: 15 kB / 0.4966 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.3373, allocations: 80.31 kB / 0.4967 GB, free: 29.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3373, allocations: 0 / 0.4967 GB, free: 29.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3373, allocations: 0 / 0.4967 GB, free: 29.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.3373, allocations: 0 / 0.4967 GB, free: 29.75 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.0004223/0.3377, allocations: 325.5 kB / 0.497 GB, free: 29.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3378, allocations: 13.5 kB / 0.497 GB, free: 29.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.3378, allocations: 11.11 kB / 0.497 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.338, allocations: 134.2 kB / 0.4972 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-06/0.338, allocations: 384 / 0.4972 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.338, allocations: 3.469 kB / 0.4972 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.3381, allocations: 50.33 kB / 0.4972 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3382, allocations: 0 / 0.4972 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3382, allocations: 6.938 kB / 0.4972 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3382, allocations: 0 / 0.4972 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.171e-05/0.3383, allocations: 31.12 kB / 0.4973 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.3386, allocations: 235.4 kB / 0.4975 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.3388, allocations: 40.69 kB / 0.4975 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.72e-05/0.3388, allocations: 14.42 kB / 0.4975 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3389, allocations: 3.219 kB / 0.4975 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.3389, allocations: 42.5 kB / 0.4976 GB, free: 28.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3389, allocations: 0 / 0.4976 GB, free: 28.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005381/0.3394, allocations: 155.4 kB / 0.4977 GB, free: 28.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.3394, allocations: 51.41 kB / 0.4978 GB, free: 28.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3396, allocations: 165.5 kB / 0.4979 GB, free: 28.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.3396, allocations: 25.7 kB / 0.498 GB, free: 28.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.3396, allocations: 94.86 kB / 0.498 GB, free: 28.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.3396, allocations: 26.53 kB / 0.4981 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.3397, allocations: 17.09 kB / 0.4981 GB, free: 28.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.3397, allocations: 325.4 kB / 0.4984 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.698e-05/0.3398, allocations: 19.84 kB / 0.4984 GB, free: 28.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.763e-05/0.3398, allocations: 31.14 kB / 0.4984 GB, free: 28.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.3399, allocations: 47.62 kB / 0.4985 GB, free: 28.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3399, allocations: 0 / 0.4985 GB, free: 28.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001584/0.3401, allocations: 89.8 kB / 0.4986 GB, free: 28.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.3401, allocations: 6.219 kB / 0.4986 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3401, allocations: 0 / 0.4986 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3401, allocations: 3.281 kB / 0.4986 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.962e-05/0.3402, allocations: 9.344 kB / 0.4986 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3402, allocations: 4 kB / 0.4986 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.983e-05/0.3402, allocations: 6.688 kB / 0.4986 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.3403, allocations: 11.03 kB / 0.4986 GB, free: 28.11 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 5.483e-05/0.3403, allocations: 123.8 kB / 0.4987 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.3403, allocations: 7.016 kB / 0.4987 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.3406, allocations: 99.75 kB / 0.4988 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3406, allocations: 288 / 0.4988 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3406, allocations: 0 / 0.4988 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3406, allocations: 7.984 kB / 0.4988 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.3409, allocations: 306.2 kB / 0.4991 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3409, allocations: 0 / 0.4991 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.3409, allocations: 12.53 kB / 0.4992 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3409, allocations: 0 / 0.4992 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3409, allocations: 4 kB / 0.4992 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.341, allocations: 7 kB / 0.4992 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.341, allocations: 3.938 kB / 0.4992 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.3411, allocations: 185.5 kB / 0.4993 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.3411, allocations: 3.953 kB / 0.4993 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.3412, allocations: 7.219 kB / 0.4994 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.3412, allocations: 3.281 kB / 0.4994 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.3413, allocations: 11.31 kB / 0.4994 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3413, allocations: 3.188 kB / 0.4994 GB, free: 27.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.472e-05/0.3414, allocations: 124.1 kB / 0.4995 GB, free: 27.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3414, allocations: 0 / 0.4995 GB, free: 27.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.3416, allocations: 20.2 kB / 0.4995 GB, free: 27.38 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.00154/0.3431, allocations: 441.5 kB / 0.4999 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.3433, allocations: 53.5 kB / 0.5 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3433, allocations: 0 / 0.5 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.3434, allocations: 22.84 kB / 0.5 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.3437, allocations: 17.41 kB / 0.5 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003943/0.3441, allocations: 196.6 kB / 0.5002 GB, free: 27.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.794e-05/0.3442, allocations: 91.44 kB / 0.5003 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.225e-05/0.3443, allocations: 20.2 kB / 0.5003 GB, free: 26.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.3443, allocations: 15.23 kB / 0.5003 GB, free: 26.91 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3443, allocations: 0 / 0.5003 GB, free: 26.91 MB / 446.1 MB Notification: Performance of Templates: time 0.003782/0.3481, allocations: 1.152 MB / 0.5015 GB, free: 26.74 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.9531870550708845]