Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001839/0.001839, 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.00224/0.00224, allocations: 208.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.448/1.448, 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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_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_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 43.94 kB / 379 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2111, allocations: 53.37 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002854/0.2139, allocations: 1.578 MB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000945/0.2149, allocations: 0.4987 MB / 434.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.215, allocations: 4 kB / 434.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.97e-05/0.215, allocations: 7.922 kB / 434.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.2151, allocations: 11.88 kB / 434.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.2154, allocations: 59.8 kB / 434.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.2155, allocations: 43.8 kB / 434.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.673e-05/0.2156, allocations: 16.17 kB / 434.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.2157, allocations: 27.92 kB / 434.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.2158, allocations: 27.84 kB / 434.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.2158, allocations: 0 / 434.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.633e-05/0.2158, allocations: 12 kB / 434.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.91e-05/0.2158, allocations: 11.94 kB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.2159, allocations: 23.8 kB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.216, allocations: 70.34 kB / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.216, allocations: 0 / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.216, allocations: 0 / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.216, allocations: 0 / 434.7 MB, free: 4.355 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.0004506/0.2165, allocations: 302 kB / 435 MB, free: 4.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2165, allocations: 8.031 kB / 435 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.2167, allocations: 16.88 kB / 435 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.2169, allocations: 152.6 kB / 435.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.2169, allocations: 384 / 435.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.2169, allocations: 4.375 kB / 435.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.2172, allocations: 109.1 kB / 435.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2172, allocations: 7.922 kB / 435.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.2172, allocations: 0 / 435.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2172, allocations: 4 kB / 435.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.41e-05/0.2173, allocations: 19.98 kB / 435.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.2176, allocations: 205.4 kB / 435.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.174e-05/0.2177, allocations: 49.09 kB / 435.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.2177, allocations: 17.77 kB / 435.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.2178, allocations: 4 kB / 435.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.2178, allocations: 34.56 kB / 435.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2178, allocations: 0 / 435.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000251/0.218, allocations: 73.56 kB / 435.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.2181, allocations: 77.11 kB / 435.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.2182, allocations: 141.8 kB / 435.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.2182, allocations: 29.7 kB / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.2183, allocations: 88.12 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.2183, allocations: 3.953 kB / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.2184, allocations: 13.72 kB / 436 MB, free: 2.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2185, allocations: 322.8 kB / 436.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.252e-05/0.2186, allocations: 4.25 kB / 436.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.973e-05/0.2186, allocations: 29.7 kB / 436.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.007e-05/0.2187, allocations: 25.7 kB / 436.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2187, allocations: 0 / 436.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001278/0.2188, allocations: 61.52 kB / 436.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.2188, allocations: 4 kB / 436.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.2188, allocations: 4 kB / 436.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2188, allocations: 4.125 kB / 436.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.2189, allocations: 11.98 kB / 436.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.2189, allocations: 4 kB / 436.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.6e-05/0.219, allocations: 0 / 436.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.219, allocations: 4 kB / 436.5 MB, free: 2.344 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 0.0001126/0.2191, allocations: 117.7 kB / 436.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.2191, allocations: 11.95 kB / 436.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.2191, allocations: 11.75 kB / 436.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2191, allocations: 7.938 kB / 436.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2191, allocations: 0 / 436.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.2192, allocations: 19.94 kB / 436.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.2192, allocations: 0 / 436.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.2193, allocations: 4 kB / 436.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.2193, allocations: 3.938 kB / 436.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00021/0.2195, allocations: 208.2 kB / 436.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002417/0.2197, allocations: 306 kB / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.644e-05/0.2198, allocations: 16.03 kB / 437.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.007e-05/0.2199, allocations: 114 kB / 437.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of Backend: time 1.9e-07/0.2199, allocations: 4 kB / 437.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004424/0.2203, allocations: 86.33 kB / 437.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005952/0.2209, allocations: 0.6208 MB / 438 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of Templates: time 0.003317/0.2242, allocations: 0.7048 MB / 438.7 MB, free: 52 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.1939100319941645] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 0.23229162200004794 0.246820437 0.027759536 Calling exit ...