Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001372/0.001372, allocations: 112.2 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 207 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.505/1.505, allocations: 230.4 MB / 258.1 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 71.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3379, allocations: 53.32 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003025/0.3409, allocations: 1.489 MB / 433.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002971/0.3412, allocations: 91.69 kB / 433.6 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.3413, allocations: 0 / 433.6 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.3413, allocations: 3.984 kB / 433.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.957e-05/0.3414, allocations: 11.94 kB / 433.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.3416, allocations: 27.89 kB / 433.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.468e-05/0.3417, allocations: 19.94 kB / 433.7 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3418, allocations: 15.92 kB / 433.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.845e-05/0.3419, allocations: 8 kB / 433.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.04e-05/0.3419, allocations: 15.92 kB / 433.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.3419, allocations: 0 / 433.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.3419, allocations: 4 kB / 433.7 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.342, allocations: 7.922 kB / 433.8 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.342, allocations: 11.94 kB / 433.8 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.7e-05/0.3421, allocations: 25.88 kB / 433.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3421, allocations: 4 kB / 433.8 MB, free: 5.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3421, allocations: 0 / 433.8 MB, free: 5.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.3421, allocations: 0 / 433.8 MB, free: 5.66 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004962/0.3426, allocations: 347.3 kB / 434.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3427, allocations: 8.031 kB / 434.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.3427, allocations: 8.891 kB / 434.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.3429, allocations: 176.2 kB / 434.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.343, allocations: 8.375 kB / 434.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.343, allocations: 4.375 kB / 434.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.3433, allocations: 111.8 kB / 434.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3433, allocations: 4.125 kB / 434.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3433, allocations: 7.938 kB / 434.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3433, allocations: 0 / 434.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.89e-05/0.3434, allocations: 19.98 kB / 434.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.3436, allocations: 157.6 kB / 434.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.3438, allocations: 54.48 kB / 434.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.296e-05/0.3438, allocations: 24.92 kB / 434.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3439, allocations: 0 / 434.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3439, allocations: 34.56 kB / 434.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.3439, allocations: 0 / 434.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002363/0.3441, allocations: 69.61 kB / 434.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.3442, allocations: 55.41 kB / 434.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.3443, allocations: 109.8 kB / 435 MB, free: 4.285 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3443, allocations: 29.7 kB / 435 MB, free: 4.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.3443, allocations: 84.14 kB / 435.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/0.3443, allocations: 4 kB / 435.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.3444, allocations: 17.72 kB / 435.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3445, allocations: 314.8 kB / 435.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.3445, allocations: 8 kB / 435.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.3446, allocations: 23.44 kB / 435.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.246e-05/0.3446, allocations: 39.36 kB / 435.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3446, allocations: 0 / 435.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.465e-05/0.3447, allocations: 49.64 kB / 435.5 MB, free: 3.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.3447, allocations: 8 kB / 435.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3447, allocations: 0 / 435.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3447, allocations: 7.922 kB / 435.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.192e-05/0.3448, allocations: 12.12 kB / 435.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3448, allocations: 3.938 kB / 435.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.225e-05/0.3448, allocations: 7.953 kB / 435.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.3448, allocations: 0 / 435.6 MB, free: 3.633 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.448e-05/0.3449, allocations: 113.8 kB / 435.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.3449, allocations: 0 / 435.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.345, allocations: 12.12 kB / 435.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.345, allocations: 0 / 435.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.345, allocations: 11.97 kB / 435.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.345, allocations: 89 kB / 435.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.345, allocations: 3.938 kB / 435.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.064e-05/0.3451, allocations: 4 kB / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-06/0.3451, allocations: 0 / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001582/0.3452, allocations: 133 kB / 435.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002649/0.3455, allocations: 234.7 kB / 436.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.504e-05/0.3455, allocations: 15.98 kB / 436.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.363e-05/0.3456, allocations: 83.28 kB / 436.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of Backend: time 2.51e-07/0.3456, allocations: 0 / 436.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003441/0.3459, allocations: 94.33 kB / 436.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005095/0.3464, allocations: 0.5649 MB / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of Templates: time 0.002414/0.3489, allocations: 320 kB / 437.2 MB, free: 1.867 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.5222548567689955] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 0.35759237315505743 0.372223393 0.027074897 Calling exit ...