Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.001572/0.001572, allocations: 113.9 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.001651/0.001651, allocations: 209.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.461/1.461, 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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [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.002047/0.002047, allocations: 59.84 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2977, allocations: 53.32 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.00325/0.301, allocations: 1.561 MB / 433.6 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004221/0.3014, allocations: 143.5 kB / 433.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.838e-05/0.3015, allocations: 4 kB / 433.8 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.3016, allocations: 11.92 kB / 433.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.2e-05/0.3017, allocations: 3.938 kB / 433.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.3019, allocations: 47.83 kB / 433.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.3021, allocations: 39.86 kB / 433.9 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3022, allocations: 11.98 kB / 433.9 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.964e-05/0.3022, allocations: 19.92 kB / 433.9 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/0.3023, allocations: 15.92 kB / 433.9 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.3023, allocations: 4 kB / 433.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.3023, allocations: 0 / 433.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.3024, allocations: 23.92 kB / 433.9 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.3024, allocations: 27.69 kB / 434 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.3026, allocations: 69.64 kB / 434 MB, free: 5.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3026, allocations: 0 / 434 MB, free: 5.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3026, allocations: 0 / 434 MB, free: 5.426 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3026, allocations: 0 / 434 MB, free: 5.426 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005795/0.3032, allocations: 383 kB / 434.4 MB, free: 5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3032, allocations: 8.031 kB / 434.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.3032, allocations: 12.89 kB / 434.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.3035, allocations: 196.2 kB / 434.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.3035, allocations: 4.375 kB / 434.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.3036, allocations: 4.359 kB / 434.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.3039, allocations: 122.5 kB / 434.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3039, allocations: 192 / 434.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3039, allocations: 7.938 kB / 434.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.3039, allocations: 7.938 kB / 434.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.3041, allocations: 31.97 kB / 434.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.3046, allocations: 365.9 kB / 435.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.3047, allocations: 83.72 kB / 435.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/0.3048, allocations: 38.62 kB / 435.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.3048, allocations: 0 / 435.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.3049, allocations: 38.55 kB / 435.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3049, allocations: 0 / 435.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003548/0.3052, allocations: 109.5 kB / 435.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.3053, allocations: 102.8 kB / 435.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3054, allocations: 152.7 kB / 435.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3054, allocations: 25.7 kB / 435.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.3055, allocations: 96.08 kB / 435.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.3055, allocations: 11.88 kB / 435.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.3056, allocations: 21.72 kB / 435.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3057, allocations: 310.8 kB / 436.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.505e-05/0.3058, allocations: 19.97 kB / 436.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.659e-05/0.3059, allocations: 47.41 kB / 436.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.306, allocations: 59.34 kB / 436.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.306, allocations: 0 / 436.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001946/0.3062, allocations: 85.5 kB / 436.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3062, allocations: 8 kB / 436.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3062, allocations: 3.984 kB / 436.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3063, allocations: 3.938 kB / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.3063, allocations: 11.94 kB / 436.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3063, allocations: 4 kB / 436.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.3064, allocations: 12.11 kB / 436.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3064, allocations: 0 / 436.4 MB, free: 2.781 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: 4 (sample1.y[2],sample1.y[1],sample1.u[2],sample1.u[1]) * 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 0.0001193/0.3065, allocations: 121.8 kB / 436.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.3066, allocations: 15.94 kB / 436.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.3066, allocations: 11.83 kB / 436.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3066, allocations: 0 / 436.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3066, allocations: 4 kB / 436.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.941e-05/0.3067, allocations: 93.05 kB / 436.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.3067, allocations: 0 / 436.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3068, allocations: 15.98 kB / 436.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.3069, allocations: 7.938 kB / 436.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003074/0.3072, allocations: 315.4 kB / 436.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000334/0.3075, allocations: 409.4 kB / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.461e-05/0.3076, allocations: 27.97 kB / 437.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.607e-05/0.3077, allocations: 110.4 kB / 437.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of Backend: time 4.7e-07/0.3077, allocations: 4 kB / 437.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005543/0.3082, allocations: 102.3 kB / 437.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of SimCode: time 0.000658/0.3089, allocations: 0.6221 MB / 438.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of Templates: time 0.003439/0.3123, allocations: 0.677 MB / 438.9 MB, free: 204 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.431281617376953] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 0.32131088385358453 0.335907229 0.030102273000000002 Calling exit ...