Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.001831/0.001831, allocations: 110.4 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.002236/0.002236, allocations: 204.7 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.486/1.486, 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 51.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.234, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003376/0.2373, allocations: 1.868 MB / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.2395, allocations: 1.216 MB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.959e-05/0.2396, allocations: 3.938 kB / 435.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.2399, allocations: 67.67 kB / 435.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.2402, allocations: 139.4 kB / 435.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.2409, allocations: 226.6 kB / 435.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.2411, allocations: 183.5 kB / 436 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2412, allocations: 24.67 kB / 436 MB, free: 3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.2413, allocations: 71.66 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.2415, allocations: 91.66 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.2415, allocations: 8 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.2417, allocations: 75.94 kB / 436.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.948e-05/0.2417, allocations: 55.77 kB / 436.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.523e-05/0.2418, allocations: 59.55 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.2422, allocations: 234.8 kB / 436.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2422, allocations: 4 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2422, allocations: 0 / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.2422, allocations: 0 / 436.6 MB, free: 2.414 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007484/0.2429, allocations: 490.4 kB / 437.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2429, allocations: 12.03 kB / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.243, allocations: 24.8 kB / 437.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.2434, allocations: 221.5 kB / 437.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2434, allocations: 8.375 kB / 437.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.2434, allocations: 8.125 kB / 437.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.2438, allocations: 172.4 kB / 437.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.2438, allocations: 15.94 kB / 437.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.2438, allocations: 4 kB / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2438, allocations: 0 / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.244, allocations: 39.97 kB / 437.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.2445, allocations: 322 kB / 437.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.2447, allocations: 111.9 kB / 438 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.2449, allocations: 50.55 kB / 438.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.2449, allocations: 4 kB / 438.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.245, allocations: 83.31 kB / 438.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.245, allocations: 0 / 438.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004093/0.2455, allocations: 153.4 kB / 438.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.2455, allocations: 136.5 kB / 438.4 MB, free: 392 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.2459, allocations: 329.9 kB / 438.8 MB, free: 56 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.2459, allocations: 29.7 kB / 438.8 MB, free: 20 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.246, allocations: 140 kB / 438.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.2461, allocations: 16.09 kB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.2461, allocations: 33.7 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2463, allocations: 338.7 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.2464, allocations: 23.98 kB / 439.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.2465, allocations: 141.3 kB / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.2467, allocations: 88.2 kB / 439.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2467, allocations: 4 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002498/0.2469, allocations: 121.5 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.247, allocations: 11.94 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.247, allocations: 0 / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.247, allocations: 4 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.2471, allocations: 19.98 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2471, allocations: 4 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.783e-05/0.2472, allocations: 4.312 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2472, allocations: 4 kB / 439.7 MB, free: 15.01 MB / 350.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: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001514/0.2473, allocations: 170.6 kB / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.2474, allocations: 23.81 kB / 439.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.2477, allocations: 119.4 kB / 440 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2477, allocations: 4 kB / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2477, allocations: 0 / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.653e-05/0.2478, allocations: 43.78 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.2478, allocations: 11.92 kB / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.2479, allocations: 4 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.2479, allocations: 7.984 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004018/0.2483, allocations: 371.4 kB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004184/0.2488, allocations: 465.1 kB / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001106/0.2489, allocations: 47.97 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002613/0.2491, allocations: 249.2 kB / 441.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Backend: time 2.4e-07/0.2491, allocations: 0 / 441.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002212/0.2514, allocations: 495.7 kB / 441.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of SimCode: time 0.000943/0.2523, allocations: 0.8229 MB / 442.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of Templates: time 0.00717/0.2595, allocations: 3.226 MB / 445.7 MB, free: 9.133 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.364157605996297] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 0.26713101399946027 0.281657054 0.036506558 Calling exit ...