Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.509/1.509, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.83 kB / 378.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3068, allocations: 53.32 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003119/0.3099, allocations: 1.636 MB / 433.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3111, allocations: 0.5804 MB / 434.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.988e-05/0.3112, allocations: 4 kB / 434.3 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.96e-05/0.3112, allocations: 15.86 kB / 434.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.3114, allocations: 3.938 kB / 434.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.3117, allocations: 67.75 kB / 434.4 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.3118, allocations: 51.78 kB / 434.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3119, allocations: 15.98 kB / 434.4 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.3121, allocations: 31.86 kB / 434.5 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.691e-05/0.3121, allocations: 27.84 kB / 434.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.3122, allocations: 4 kB / 434.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.224e-05/0.3122, allocations: 8 kB / 434.5 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.404e-05/0.3123, allocations: 19.92 kB / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.3123, allocations: 35.67 kB / 434.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.3125, allocations: 69.22 kB / 434.6 MB, free: 4.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3125, allocations: 0 / 434.6 MB, free: 4.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3125, allocations: 0 / 434.6 MB, free: 4.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.3125, allocations: 0 / 434.6 MB, free: 4.832 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.0005699/0.3131, allocations: 391 kB / 435 MB, free: 4.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3131, allocations: 8.031 kB / 435 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.3133, allocations: 20.81 kB / 435 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.3136, allocations: 216.6 kB / 435.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.3136, allocations: 8.375 kB / 435.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.3136, allocations: 4.125 kB / 435.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.3139, allocations: 134.7 kB / 435.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3139, allocations: 3.938 kB / 435.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3139, allocations: 8 kB / 435.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3139, allocations: 0 / 435.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.331e-05/0.314, allocations: 23.98 kB / 435.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.3145, allocations: 291.4 kB / 435.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.3146, allocations: 90.42 kB / 435.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.608e-05/0.3147, allocations: 43.48 kB / 435.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.3147, allocations: 0 / 435.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.3147, allocations: 42.5 kB / 435.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3147, allocations: 0 / 435.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003099/0.3151, allocations: 105.6 kB / 436 MB, free: 3.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.3151, allocations: 128.5 kB / 436.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3153, allocations: 149.4 kB / 436.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.3153, allocations: 25.7 kB / 436.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.3154, allocations: 92.08 kB / 436.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.3154, allocations: 11.94 kB / 436.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.3154, allocations: 30.08 kB / 436.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.3156, allocations: 322.8 kB / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.131e-05/0.3157, allocations: 8 kB / 436.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.75e-05/0.3158, allocations: 40.28 kB / 436.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.3159, allocations: 64.22 kB / 436.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3159, allocations: 0 / 436.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001754/0.3161, allocations: 89.44 kB / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3161, allocations: 8.156 kB / 436.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.3161, allocations: 3.938 kB / 436.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3161, allocations: 4 kB / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.943e-05/0.3162, allocations: 15.98 kB / 437 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.3162, allocations: 7.938 kB / 437 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.3162, allocations: 3.938 kB / 437 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.3163, allocations: 4 kB / 437 MB, free: 2.145 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 9.611e-05/0.3163, allocations: 121.8 kB / 437.1 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.3164, allocations: 7.953 kB / 437.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.3164, allocations: 19.83 kB / 437.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3164, allocations: 3.984 kB / 437.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3164, allocations: 0 / 437.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/0.3165, allocations: 101 kB / 437.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3165, allocations: 0 / 437.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.3166, allocations: 4 kB / 437.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.3166, allocations: 0 / 437.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003246/0.317, allocations: 398.7 kB / 437.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003434/0.3173, allocations: 488.8 kB / 438.1 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.104e-05/0.3174, allocations: 27.97 kB / 438.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.737e-05/0.3175, allocations: 107.3 kB / 438.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of Backend: time 5.51e-07/0.3175, allocations: 0 / 438.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006871/0.3182, allocations: 114.2 kB / 438.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of SimCode: time 0.000718/0.3189, allocations: 0.6548 MB / 439 MB, free: 12 kB / 334.1 MB Notification: Performance of Templates: time 0.004074/0.323, allocations: 0.8209 MB / 439.8 MB, free: 15.2 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.507893594913185] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 0.3315941886976361 0.346127322 0.030526038000000002 Calling exit ...