Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.001598/0.001598, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001732/0.001732, allocations: 215.5 kB / 24.49 MB, free: 3.934 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 47.94 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2128, allocations: 53.36 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003143/0.216, allocations: 1.621 MB / 434 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.2171, allocations: 0.5376 MB / 434.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.2172, allocations: 3.938 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.91e-05/0.2172, allocations: 7.922 kB / 434.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.2173, allocations: 19.88 kB / 434.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.2176, allocations: 59.81 kB / 434.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.2178, allocations: 59.72 kB / 434.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.547e-05/0.2178, allocations: 15.98 kB / 434.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2179, allocations: 27.86 kB / 434.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.221e-05/0.218, allocations: 27.86 kB / 434.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.218, allocations: 4 kB / 434.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.373e-05/0.2181, allocations: 4 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.2181, allocations: 23.91 kB / 434.8 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.2181, allocations: 19.86 kB / 434.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.2183, allocations: 78.28 kB / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2183, allocations: 0 / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2183, allocations: 0 / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.2183, allocations: 3.938 kB / 434.9 MB, free: 4.199 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004669/0.2188, allocations: 313.9 kB / 435.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2188, allocations: 8.031 kB / 435.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.219, allocations: 20.88 kB / 435.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.2192, allocations: 152.9 kB / 435.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2192, allocations: 4.375 kB / 435.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.2192, allocations: 8.125 kB / 435.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.2195, allocations: 130.7 kB / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2195, allocations: 0 / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.2196, allocations: 0 / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2196, allocations: 4 kB / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.743e-05/0.2197, allocations: 27.92 kB / 435.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.22, allocations: 239.1 kB / 435.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.2201, allocations: 90.36 kB / 435.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.441e-05/0.2202, allocations: 43.48 kB / 435.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.2202, allocations: 3.938 kB / 435.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.2203, allocations: 38.5 kB / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2203, allocations: 0 / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003012/0.2206, allocations: 109.5 kB / 436 MB, free: 2.852 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.2206, allocations: 132.5 kB / 436.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.2208, allocations: 145.4 kB / 436.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.2208, allocations: 29.7 kB / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.2209, allocations: 88.14 kB / 436.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.2209, allocations: 7.891 kB / 436.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.2209, allocations: 29.66 kB / 436.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2211, allocations: 319.3 kB / 436.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.193e-05/0.2211, allocations: 19.98 kB / 436.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.704e-05/0.2212, allocations: 44.28 kB / 436.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.2213, allocations: 56.22 kB / 436.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2213, allocations: 0 / 436.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001737/0.2215, allocations: 89.5 kB / 437 MB, free: 1.805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2215, allocations: 4 kB / 437 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2215, allocations: 4.125 kB / 437 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2215, allocations: 7.984 kB / 437 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.2216, allocations: 15.98 kB / 437 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2216, allocations: 0 / 437 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.2217, allocations: 4 kB / 437 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.2217, allocations: 4 kB / 437 MB, free: 1.766 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001015/0.2218, allocations: 129.9 kB / 437.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.2218, allocations: 11.89 kB / 437.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.436e-05/0.2219, allocations: 15.92 kB / 437.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2219, allocations: 4 kB / 437.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2219, allocations: 0 / 437.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.2219, allocations: 19.94 kB / 437.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2219, allocations: 3.938 kB / 437.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.222, allocations: 7.984 kB / 437.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.222, allocations: 0 / 437.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003356/0.2224, allocations: 390.8 kB / 437.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003372/0.2227, allocations: 492.5 kB / 438.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.419e-05/0.2228, allocations: 19.98 kB / 438.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.275e-05/0.2229, allocations: 119.2 kB / 438.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of Backend: time 1.91e-07/0.2229, allocations: 0 / 438.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006257/0.2235, allocations: 113 kB / 438.3 MB, free: 432 kB / 334.1 MB Notification: Performance of SimCode: time 0.0006594/0.2241, allocations: 0.6445 MB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of Templates: time 0.003573/0.2277, allocations: 0.9375 MB / 439.9 MB, free: 14.81 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.15151605700521] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 0.23526103800395504 0.24981635600000002 0.028461502000000003 Calling exit ...