Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.001751/0.001751, allocations: 71.75 kB / 21.24 MB, free: 404 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.001922/0.001922, allocations: 170.8 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.464/1.464, allocations: 177.2 MB / 204.9 MB, free: 9.059 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.2047/0.2047, 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.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") [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.002203/0.002203, allocations: 67.89 kB / 440.6 MB, free: 9.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3529, allocations: 65.44 MB / 0.4942 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002877/0.3558, allocations: 1.983 MB / 0.4961 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3572, allocations: 1.055 MB / 0.4972 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.13e-05/0.3573, allocations: 3.938 kB / 0.4972 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.3576, allocations: 46.67 kB / 0.4972 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.3579, allocations: 120.6 kB / 0.4973 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.3581, allocations: 108.2 kB / 0.4974 GB, free: 29.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.3584, allocations: 212.6 kB / 0.4976 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.3585, allocations: 19.16 kB / 0.4977 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.3587, allocations: 85 kB / 0.4977 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.3588, allocations: 71.64 kB / 0.4978 GB, free: 29.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.3588, allocations: 9.812 kB / 0.4978 GB, free: 29.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.3589, allocations: 59.94 kB / 0.4979 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.855e-05/0.359, allocations: 36.22 kB / 0.4979 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.46e-05/0.3591, allocations: 62.45 kB / 0.498 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.3594, allocations: 203.9 kB / 0.4982 GB, free: 28.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.3594, allocations: 3.25 kB / 0.4982 GB, free: 28.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3594, allocations: 0 / 0.4982 GB, free: 28.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3594, allocations: 0 / 0.4982 GB, free: 28.9 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008872/0.3603, allocations: 0.4947 MB / 0.4987 GB, free: 28.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.3603, allocations: 6.375 kB / 0.4987 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.3604, allocations: 18.53 kB / 0.4987 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.3606, allocations: 196.3 kB / 0.4989 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.3606, allocations: 3.531 kB / 0.4989 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.3607, allocations: 21.62 kB / 0.4989 GB, free: 28.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.3611, allocations: 177.3 kB / 0.4991 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3611, allocations: 3.422 kB / 0.4991 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.3611, allocations: 4 kB / 0.4991 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3611, allocations: 3.156 kB / 0.4991 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.3615, allocations: 115.7 kB / 0.4992 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.362, allocations: 484.8 kB / 0.4996 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.3626, allocations: 158.4 kB / 0.4998 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.3628, allocations: 69.52 kB / 0.4999 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.3629, allocations: 0 / 0.4999 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003444/0.3632, allocations: 168.9 kB / 0.5 GB, free: 27.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.3632, allocations: 4 kB / 0.5 GB, free: 27.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008362/0.364, allocations: 254.5 kB / 0.5003 GB, free: 27.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.3641, allocations: 54.5 kB / 0.5003 GB, free: 27.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3643, allocations: 244.5 kB / 0.5005 GB, free: 27.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3643, allocations: 28.95 kB / 0.5006 GB, free: 27.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.3643, allocations: 137 kB / 0.5007 GB, free: 27.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.3644, allocations: 38.5 kB / 0.5007 GB, free: 27.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.3644, allocations: 41.58 kB / 0.5008 GB, free: 27.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.304e-05/0.3645, allocations: 328.2 kB / 0.5011 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.3648, allocations: 102.2 kB / 0.5012 GB, free: 26.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.3651, allocations: 134.3 kB / 0.5013 GB, free: 26.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005141/0.3656, allocations: 201.4 kB / 0.5015 GB, free: 26.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3656, allocations: 3.219 kB / 0.5015 GB, free: 26.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006181/0.3662, allocations: 288 kB / 0.5018 GB, free: 26.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.3662, allocations: 39.66 kB / 0.5018 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3662, allocations: 0 / 0.5018 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3662, allocations: 3.281 kB / 0.5018 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.3664, allocations: 31.92 kB / 0.5019 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3664, allocations: 4.062 kB / 0.5019 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.3666, allocations: 34.2 kB / 0.5019 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3666, allocations: 6.547 kB / 0.5019 GB, free: 26.24 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 8.909e-05/0.3667, allocations: 137.8 kB / 0.502 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.3667, allocations: 14.03 kB / 0.5021 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005989/0.3673, allocations: 221.7 kB / 0.5023 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3673, allocations: 3.219 kB / 0.5023 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3673, allocations: 3.938 kB / 0.5023 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3673, allocations: 3.938 kB / 0.5023 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.3675, allocations: 163.3 kB / 0.5024 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3675, allocations: 0 / 0.5024 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.3676, allocations: 30.08 kB / 0.5025 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3676, allocations: 3.938 kB / 0.5025 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3676, allocations: 3.094 kB / 0.5025 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3677, allocations: 0 / 0.5025 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3677, allocations: 7.562 kB / 0.5025 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007954/0.3684, allocations: 310.2 kB / 0.5028 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.3685, allocations: 19.12 kB / 0.5028 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.3685, allocations: 7.188 kB / 0.5028 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.3687, allocations: 27.42 kB / 0.5028 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.3687, allocations: 21.47 kB / 0.5028 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.3688, allocations: 15.09 kB / 0.5029 GB, free: 25.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.3689, allocations: 171 kB / 0.503 GB, free: 25.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3689, allocations: 0 / 0.503 GB, free: 25.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.3691, allocations: 37.41 kB / 0.5031 GB, free: 25.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001539/0.3706, allocations: 441.5 kB / 0.5035 GB, free: 25.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005816/0.3712, allocations: 256.1 kB / 0.5037 GB, free: 25.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3712, allocations: 0 / 0.5037 GB, free: 25.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.3715, allocations: 77.16 kB / 0.5038 GB, free: 25.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.3718, allocations: 46.89 kB / 0.5038 GB, free: 25.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005273/0.3723, allocations: 324.1 kB / 0.5041 GB, free: 25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.289e-05/0.3724, allocations: 115.6 kB / 0.5043 GB, free: 24.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.808e-05/0.3725, allocations: 29.62 kB / 0.5043 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.3725, allocations: 21.48 kB / 0.5043 GB, free: 24.9 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3725, allocations: 0 / 0.5043 GB, free: 24.9 MB / 446.1 MB Notification: Performance of Templates: time 0.005869/0.3784, allocations: 3.069 MB / 0.5073 GB, free: 24.54 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.9996230020187795] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.38599547802004963 0.396607063 0.034732272 Calling exit ...