Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.00166/0.00166, allocations: 75.75 kB / 21.25 MB, free: 408 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.0022/0.0022, allocations: 164.1 kB / 24.5 MB, free: 3.465 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.483/1.483, allocations: 177.2 MB / 204.9 MB, free: 8.918 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.2187/0.2187, allocations: 34.27 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 75.86 kB / 443.2 MB, free: 6.594 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3257, allocations: 66 MB / 0.4973 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002639/0.3283, allocations: 1.688 MB / 0.4989 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3296, allocations: 0.9463 MB / 0.4999 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.789e-05/0.3297, allocations: 3.188 kB / 0.4999 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.3299, allocations: 53.22 kB / 0.4999 GB, free: 28.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.3302, allocations: 97.19 kB / 0.5 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.3303, allocations: 76.64 kB / 0.5001 GB, free: 28.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.3305, allocations: 95.81 kB / 0.5002 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.3305, allocations: 3.359 kB / 0.5002 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.576e-05/0.3306, allocations: 46.94 kB / 0.5002 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.354e-05/0.3307, allocations: 31.66 kB / 0.5003 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3307, allocations: 7.438 kB / 0.5003 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.09e-05/0.3308, allocations: 34.83 kB / 0.5003 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.3308, allocations: 35.39 kB / 0.5003 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.3309, allocations: 26.28 kB / 0.5004 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.331, allocations: 123.6 kB / 0.5005 GB, free: 27.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.331, allocations: 3.328 kB / 0.5005 GB, free: 27.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.331, allocations: 0 / 0.5005 GB, free: 27.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.3311, allocations: 0 / 0.5005 GB, free: 27.83 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.000505/0.3316, allocations: 370.2 kB / 0.5008 GB, free: 27.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3316, allocations: 9.781 kB / 0.5008 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.3316, allocations: 15.3 kB / 0.5008 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.3319, allocations: 157.8 kB / 0.501 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3319, allocations: 3.562 kB / 0.501 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.3319, allocations: 8.062 kB / 0.501 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.332, allocations: 57.03 kB / 0.5011 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3321, allocations: 0 / 0.5011 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3321, allocations: 0 / 0.5011 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.3321, allocations: 0 / 0.5011 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.24e-05/0.3321, allocations: 21.06 kB / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.3323, allocations: 135.4 kB / 0.5012 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.3325, allocations: 56.84 kB / 0.5013 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.3325, allocations: 21.84 kB / 0.5013 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.3325, allocations: 0 / 0.5013 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.3327, allocations: 63.14 kB / 0.5013 GB, free: 27.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3327, allocations: 0 / 0.5013 GB, free: 27.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002922/0.333, allocations: 112.5 kB / 0.5015 GB, free: 26.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.333, allocations: 51.41 kB / 0.5015 GB, free: 26.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.3332, allocations: 279.3 kB / 0.5018 GB, free: 26.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.3332, allocations: 32.95 kB / 0.5018 GB, free: 26.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.3332, allocations: 113.8 kB / 0.5019 GB, free: 26.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.3333, allocations: 11.12 kB / 0.5019 GB, free: 26.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.3333, allocations: 23.59 kB / 0.5019 GB, free: 26.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.3334, allocations: 325.4 kB / 0.5023 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.207e-05/0.3334, allocations: 21.19 kB / 0.5023 GB, free: 26.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.891e-05/0.3335, allocations: 30.56 kB / 0.5023 GB, free: 26.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.687e-05/0.3336, allocations: 48.16 kB / 0.5024 GB, free: 26.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3336, allocations: 0 / 0.5024 GB, free: 26.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001339/0.3337, allocations: 96.11 kB / 0.5024 GB, free: 26.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3337, allocations: 8.719 kB / 0.5025 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3337, allocations: 0 / 0.5025 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3337, allocations: 3.219 kB / 0.5025 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.478e-05/0.3338, allocations: 9.094 kB / 0.5025 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3338, allocations: 160 / 0.5025 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.3339, allocations: 14.45 kB / 0.5025 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.3339, allocations: 0 / 0.5025 GB, free: 26.13 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.433e-05/0.3339, allocations: 133.2 kB / 0.5026 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.334, allocations: 20.91 kB / 0.5026 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.3341, allocations: 114.2 kB / 0.5027 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3341, allocations: 3.984 kB / 0.5027 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3341, allocations: 0 / 0.5027 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3342, allocations: 0 / 0.5027 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.726e-05/0.3342, allocations: 144.2 kB / 0.5029 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3342, allocations: 0 / 0.5029 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.3343, allocations: 3 kB / 0.5029 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.3343, allocations: 3.938 kB / 0.5029 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.3343, allocations: 7.094 kB / 0.5029 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3343, allocations: 3.641 kB / 0.5029 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3343, allocations: 8 kB / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.3344, allocations: 124.5 kB / 0.503 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.3345, allocations: 15 kB / 0.503 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.3345, allocations: 3.188 kB / 0.503 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.758e-05/0.3345, allocations: 3.562 kB / 0.503 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.3345, allocations: 3.312 kB / 0.503 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.3346, allocations: 11.22 kB / 0.5031 GB, free: 25.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.3347, allocations: 205.3 kB / 0.5032 GB, free: 25.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3347, allocations: 0 / 0.5032 GB, free: 25.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.3349, allocations: 16.91 kB / 0.5033 GB, free: 25.55 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.001547/0.3364, allocations: 438.5 kB / 0.5037 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.3366, allocations: 49.61 kB / 0.5037 GB, free: 25.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3366, allocations: 0 / 0.5037 GB, free: 25.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.808e-05/0.3367, allocations: 20.86 kB / 0.5037 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.3369, allocations: 18.72 kB / 0.5038 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.3374, allocations: 281.5 kB / 0.504 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.854e-05/0.3375, allocations: 108.1 kB / 0.5041 GB, free: 25.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.127e-05/0.3375, allocations: 9.625 kB / 0.5041 GB, free: 25.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.3375, allocations: 17.84 kB / 0.5042 GB, free: 25.05 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3375, allocations: 0 / 0.5042 GB, free: 25.05 MB / 446.1 MB Notification: Performance of Templates: time 0.004343/0.3419, allocations: 1.633 MB / 0.5058 GB, free: 24.82 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.015885671949945]