Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001378/0.001378, allocations: 71.75 kB / 21.24 MB, free: 404 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.001449/0.001449, allocations: 169.2 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.474/1.474, allocations: 177.2 MB / 204.9 MB, free: 8.898 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.2074/0.2074, allocations: 32.81 MB / 294.1 MB, free: 24 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.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") [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: 67.91 kB / 440.6 MB, free: 9.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3659, allocations: 65.44 MB / 0.4942 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003126/0.369, allocations: 1.604 MB / 0.4957 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009676/0.37, allocations: 0.5124 MB / 0.4962 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.37, allocations: 0 / 0.4962 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.3702, allocations: 29 kB / 0.4963 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.3705, allocations: 81.11 kB / 0.4963 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.3707, allocations: 88.47 kB / 0.4964 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.3709, allocations: 67.11 kB / 0.4965 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.371, allocations: 6.875 kB / 0.4965 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.05e-05/0.371, allocations: 28.28 kB / 0.4965 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.218e-05/0.3711, allocations: 21.89 kB / 0.4965 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.3711, allocations: 3.156 kB / 0.4965 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.279e-05/0.3712, allocations: 36.8 kB / 0.4966 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.3712, allocations: 11.03 kB / 0.4966 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.3713, allocations: 14.34 kB / 0.4966 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.3714, allocations: 85.34 kB / 0.4967 GB, free: 29.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.3714, allocations: 3.25 kB / 0.4967 GB, free: 29.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3714, allocations: 0 / 0.4967 GB, free: 29.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3715, allocations: 0 / 0.4967 GB, free: 29.81 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.0004319/0.3719, allocations: 312.8 kB / 0.497 GB, free: 29.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3719, allocations: 9.125 kB / 0.497 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.372, allocations: 7.828 kB / 0.497 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.3721, allocations: 130.3 kB / 0.4971 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.3721, allocations: 3.469 kB / 0.4971 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.3722, allocations: 384 / 0.4971 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.3723, allocations: 60.8 kB / 0.4972 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3723, allocations: 0 / 0.4972 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/0.3723, allocations: 0 / 0.4972 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3723, allocations: 0 / 0.4972 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.629e-05/0.3724, allocations: 30.64 kB / 0.4972 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.3727, allocations: 224.6 kB / 0.4974 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.3729, allocations: 40.23 kB / 0.4975 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.583e-05/0.3729, allocations: 18.42 kB / 0.4975 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.373, allocations: 7.094 kB / 0.4975 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.373, allocations: 30.56 kB / 0.4975 GB, free: 29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.373, allocations: 3.938 kB / 0.4975 GB, free: 29 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005526/0.3735, allocations: 133.6 kB / 0.4976 GB, free: 28.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.3736, allocations: 54.53 kB / 0.4977 GB, free: 28.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3737, allocations: 154.3 kB / 0.4978 GB, free: 28.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.3737, allocations: 28.86 kB / 0.4979 GB, free: 28.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.3737, allocations: 94.58 kB / 0.498 GB, free: 28.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.3738, allocations: 23.8 kB / 0.498 GB, free: 28.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.3738, allocations: 23.56 kB / 0.498 GB, free: 28.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.721e-05/0.3738, allocations: 322 kB / 0.4983 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.3739, allocations: 15.34 kB / 0.4983 GB, free: 28.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.334e-05/0.374, allocations: 20 kB / 0.4983 GB, free: 28.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.3741, allocations: 45 kB / 0.4984 GB, free: 28.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3741, allocations: 0 / 0.4984 GB, free: 28.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001592/0.3742, allocations: 86.77 kB / 0.4985 GB, free: 28.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3742, allocations: 6.125 kB / 0.4985 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3742, allocations: 0 / 0.4985 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3743, allocations: 3.938 kB / 0.4985 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6e-05/0.3743, allocations: 16.09 kB / 0.4985 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3743, allocations: 0 / 0.4985 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.687e-05/0.3744, allocations: 3.219 kB / 0.4985 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3744, allocations: 3.375 kB / 0.4985 GB, free: 28.2 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 6.936e-05/0.3744, allocations: 120.4 kB / 0.4986 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.3745, allocations: 11.02 kB / 0.4986 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.3747, allocations: 92.28 kB / 0.4987 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3747, allocations: 0 / 0.4987 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3747, allocations: 3.938 kB / 0.4987 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3747, allocations: 4.219 kB / 0.4987 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.375, allocations: 288.1 kB / 0.499 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.375, allocations: 0 / 0.499 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.047e-05/0.3751, allocations: 17.33 kB / 0.499 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3751, allocations: 3.984 kB / 0.499 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.3751, allocations: 0 / 0.499 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3751, allocations: 0 / 0.499 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3751, allocations: 0 / 0.499 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.3753, allocations: 184.9 kB / 0.4992 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.3753, allocations: 7.141 kB / 0.4992 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.3753, allocations: 8.188 kB / 0.4992 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.3754, allocations: 6.719 kB / 0.4992 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.3754, allocations: 4 kB / 0.4992 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.3754, allocations: 11.12 kB / 0.4992 GB, free: 27.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.911e-05/0.3755, allocations: 120 kB / 0.4993 GB, free: 27.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3755, allocations: 0 / 0.4993 GB, free: 27.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.3757, allocations: 13.34 kB / 0.4994 GB, free: 27.47 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.3772, allocations: 438.2 kB / 0.4998 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.3774, allocations: 40.47 kB / 0.4998 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3774, allocations: 0 / 0.4998 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.762e-05/0.3775, allocations: 31.06 kB / 0.4998 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.3779, allocations: 20.09 kB / 0.4999 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.3783, allocations: 182.3 kB / 0.5 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.47e-05/0.3784, allocations: 84.95 kB / 0.5001 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.156e-05/0.3784, allocations: 18.36 kB / 0.5001 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.3784, allocations: 18.06 kB / 0.5002 GB, free: 27.01 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3784, allocations: 0 / 0.5002 GB, free: 27.01 MB / 446.1 MB Notification: Performance of Templates: time 0.003881/0.3823, allocations: 1.133 MB / 0.5013 GB, free: 26.84 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.081092866952531]