Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.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.00127/0.00127, 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.001428/0.001428, allocations: 205.7 kB / 24.49 MB, free: 3.969 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.438/1.438, 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 55.91 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2371, allocations: 53.37 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003025/0.2401, allocations: 1.582 MB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2412, allocations: 0.5065 MB / 434.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.479e-05/0.2412, allocations: 11.94 kB / 434.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.82e-05/0.2413, allocations: 7.922 kB / 434.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.2414, allocations: 15.88 kB / 434.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.2417, allocations: 55.81 kB / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.2419, allocations: 55.78 kB / 434.6 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.831e-05/0.2419, allocations: 12.17 kB / 434.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.2421, allocations: 31.86 kB / 434.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.2421, allocations: 23.84 kB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.2421, allocations: 4 kB / 434.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.61e-05/0.2422, allocations: 8 kB / 434.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.2422, allocations: 11.94 kB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.2422, allocations: 27.8 kB / 434.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.2424, allocations: 66.34 kB / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2424, allocations: 0 / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2424, allocations: 0 / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.2424, allocations: 0 / 434.7 MB, free: 4.332 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.0004597/0.2429, allocations: 305.9 kB / 435 MB, free: 4.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2429, allocations: 12.03 kB / 435 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.243, allocations: 16.88 kB / 435.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.2433, allocations: 150.8 kB / 435.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2433, allocations: 4.375 kB / 435.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.2433, allocations: 7.938 kB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.2436, allocations: 105 kB / 435.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2436, allocations: 0 / 435.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.2436, allocations: 0 / 435.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2436, allocations: 4 kB / 435.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.94e-05/0.2437, allocations: 19.98 kB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.244, allocations: 209.3 kB / 435.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.494e-05/0.2441, allocations: 45.2 kB / 435.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.2441, allocations: 21.77 kB / 435.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.2441, allocations: 3.938 kB / 435.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.2442, allocations: 34.56 kB / 435.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2442, allocations: 0 / 435.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002522/0.2444, allocations: 73.56 kB / 435.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.2445, allocations: 77.11 kB / 435.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.2446, allocations: 149.8 kB / 436 MB, free: 2.945 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2446, allocations: 25.7 kB / 436 MB, free: 2.914 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.2447, allocations: 88.09 kB / 436.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.2447, allocations: 4 kB / 436.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.2447, allocations: 17.72 kB / 436.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2449, allocations: 318.8 kB / 436.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.41e-05/0.2449, allocations: 8.25 kB / 436.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.721e-05/0.245, allocations: 29.64 kB / 436.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.672e-05/0.245, allocations: 33.64 kB / 436.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.245, allocations: 0 / 436.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001262/0.2452, allocations: 53.64 kB / 436.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2452, allocations: 4 kB / 436.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2452, allocations: 0 / 436.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.2452, allocations: 8.125 kB / 436.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.111e-05/0.2453, allocations: 11.92 kB / 436.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2453, allocations: 0 / 436.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.893e-05/0.2453, allocations: 4 kB / 436.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.2453, allocations: 4 kB / 436.5 MB, free: 2.305 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 8.895e-05/0.2454, allocations: 125.7 kB / 436.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.2455, allocations: 7.953 kB / 436.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.2455, allocations: 11.81 kB / 436.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.2455, allocations: 0 / 436.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2455, allocations: 0 / 436.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.2455, allocations: 19.94 kB / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.2455, allocations: 3.938 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.2456, allocations: 0 / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.2456, allocations: 11.98 kB / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002035/0.2458, allocations: 204.2 kB / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002559/0.2461, allocations: 310 kB / 437.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.119e-05/0.2462, allocations: 16.02 kB / 437.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.172e-05/0.2462, allocations: 109.7 kB / 437.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of Backend: time 3.61e-07/0.2462, allocations: 0 / 437.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004541/0.2467, allocations: 94.38 kB / 437.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006043/0.2473, allocations: 0.6195 MB / 438.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of Templates: time 0.003634/0.2509, allocations: 0.7786 MB / 438.8 MB, free: 15.95 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.198250381006801] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 0.25899938699876657 0.27378185599999993 0.028289319 Calling exit ...