Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001217/0.001217, allocations: 71.75 kB / 21.24 MB, free: 396 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.002716/0.002716, allocations: 164.2 kB / 24.5 MB, free: 3.441 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.463/1.463, allocations: 177.2 MB / 204.9 MB, free: 9.062 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.201/0.201, 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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.Test16") [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.002079/0.002079, allocations: 71.89 kB / 440.6 MB, free: 9.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3289, allocations: 65.45 MB / 0.4942 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002684/0.3316, allocations: 1.622 MB / 0.4957 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008802/0.3325, allocations: 0.5307 MB / 0.4963 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.3326, allocations: 3.094 kB / 0.4963 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.3328, allocations: 79.22 kB / 0.4963 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.3331, allocations: 109.3 kB / 0.4965 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.3334, allocations: 111.6 kB / 0.4966 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.3336, allocations: 79.55 kB / 0.4966 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.3337, allocations: 14.44 kB / 0.4966 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.3338, allocations: 41.53 kB / 0.4967 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.3339, allocations: 53.27 kB / 0.4967 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.3339, allocations: 3.219 kB / 0.4967 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-05/0.334, allocations: 46.45 kB / 0.4968 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.3341, allocations: 25.08 kB / 0.4968 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.3341, allocations: 30.27 kB / 0.4968 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.3343, allocations: 105.1 kB / 0.4969 GB, free: 29.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3343, allocations: 6.609 kB / 0.4969 GB, free: 29.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3343, allocations: 0 / 0.4969 GB, free: 29.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.3343, allocations: 0 / 0.4969 GB, free: 29.71 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.0004344/0.3347, allocations: 336.2 kB / 0.4973 GB, free: 29.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3348, allocations: 9.719 kB / 0.4973 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.3348, allocations: 12.09 kB / 0.4973 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.335, allocations: 142.5 kB / 0.4974 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.335, allocations: 11.34 kB / 0.4974 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.335, allocations: 7.594 kB / 0.4974 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.3352, allocations: 57.09 kB / 0.4975 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3352, allocations: 0 / 0.4975 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3352, allocations: 4 kB / 0.4975 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3352, allocations: 7.156 kB / 0.4975 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.778e-05/0.3353, allocations: 34.81 kB / 0.4975 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.3356, allocations: 241.3 kB / 0.4978 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.3357, allocations: 48.25 kB / 0.4978 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.987e-05/0.3358, allocations: 18.62 kB / 0.4978 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.3358, allocations: 7.156 kB / 0.4978 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.3358, allocations: 33.98 kB / 0.4979 GB, free: 28.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3358, allocations: 0 / 0.4979 GB, free: 28.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000889/0.3367, allocations: 231.7 kB / 0.4981 GB, free: 28.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.3367, allocations: 55.41 kB / 0.4981 GB, free: 28.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.3369, allocations: 222.1 kB / 0.4984 GB, free: 28.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.3369, allocations: 25.7 kB / 0.4984 GB, free: 28.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.337, allocations: 113.9 kB / 0.4985 GB, free: 28.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.337, allocations: 27.03 kB / 0.4985 GB, free: 28.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.337, allocations: 23.53 kB / 0.4985 GB, free: 28.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.3371, allocations: 329.2 kB / 0.4989 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.3372, allocations: 26.92 kB / 0.4989 GB, free: 28.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-05/0.3373, allocations: 27.34 kB / 0.4989 GB, free: 28.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.3374, allocations: 79.47 kB / 0.499 GB, free: 28.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3374, allocations: 3.281 kB / 0.499 GB, free: 28.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001905/0.3376, allocations: 106.4 kB / 0.4991 GB, free: 27.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3376, allocations: 7.781 kB / 0.4991 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.3376, allocations: 80 / 0.4991 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3376, allocations: 0 / 0.4991 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.74e-05/0.3377, allocations: 20.05 kB / 0.4991 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3377, allocations: 10.61 kB / 0.4991 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.3378, allocations: 7.031 kB / 0.4991 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.3378, allocations: 3.938 kB / 0.4991 GB, free: 27.95 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 6.695e-05/0.3378, allocations: 130.3 kB / 0.4993 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.3379, allocations: 13.81 kB / 0.4993 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.3381, allocations: 132.5 kB / 0.4994 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3381, allocations: 7.312 kB / 0.4994 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3381, allocations: 4 kB / 0.4994 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3381, allocations: 0 / 0.4994 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.3386, allocations: 368.9 kB / 0.4998 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3386, allocations: 0 / 0.4998 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/0.3386, allocations: 19.39 kB / 0.4998 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3386, allocations: 0 / 0.4998 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.3386, allocations: 0 / 0.4998 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3386, allocations: 7.188 kB / 0.4998 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3386, allocations: 0 / 0.4998 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.3389, allocations: 214.2 kB / 0.5 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.3389, allocations: 14.34 kB / 0.5 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.3389, allocations: 7.312 kB / 0.5 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.339, allocations: 11.22 kB / 0.5 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.339, allocations: 7.047 kB / 0.5 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.339, allocations: 3.062 kB / 0.5 GB, free: 27.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.606e-05/0.3391, allocations: 170 kB / 0.5002 GB, free: 27.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3391, allocations: 0 / 0.5002 GB, free: 27.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.3394, allocations: 20.28 kB / 0.5002 GB, free: 27.14 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.001788/0.3411, allocations: 499.2 kB / 0.5007 GB, free: 26.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.3414, allocations: 73.34 kB / 0.5008 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3414, allocations: 0 / 0.5008 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.637e-05/0.3415, allocations: 44.05 kB / 0.5008 GB, free: 26.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.3419, allocations: 20.61 kB / 0.5008 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.3423, allocations: 268.7 kB / 0.5011 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.338e-05/0.3424, allocations: 107 kB / 0.5012 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.23e-05/0.3425, allocations: 20.86 kB / 0.5012 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.3425, allocations: 14.59 kB / 0.5012 GB, free: 26.61 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3425, allocations: 0 / 0.5012 GB, free: 26.61 MB / 446.1 MB Notification: Performance of Templates: time 0.00412/0.3466, allocations: 1.39 MB / 0.5026 GB, free: 26.41 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.026537036988884]