Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001824/0.001824, allocations: 74.19 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.002127/0.002127, allocations: 158.6 kB / 24.5 MB, free: 3.715 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.476/1.476, allocations: 177.2 MB / 204.9 MB, free: 8.996 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.2079/0.2079, allocations: 32.8 MB / 294.1 MB, free: 20 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.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") [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.002071/0.002071, allocations: 63.91 kB / 440.6 MB, free: 9.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3363, allocations: 65.44 MB / 0.4942 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002584/0.3389, allocations: 1.798 MB / 0.496 GB, free: 30.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3403, allocations: 1.042 MB / 0.497 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.657e-05/0.3403, allocations: 3.938 kB / 0.497 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.3407, allocations: 302.8 kB / 0.4973 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.3411, allocations: 255.2 kB / 0.4975 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.3413, allocations: 109.8 kB / 0.4976 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.3415, allocations: 262.3 kB / 0.4979 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.3416, allocations: 12 kB / 0.4979 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.3417, allocations: 131.9 kB / 0.498 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.3419, allocations: 212.3 kB / 0.4982 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.3419, allocations: 9 kB / 0.4982 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-05/0.342, allocations: 46.98 kB / 0.4983 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3421, allocations: 136.9 kB / 0.4984 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.35e-05/0.3422, allocations: 103.5 kB / 0.4985 GB, free: 29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.3425, allocations: 380.1 kB / 0.4988 GB, free: 28.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3425, allocations: 0 / 0.4988 GB, free: 28.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3425, allocations: 0 / 0.4988 GB, free: 28.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3425, allocations: 3.156 kB / 0.4989 GB, free: 28.85 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007392/0.3432, allocations: 0.675 MB / 0.4995 GB, free: 28.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.3432, allocations: 9.281 kB / 0.4995 GB, free: 28.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.3433, allocations: 50.3 kB / 0.4996 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.3438, allocations: 396.4 kB / 0.4999 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.3438, allocations: 3.375 kB / 0.4999 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.3438, allocations: 8.062 kB / 0.5 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.344, allocations: 87.39 kB / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.344, allocations: 0 / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.344, allocations: 3.25 kB / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.344, allocations: 4 kB / 0.5 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.3441, allocations: 37.52 kB / 0.5001 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.3444, allocations: 299.7 kB / 0.5004 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.3446, allocations: 103.7 kB / 0.5005 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.3447, allocations: 40.17 kB / 0.5005 GB, free: 27.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3448, allocations: 3.938 kB / 0.5005 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.345, allocations: 114.6 kB / 0.5006 GB, free: 27.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.345, allocations: 0 / 0.5006 GB, free: 27.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004807/0.3454, allocations: 214.9 kB / 0.5008 GB, free: 27.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.3455, allocations: 80.11 kB / 0.5009 GB, free: 27.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009054/0.3464, allocations: 1.03 MB / 0.5019 GB, free: 27.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.3464, allocations: 32.73 kB / 0.5019 GB, free: 27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.3465, allocations: 233.7 kB / 0.5022 GB, free: 26.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.3466, allocations: 33.61 kB / 0.5022 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.3466, allocations: 27.38 kB / 0.5022 GB, free: 26.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.3467, allocations: 375.5 kB / 0.5026 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.3468, allocations: 31.48 kB / 0.5026 GB, free: 26.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.279e-05/0.3469, allocations: 62.36 kB / 0.5027 GB, free: 26.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.347, allocations: 92.33 kB / 0.5028 GB, free: 26.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.347, allocations: 0 / 0.5028 GB, free: 26.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000256/0.3473, allocations: 176.6 kB / 0.5029 GB, free: 26.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3473, allocations: 10.02 kB / 0.5029 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3473, allocations: 8.047 kB / 0.5029 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3473, allocations: 3.344 kB / 0.5029 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.3474, allocations: 27.3 kB / 0.503 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3474, allocations: 3.156 kB / 0.503 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.3475, allocations: 10.95 kB / 0.503 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.3475, allocations: 3.219 kB / 0.503 GB, free: 26.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001504/0.3477, allocations: 224 kB / 0.5032 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.3477, allocations: 52.61 kB / 0.5032 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.348, allocations: 211.4 kB / 0.5034 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.348, allocations: 2.844 kB / 0.5035 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3481, allocations: 3.938 kB / 0.5035 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3481, allocations: 0 / 0.5035 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.3482, allocations: 263.9 kB / 0.5037 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3482, allocations: 0 / 0.5037 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.3483, allocations: 16.78 kB / 0.5037 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3483, allocations: 7.094 kB / 0.5037 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3483, allocations: 4 kB / 0.5037 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3483, allocations: 2.938 kB / 0.5037 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3483, allocations: 0 / 0.5037 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.3486, allocations: 225.2 kB / 0.504 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.965e-05/0.3487, allocations: 68.2 kB / 0.504 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.3487, allocations: 7.25 kB / 0.504 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.3488, allocations: 3.125 kB / 0.504 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.3488, allocations: 9.953 kB / 0.504 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.3488, allocations: 10.31 kB / 0.504 GB, free: 25.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005755/0.3494, allocations: 0.7649 MB / 0.5048 GB, free: 25.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3494, allocations: 0 / 0.5048 GB, free: 25.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.3497, allocations: 43.42 kB / 0.5048 GB, free: 25.29 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001508/0.3512, allocations: 450.9 kB / 0.5053 GB, free: 25.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.3514, allocations: 83.03 kB / 0.5053 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3514, allocations: 0 / 0.5053 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.548e-05/0.3515, allocations: 46.09 kB / 0.5054 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3519, allocations: 83.67 kB / 0.5055 GB, free: 25.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009522/0.3528, allocations: 0.8783 MB / 0.5063 GB, free: 24.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.353, allocations: 243.8 kB / 0.5066 GB, free: 24.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.502e-05/0.3531, allocations: 52.5 kB / 0.5066 GB, free: 24.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.3531, allocations: 27.09 kB / 0.5066 GB, free: 24.5 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3531, allocations: 0 / 0.5066 GB, free: 24.5 MB / 446.1 MB Notification: Performance of Templates: time 0.007928/0.3611, allocations: 3.975 MB / 0.5105 GB, free: 23.96 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.029438582016155]