Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001344/0.001344, allocations: 69.8 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.001488/0.001488, allocations: 163 kB / 24.5 MB, free: 3.711 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.543/1.543, allocations: 177.2 MB / 204.9 MB, free: 8.996 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.2934/0.2934, allocations: 32.81 MB / 294.1 MB, free: 12 kB / 270.1 MB " [Timeout remaining time 179] 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [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.002146/0.002146, allocations: 67.89 kB / 440.6 MB, free: 9.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3648, allocations: 65.45 MB / 0.4942 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003039/0.3679, allocations: 1.62 MB / 0.4958 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009784/0.3688, allocations: 0.532 MB / 0.4963 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/0.3689, allocations: 0 / 0.4963 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.3692, allocations: 104.7 kB / 0.4964 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.3695, allocations: 129.8 kB / 0.4965 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.3698, allocations: 111.3 kB / 0.4966 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.3699, allocations: 97.8 kB / 0.4967 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.37, allocations: 9.859 kB / 0.4967 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.78e-05/0.3701, allocations: 45.62 kB / 0.4967 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3702, allocations: 72.98 kB / 0.4968 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3702, allocations: 3.281 kB / 0.4968 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.423e-05/0.3703, allocations: 43 kB / 0.4969 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.3704, allocations: 25.02 kB / 0.4969 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.3704, allocations: 34.03 kB / 0.4969 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.3706, allocations: 115.2 kB / 0.497 GB, free: 29.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3706, allocations: 0 / 0.497 GB, free: 29.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3706, allocations: 3.938 kB / 0.497 GB, free: 29.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3706, allocations: 0 / 0.497 GB, free: 29.67 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.0004487/0.371, allocations: 361.1 kB / 0.4974 GB, free: 29.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.3711, allocations: 9.75 kB / 0.4974 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.3711, allocations: 8.109 kB / 0.4974 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3712, allocations: 150.1 kB / 0.4975 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3713, allocations: 384 / 0.4975 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.3713, allocations: 11.56 kB / 0.4975 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3714, allocations: 61.67 kB / 0.4976 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.3714, allocations: 3.953 kB / 0.4976 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3714, allocations: 3.469 kB / 0.4976 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3715, allocations: 3.938 kB / 0.4976 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.116e-05/0.3715, allocations: 31.02 kB / 0.4976 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.3719, allocations: 245.1 kB / 0.4979 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.372, allocations: 50.81 kB / 0.4979 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.372, allocations: 22.2 kB / 0.498 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.372, allocations: 3.25 kB / 0.498 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.3721, allocations: 30.56 kB / 0.498 GB, free: 28.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3721, allocations: 0 / 0.498 GB, free: 28.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008512/0.3729, allocations: 247.8 kB / 0.4982 GB, free: 28.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.3729, allocations: 58.53 kB / 0.4983 GB, free: 28.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3731, allocations: 261.4 kB / 0.4985 GB, free: 28.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.3731, allocations: 25.7 kB / 0.4985 GB, free: 28.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.3732, allocations: 121 kB / 0.4987 GB, free: 28.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3732, allocations: 26.91 kB / 0.4987 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.3732, allocations: 23.61 kB / 0.4987 GB, free: 28.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.3733, allocations: 325.5 kB / 0.499 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.728e-05/0.3734, allocations: 30.56 kB / 0.4991 GB, free: 27.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.3734, allocations: 33.34 kB / 0.4991 GB, free: 27.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.3736, allocations: 76.27 kB / 0.4992 GB, free: 27.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3736, allocations: 0 / 0.4992 GB, free: 27.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001946/0.3738, allocations: 113.1 kB / 0.4993 GB, free: 27.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3738, allocations: 2.969 kB / 0.4993 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3738, allocations: 80 / 0.4993 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3738, allocations: 3 kB / 0.4993 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3739, allocations: 20.08 kB / 0.4993 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3739, allocations: 3.984 kB / 0.4993 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.374, allocations: 7 kB / 0.4993 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.374, allocations: 10.88 kB / 0.4993 GB, free: 27.86 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 (8): * Single equations (assignments): 8 * 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 7.307e-05/0.374, allocations: 132 kB / 0.4994 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.3741, allocations: 14.16 kB / 0.4994 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.3743, allocations: 137.3 kB / 0.4996 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3743, allocations: 0 / 0.4996 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3743, allocations: 0 / 0.4996 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3743, allocations: 3.281 kB / 0.4996 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.3748, allocations: 373.2 kB / 0.4999 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3748, allocations: 0 / 0.4999 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.787e-05/0.3748, allocations: 16.39 kB / 0.5 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3748, allocations: 3.156 kB / 0.5 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.3748, allocations: 0 / 0.5 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3749, allocations: 3.938 kB / 0.5 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3749, allocations: 3.406 kB / 0.5 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.3751, allocations: 218.1 kB / 0.5002 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.3751, allocations: 14.27 kB / 0.5002 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3751, allocations: 3.562 kB / 0.5002 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.465e-05/0.3752, allocations: 11.06 kB / 0.5002 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.3752, allocations: 10.61 kB / 0.5002 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3752, allocations: 7.375 kB / 0.5002 GB, free: 27.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.3753, allocations: 189.2 kB / 0.5004 GB, free: 27.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3753, allocations: 0 / 0.5004 GB, free: 27.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.3756, allocations: 23.41 kB / 0.5004 GB, free: 27.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001813/0.3774, allocations: 491.6 kB / 0.5009 GB, free: 26.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.3776, allocations: 72.22 kB / 0.501 GB, free: 26.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3776, allocations: 0 / 0.501 GB, free: 26.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.3777, allocations: 41.22 kB / 0.501 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.3781, allocations: 35.8 kB / 0.501 GB, free: 26.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.3786, allocations: 297.3 kB / 0.5013 GB, free: 26.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.184e-05/0.3786, allocations: 103.6 kB / 0.5014 GB, free: 26.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.795e-05/0.3787, allocations: 20.72 kB / 0.5014 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.3787, allocations: 14.94 kB / 0.5014 GB, free: 26.52 MB / 446.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3787, allocations: 3.938 kB / 0.5015 GB, free: 26.51 MB / 446.1 MB Notification: Performance of Templates: time 0.004034/0.3828, allocations: 1.394 MB / 0.5028 GB, free: 26.31 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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: 5.0362276850501075]