Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.00226/0.00226, allocations: 69.64 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.002679/0.002679, allocations: 160.9 kB / 24.5 MB, free: 3.719 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.517/1.517, allocations: 177.2 MB / 204.9 MB, free: 9.023 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2172/0.2172, allocations: 34.28 MB / 295.5 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 75.88 kB / 443.2 MB, free: 6.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3224, allocations: 66 MB / 0.4973 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002866/0.3253, allocations: 1.676 MB / 0.4989 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.3267, allocations: 0.9479 MB / 0.4999 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.3268, allocations: 3.938 kB / 0.4999 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.327, allocations: 48.95 kB / 0.4999 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.3274, allocations: 108.9 kB / 0.5 GB, free: 28.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.3275, allocations: 69.2 kB / 0.5001 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.3277, allocations: 104.6 kB / 0.5002 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.72e-05/0.3277, allocations: 3.422 kB / 0.5002 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.322e-05/0.3278, allocations: 42.72 kB / 0.5002 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.244e-05/0.3279, allocations: 29.47 kB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.3279, allocations: 3.344 kB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.242e-05/0.328, allocations: 42.03 kB / 0.5003 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.403e-05/0.3281, allocations: 28.88 kB / 0.5003 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.889e-05/0.3281, allocations: 33 kB / 0.5003 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.3283, allocations: 119.8 kB / 0.5005 GB, free: 27.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3283, allocations: 0 / 0.5005 GB, free: 27.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3283, allocations: 2.938 kB / 0.5005 GB, free: 27.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3283, allocations: 0 / 0.5005 GB, free: 27.79 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005372/0.3289, allocations: 368.7 kB / 0.5008 GB, free: 27.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3289, allocations: 9.875 kB / 0.5008 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.329, allocations: 15.17 kB / 0.5008 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.3292, allocations: 161.1 kB / 0.501 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3292, allocations: 11.38 kB / 0.501 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.3293, allocations: 4.125 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.3294, allocations: 53.06 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3294, allocations: 0 / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3294, allocations: 0 / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3294, allocations: 0 / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.187e-05/0.3295, allocations: 16.88 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.3296, allocations: 138.2 kB / 0.5012 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.3297, allocations: 52.77 kB / 0.5013 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.3298, allocations: 22.8 kB / 0.5013 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.3298, allocations: 0 / 0.5013 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.3299, allocations: 76.78 kB / 0.5014 GB, free: 26.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3299, allocations: 0 / 0.5014 GB, free: 26.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002825/0.3302, allocations: 104.5 kB / 0.5015 GB, free: 26.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.3302, allocations: 58.62 kB / 0.5015 GB, free: 26.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.3304, allocations: 271.4 kB / 0.5018 GB, free: 26.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.3304, allocations: 28.73 kB / 0.5018 GB, free: 26.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.3305, allocations: 114.1 kB / 0.5019 GB, free: 26.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.3305, allocations: 18.52 kB / 0.5019 GB, free: 26.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.3305, allocations: 24.06 kB / 0.5019 GB, free: 26.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.3306, allocations: 328.3 kB / 0.5023 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.3306, allocations: 13.75 kB / 0.5023 GB, free: 26.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-05/0.3307, allocations: 26.09 kB / 0.5023 GB, free: 26.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.516e-05/0.3308, allocations: 54.25 kB / 0.5023 GB, free: 26.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3308, allocations: 0 / 0.5023 GB, free: 26.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001331/0.3309, allocations: 88.52 kB / 0.5024 GB, free: 26.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3309, allocations: 8.719 kB / 0.5024 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3309, allocations: 7.578 kB / 0.5024 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3309, allocations: 0 / 0.5024 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.514e-05/0.331, allocations: 17.47 kB / 0.5025 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.331, allocations: 4.141 kB / 0.5025 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.3311, allocations: 11.11 kB / 0.5025 GB, free: 26.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3311, allocations: 6.375 kB / 0.5025 GB, free: 26.08 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.046e-05/0.3311, allocations: 130.6 kB / 0.5026 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.3312, allocations: 18.28 kB / 0.5026 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.3314, allocations: 99.14 kB / 0.5027 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3314, allocations: 7.125 kB / 0.5027 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3314, allocations: 3.984 kB / 0.5027 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3314, allocations: 7.453 kB / 0.5027 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.348e-05/0.3315, allocations: 137.2 kB / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3315, allocations: 0 / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.589e-05/0.3315, allocations: 6.344 kB / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3315, allocations: 7.875 kB / 0.5029 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.3315, allocations: 0 / 0.5029 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3315, allocations: 0 / 0.5029 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3315, allocations: 3.125 kB / 0.5029 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.3317, allocations: 121.6 kB / 0.503 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.3317, allocations: 19.03 kB / 0.503 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.3317, allocations: 3.031 kB / 0.503 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.815e-05/0.3317, allocations: 3.516 kB / 0.503 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.3318, allocations: 3.156 kB / 0.503 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.3318, allocations: 3.312 kB / 0.503 GB, free: 25.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.3319, allocations: 209.4 kB / 0.5032 GB, free: 25.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3319, allocations: 3.938 kB / 0.5032 GB, free: 25.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000218/0.3321, allocations: 21 kB / 0.5033 GB, free: 25.51 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001542/0.3337, allocations: 441 kB / 0.5037 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.3338, allocations: 48.06 kB / 0.5037 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3338, allocations: 0 / 0.5037 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.893e-05/0.3339, allocations: 23.61 kB / 0.5037 GB, free: 25.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.3342, allocations: 30.25 kB / 0.5038 GB, free: 25.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.3346, allocations: 276.5 kB / 0.504 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.506e-05/0.3346, allocations: 103 kB / 0.5041 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.05e-05/0.3347, allocations: 17.56 kB / 0.5042 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.3347, allocations: 14.75 kB / 0.5042 GB, free: 25.01 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3347, allocations: 0 / 0.5042 GB, free: 25.01 MB / 446.1 MB Notification: Performance of Templates: time 0.004527/0.3392, allocations: 1.629 MB / 0.5058 GB, free: 24.78 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.154888983932324]