Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001747/0.001747, allocations: 69.72 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.002025/0.002025, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.478/1.478, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.233/0.233, allocations: 34.27 MB / 295.5 MB, free: 14.56 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 75.88 kB / 443.2 MB, free: 6.598 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3852, allocations: 66.01 MB / 0.4973 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004173/0.3893, allocations: 1.984 MB / 0.4992 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002556/0.3919, allocations: 1.055 MB / 0.5003 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.392, allocations: 11.25 kB / 0.5003 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.3924, allocations: 51.61 kB / 0.5003 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004536/0.3928, allocations: 106.5 kB / 0.5004 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.3932, allocations: 113.2 kB / 0.5005 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000317/0.3935, allocations: 206.6 kB / 0.5007 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3936, allocations: 23.42 kB / 0.5007 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.3938, allocations: 88.72 kB / 0.5008 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.3939, allocations: 75.97 kB / 0.5009 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.394, allocations: 12.81 kB / 0.5009 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.3941, allocations: 50.5 kB / 0.501 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.402e-05/0.3942, allocations: 39.62 kB / 0.501 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.3943, allocations: 62.64 kB / 0.5011 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.3946, allocations: 200.8 kB / 0.5013 GB, free: 27.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3946, allocations: 0 / 0.5013 GB, free: 27.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3946, allocations: 0 / 0.5013 GB, free: 27.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3946, allocations: 4 kB / 0.5013 GB, free: 27.33 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.001014/0.3956, allocations: 0.4937 MB / 0.5017 GB, free: 26.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.3957, allocations: 9.688 kB / 0.5017 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.3957, allocations: 18.66 kB / 0.5018 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.3961, allocations: 185.2 kB / 0.5019 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3961, allocations: 7.5 kB / 0.5019 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.3961, allocations: 21.53 kB / 0.502 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000529/0.3966, allocations: 172 kB / 0.5021 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3967, allocations: 7.5 kB / 0.5021 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.3967, allocations: 3.125 kB / 0.5021 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3967, allocations: 3.984 kB / 0.5021 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/0.3973, allocations: 117.6 kB / 0.5023 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.3979, allocations: 484.6 kB / 0.5027 GB, free: 26.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008646/0.3988, allocations: 158.5 kB / 0.5029 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.3992, allocations: 72.36 kB / 0.5029 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.3992, allocations: 3.156 kB / 0.5029 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004721/0.3996, allocations: 162.9 kB / 0.5031 GB, free: 25.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 2.054e-06/0.3996, allocations: 0 / 0.5031 GB, free: 25.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001166/0.4008, allocations: 259.9 kB / 0.5033 GB, free: 25.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.4008, allocations: 57.89 kB / 0.5034 GB, free: 25.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.4011, allocations: 247.1 kB / 0.5036 GB, free: 25.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.4011, allocations: 25.7 kB / 0.5037 GB, free: 25.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.253e-05/0.4012, allocations: 133.3 kB / 0.5038 GB, free: 25.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.4013, allocations: 36.97 kB / 0.5038 GB, free: 25.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.272e-05/0.4013, allocations: 36.36 kB / 0.5039 GB, free: 25.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.814e-05/0.4014, allocations: 331.2 kB / 0.5042 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.4018, allocations: 96.91 kB / 0.5043 GB, free: 25.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.4022, allocations: 135.3 kB / 0.5044 GB, free: 25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007399/0.4029, allocations: 191 kB / 0.5046 GB, free: 24.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4029, allocations: 0 / 0.5046 GB, free: 24.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000924/0.4039, allocations: 300 kB / 0.5049 GB, free: 24.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.4039, allocations: 34.52 kB / 0.5049 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4039, allocations: 0 / 0.5049 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.4039, allocations: 6.188 kB / 0.5049 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.4042, allocations: 41.19 kB / 0.5049 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4042, allocations: 3.938 kB / 0.5049 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.4045, allocations: 30.86 kB / 0.505 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.4045, allocations: 6.609 kB / 0.505 GB, free: 24.68 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 0.0001234/0.4046, allocations: 135.1 kB / 0.5051 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.4047, allocations: 17.31 kB / 0.5051 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009/0.4056, allocations: 225.8 kB / 0.5053 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4056, allocations: 0 / 0.5053 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4056, allocations: 3.938 kB / 0.5053 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4056, allocations: 0 / 0.5053 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.4058, allocations: 170 kB / 0.5055 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4058, allocations: 7.938 kB / 0.5055 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.406, allocations: 29.39 kB / 0.5055 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.406, allocations: 0 / 0.5055 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.406, allocations: 7.469 kB / 0.5056 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.406, allocations: 3.188 kB / 0.5056 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.406, allocations: 0 / 0.5056 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.4073, allocations: 315.9 kB / 0.5059 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.4073, allocations: 18.08 kB / 0.5059 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.4074, allocations: 6.969 kB / 0.5059 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.4076, allocations: 26.22 kB / 0.5059 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.4077, allocations: 13.55 kB / 0.5059 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.4077, allocations: 10.28 kB / 0.5059 GB, free: 24.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.4079, allocations: 173.7 kB / 0.5061 GB, free: 24.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4079, allocations: 4 kB / 0.5061 GB, free: 24.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004532/0.4083, allocations: 43.19 kB / 0.5061 GB, free: 24.01 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.002254/0.4106, allocations: 444 kB / 0.5066 GB, free: 23.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008457/0.4114, allocations: 251 kB / 0.5068 GB, free: 23.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4115, allocations: 0 / 0.5068 GB, free: 23.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.4118, allocations: 78.38 kB / 0.5069 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.4123, allocations: 36.14 kB / 0.5069 GB, free: 23.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008602/0.4132, allocations: 327.7 kB / 0.5072 GB, free: 23.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.4133, allocations: 124.1 kB / 0.5073 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.4134, allocations: 16.98 kB / 0.5074 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.193e-05/0.4135, allocations: 21.14 kB / 0.5074 GB, free: 23.34 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4135, allocations: 0 / 0.5074 GB, free: 23.34 MB / 446.1 MB Notification: Performance of Templates: time 0.009382/0.4229, allocations: 3.085 MB / 0.5104 GB, free: 22.96 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.0962963219499215] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.43214889999944717 0.45191385700000003 0.053128599000000006 Calling exit ...