Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001298/0.001298, 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.002145/0.002145, allocations: 169.9 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.447/1.447, allocations: 177.2 MB / 204.9 MB, free: 8.949 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.2022/0.2022, allocations: 32.8 MB / 294.1 MB, free: 52 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.CombiTable1Ds.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.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.002226/0.002226, allocations: 71.89 kB / 440.6 MB, free: 9.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3361, allocations: 65.44 MB / 0.4942 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002575/0.3386, allocations: 1.604 MB / 0.4957 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008326/0.3395, allocations: 0.515 MB / 0.4962 GB, free: 30.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.3395, allocations: 3.938 kB / 0.4962 GB, free: 30.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.3397, allocations: 25.64 kB / 0.4963 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.34, allocations: 83.89 kB / 0.4963 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.3402, allocations: 84.8 kB / 0.4964 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.3403, allocations: 63.28 kB / 0.4965 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3405, allocations: 14.78 kB / 0.4965 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.385e-05/0.3405, allocations: 24.75 kB / 0.4965 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.515e-05/0.3406, allocations: 28.81 kB / 0.4965 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3406, allocations: 0 / 0.4965 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.621e-05/0.3406, allocations: 33.27 kB / 0.4966 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.3407, allocations: 17.38 kB / 0.4966 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.3407, allocations: 15.09 kB / 0.4966 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.3409, allocations: 81.38 kB / 0.4967 GB, free: 29.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3409, allocations: 3.25 kB / 0.4967 GB, free: 29.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3409, allocations: 0 / 0.4967 GB, free: 29.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.3409, allocations: 0 / 0.4967 GB, free: 29.78 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.0003683/0.3412, allocations: 320.1 kB / 0.497 GB, free: 29.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3413, allocations: 12.03 kB / 0.497 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.3413, allocations: 7.922 kB / 0.497 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.3414, allocations: 135 kB / 0.4971 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.3414, allocations: 384 / 0.4971 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.3415, allocations: 3.375 kB / 0.4971 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.3416, allocations: 56.98 kB / 0.4972 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3416, allocations: 0 / 0.4972 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3416, allocations: 0 / 0.4972 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3416, allocations: 0 / 0.4972 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.433e-05/0.3417, allocations: 34.25 kB / 0.4972 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.342, allocations: 223.4 kB / 0.4974 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.3422, allocations: 44.27 kB / 0.4975 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.3422, allocations: 11.2 kB / 0.4975 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3422, allocations: 7.031 kB / 0.4975 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.3422, allocations: 37.92 kB / 0.4975 GB, free: 28.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3422, allocations: 0 / 0.4975 GB, free: 28.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005112/0.3427, allocations: 145.8 kB / 0.4977 GB, free: 28.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.3428, allocations: 54.56 kB / 0.4977 GB, free: 28.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3429, allocations: 160.2 kB / 0.4979 GB, free: 28.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.3429, allocations: 29.7 kB / 0.4979 GB, free: 28.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.3429, allocations: 94.75 kB / 0.498 GB, free: 28.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.3429, allocations: 18.44 kB / 0.498 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.343, allocations: 16.69 kB / 0.498 GB, free: 28.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.304e-05/0.343, allocations: 325 kB / 0.4984 GB, free: 28.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/0.3431, allocations: 19.72 kB / 0.4984 GB, free: 28.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.401e-05/0.3431, allocations: 24.62 kB / 0.4984 GB, free: 28.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.3432, allocations: 44.02 kB / 0.4984 GB, free: 28.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3432, allocations: 0 / 0.4984 GB, free: 28.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001564/0.3434, allocations: 86.7 kB / 0.4985 GB, free: 28.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.3434, allocations: 6.375 kB / 0.4985 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3434, allocations: 0 / 0.4985 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3434, allocations: 4 kB / 0.4985 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.3435, allocations: 16.69 kB / 0.4985 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3435, allocations: 3.031 kB / 0.4985 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.02e-05/0.3435, allocations: 6.312 kB / 0.4986 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3435, allocations: 3.938 kB / 0.4986 GB, free: 28.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 5.491e-05/0.3436, allocations: 120.3 kB / 0.4987 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.3436, allocations: 9.859 kB / 0.4987 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.3438, allocations: 94.67 kB / 0.4988 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3438, allocations: 0 / 0.4988 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3438, allocations: 4 kB / 0.4988 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3438, allocations: 0 / 0.4988 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.3442, allocations: 288.5 kB / 0.499 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3442, allocations: 0 / 0.499 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.3442, allocations: 12.75 kB / 0.4991 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3442, allocations: 0 / 0.4991 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.3442, allocations: 6.625 kB / 0.4991 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3442, allocations: 3.938 kB / 0.4991 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3442, allocations: 3.938 kB / 0.4991 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.3444, allocations: 180.4 kB / 0.4992 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.3444, allocations: 3.953 kB / 0.4993 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.3444, allocations: 6.969 kB / 0.4993 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.926e-05/0.3445, allocations: 3.344 kB / 0.4993 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.3445, allocations: 11.22 kB / 0.4993 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.3445, allocations: 3.375 kB / 0.4993 GB, free: 27.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.611e-05/0.3446, allocations: 122.4 kB / 0.4994 GB, free: 27.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3446, allocations: 0 / 0.4994 GB, free: 27.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000244/0.3449, allocations: 16.91 kB / 0.4994 GB, free: 27.44 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.001524/0.3464, allocations: 442.6 kB / 0.4998 GB, free: 27.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.3466, allocations: 44.69 kB / 0.4999 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3466, allocations: 0 / 0.4999 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.611e-05/0.3466, allocations: 26.95 kB / 0.4999 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.347, allocations: 24.78 kB / 0.4999 GB, free: 27.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.3473, allocations: 188.2 kB / 0.5001 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.654e-05/0.3474, allocations: 85.92 kB / 0.5002 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.797e-05/0.3474, allocations: 21.28 kB / 0.5002 GB, free: 26.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.3474, allocations: 11.75 kB / 0.5002 GB, free: 26.96 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3474, allocations: 0 / 0.5002 GB, free: 26.96 MB / 446.1 MB Notification: Performance of Templates: time 0.003692/0.3511, allocations: 1.13 MB / 0.5013 GB, free: 26.8 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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: 5.03046069398988]