Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001457/0.001457, allocations: 111.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.001501/0.001501, allocations: 206.8 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.447/1.447, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [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.001962/0.001962, allocations: 75.81 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.326, allocations: 53.31 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003281/0.3293, allocations: 1.577 MB / 433.6 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.3304, allocations: 0.5415 MB / 434.2 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.986e-05/0.3305, allocations: 4 kB / 434.2 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.539e-05/0.3306, allocations: 7.875 kB / 434.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.3308, allocations: 15.84 kB / 434.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.3311, allocations: 55.83 kB / 434.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.3312, allocations: 47.84 kB / 434.3 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3314, allocations: 8.188 kB / 434.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.3315, allocations: 35.84 kB / 434.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.705e-05/0.3316, allocations: 19.86 kB / 434.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.3316, allocations: 8 kB / 434.4 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.082e-05/0.3316, allocations: 8 kB / 434.4 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.3317, allocations: 15.92 kB / 434.4 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.3317, allocations: 23.81 kB / 434.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.3319, allocations: 65.64 kB / 434.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3319, allocations: 0 / 434.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.3319, allocations: 0 / 434.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.332, allocations: 0 / 434.5 MB, free: 4.973 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006151/0.3326, allocations: 391 kB / 434.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.3326, allocations: 8.031 kB / 434.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.3328, allocations: 20.88 kB / 434.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.3331, allocations: 204.1 kB / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-06/0.3331, allocations: 384 / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.3332, allocations: 4.375 kB / 435.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.3335, allocations: 113.2 kB / 435.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3335, allocations: 0 / 435.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.3335, allocations: 7.984 kB / 435.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3335, allocations: 0 / 435.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.403e-05/0.3336, allocations: 19.98 kB / 435.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.3339, allocations: 265.7 kB / 435.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.024e-05/0.334, allocations: 37.22 kB / 435.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.985e-05/0.3341, allocations: 25.77 kB / 435.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.3341, allocations: 0 / 435.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.3341, allocations: 34.5 kB / 435.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3341, allocations: 4 kB / 435.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002665/0.3344, allocations: 69.56 kB / 435.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.3345, allocations: 77.11 kB / 435.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.3346, allocations: 149.1 kB / 435.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.3346, allocations: 25.7 kB / 435.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.3347, allocations: 88.08 kB / 436 MB, free: 3.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.3347, allocations: 8.203 kB / 436 MB, free: 3.223 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.3348, allocations: 17.72 kB / 436 MB, free: 3.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3349, allocations: 318.8 kB / 436.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/0.3349, allocations: 8 kB / 436.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.322e-05/0.335, allocations: 17.7 kB / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.42e-05/0.3351, allocations: 37.7 kB / 436.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3351, allocations: 0 / 436.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001264/0.3352, allocations: 57.58 kB / 436.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3352, allocations: 8 kB / 436.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3352, allocations: 0 / 436.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3352, allocations: 0 / 436.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.408e-05/0.3353, allocations: 7.984 kB / 436.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3353, allocations: 0 / 436.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.642e-05/0.3353, allocations: 8.062 kB / 436.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3354, allocations: 0 / 436.5 MB, free: 2.719 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.581e-05/0.3355, allocations: 125.7 kB / 436.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.3355, allocations: 11.89 kB / 436.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.102e-05/0.3355, allocations: 11.83 kB / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3355, allocations: 0 / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3355, allocations: 0 / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.3356, allocations: 96.98 kB / 436.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.3356, allocations: 4 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-05/0.3357, allocations: 4 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.3357, allocations: 11.92 kB / 436.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002024/0.3359, allocations: 208.2 kB / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002272/0.3362, allocations: 306.1 kB / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.701e-05/0.3362, allocations: 15.98 kB / 437.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.109e-05/0.3363, allocations: 103.3 kB / 437.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of Backend: time 2.41e-07/0.3363, allocations: 0 / 437.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005001/0.3368, allocations: 94.31 kB / 437.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006396/0.3375, allocations: 0.6207 MB / 438 MB, free: 1.016 MB / 334.1 MB Notification: Performance of Templates: time 0.003808/0.3413, allocations: 0.6295 MB / 438.7 MB, free: 404 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.498843630775809] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 0.3498277091421187 0.36496337999999995 0.029685632000000003 Calling exit ...