Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.001807/0.001807, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002211/0.002211, allocations: 209.3 kB / 24.49 MB, free: 3.965 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 7.801 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+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(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_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_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 47.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2277, allocations: 53.38 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003189/0.2309, allocations: 1.543 MB / 433.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004602/0.2314, allocations: 139.5 kB / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.974e-05/0.2315, allocations: 7.938 kB / 434 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.653e-05/0.2316, allocations: 7.922 kB / 434 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.2317, allocations: 11.88 kB / 434 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.2319, allocations: 43.83 kB / 434.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.232, allocations: 35.92 kB / 434.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2321, allocations: 15.98 kB / 434.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.432e-05/0.2322, allocations: 11.94 kB / 434.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.631e-05/0.2322, allocations: 19.86 kB / 434.2 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.2322, allocations: 8 kB / 434.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.2322, allocations: 4 kB / 434.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.2323, allocations: 23.86 kB / 434.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.2323, allocations: 19.86 kB / 434.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.2325, allocations: 58.36 kB / 434.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2325, allocations: 0 / 434.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2325, allocations: 0 / 434.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.2325, allocations: 4 kB / 434.3 MB, free: 4.77 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.0004969/0.233, allocations: 309.9 kB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.233, allocations: 8.031 kB / 434.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.2331, allocations: 12.89 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.2333, allocations: 134.4 kB / 434.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.2333, allocations: 4.375 kB / 434.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.2334, allocations: 12.3 kB / 434.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.2337, allocations: 122.4 kB / 434.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2337, allocations: 192 / 434.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2337, allocations: 3.938 kB / 434.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.2337, allocations: 11.94 kB / 434.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.2339, allocations: 31.97 kB / 434.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.2343, allocations: 321.5 kB / 435.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.2345, allocations: 75.78 kB / 435.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.849e-05/0.2345, allocations: 42.55 kB / 435.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.2346, allocations: 4 kB / 435.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.2346, allocations: 38.56 kB / 435.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.2346, allocations: 0 / 435.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003649/0.235, allocations: 113.4 kB / 435.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.235, allocations: 102.8 kB / 435.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.2352, allocations: 144.6 kB / 435.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.2352, allocations: 25.7 kB / 435.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.2352, allocations: 92.5 kB / 435.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.2352, allocations: 7.953 kB / 435.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.2353, allocations: 21.72 kB / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2354, allocations: 318.8 kB / 436.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.2355, allocations: 15.98 kB / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-05/0.2356, allocations: 43.36 kB / 436.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.2357, allocations: 63.34 kB / 436.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2357, allocations: 0 / 436.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001833/0.2359, allocations: 89.42 kB / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2359, allocations: 4 kB / 436.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2359, allocations: 8 kB / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2359, allocations: 0 / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.236, allocations: 11.98 kB / 436.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.236, allocations: 4.125 kB / 436.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.2361, allocations: 4 kB / 436.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.2361, allocations: 8 kB / 436.4 MB, free: 2.352 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.0001034/0.2362, allocations: 121.8 kB / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.2362, allocations: 11.89 kB / 436.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.2363, allocations: 11.92 kB / 436.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2363, allocations: 0 / 436.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2363, allocations: 0 / 436.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.2363, allocations: 19.94 kB / 436.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.2363, allocations: 4 kB / 436.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.2364, allocations: 7.984 kB / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.2365, allocations: 4 kB / 436.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002903/0.2368, allocations: 315.3 kB / 436.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003242/0.2371, allocations: 417.3 kB / 437.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.74e-05/0.2372, allocations: 32.02 kB / 437.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.944e-05/0.2373, allocations: 107.2 kB / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of Backend: time 2.41e-07/0.2373, allocations: 0 / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005233/0.2378, allocations: 102.5 kB / 437.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006109/0.2384, allocations: 0.6156 MB / 438.2 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of Templates: time 0.003289/0.2417, allocations: 0.7741 MB / 439 MB, free: 15.77 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.217932945000939] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 0.2493942130022333 0.263958695 0.028450281 Calling exit ...