Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001275/0.001275, allocations: 116 kB / 21.18 MB, free: 0.6289 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.001494/0.001494, allocations: 213.7 kB / 24.48 MB, free: 4.035 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.467/1.467, 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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001953/0.001953, allocations: 67.83 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2969, allocations: 53.32 MB / 432.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003913/0.3008, allocations: 1.946 MB / 434 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.3032, allocations: 1.325 MB / 435.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.3033, allocations: 4 kB / 435.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.3037, allocations: 67.67 kB / 435.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.3041, allocations: 139.3 kB / 435.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006793/0.3047, allocations: 225.8 kB / 435.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.305, allocations: 187.5 kB / 435.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.3051, allocations: 21.55 kB / 436 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.3053, allocations: 83.62 kB / 436 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.3054, allocations: 87.61 kB / 436.1 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.3054, allocations: 8 kB / 436.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.3056, allocations: 71.89 kB / 436.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.159e-05/0.3057, allocations: 55.81 kB / 436.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.143e-05/0.3058, allocations: 79.42 kB / 436.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.3062, allocations: 256.9 kB / 436.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3062, allocations: 3.938 kB / 436.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3062, allocations: 7.938 kB / 436.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3062, allocations: 0 / 436.6 MB, free: 2.848 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008708/0.3071, allocations: 0.5387 MB / 437.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.3071, allocations: 12.03 kB / 437.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.521e-05/0.3072, allocations: 28.75 kB / 437.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.3077, allocations: 307.6 kB / 437.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.3078, allocations: 4.375 kB / 437.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.3078, allocations: 12.12 kB / 437.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.3082, allocations: 172.4 kB / 437.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3082, allocations: 0 / 437.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.3082, allocations: 4 kB / 437.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3082, allocations: 0 / 437.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.3083, allocations: 47.91 kB / 437.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006477/0.309, allocations: 470.5 kB / 438.2 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.3093, allocations: 134.5 kB / 438.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.3094, allocations: 63.41 kB / 438.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.3094, allocations: 11.94 kB / 438.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.3096, allocations: 97.05 kB / 438.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.3096, allocations: 0 / 438.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004522/0.3101, allocations: 169.4 kB / 438.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.3102, allocations: 179.9 kB / 438.8 MB, free: 340 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/0.3106, allocations: 339 kB / 439.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.3106, allocations: 33.7 kB / 439.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3107, allocations: 128.7 kB / 439.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.3108, allocations: 27.89 kB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.3109, allocations: 37.7 kB / 439.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.311, allocations: 334.8 kB / 439.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.703e-05/0.3111, allocations: 28.17 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.3113, allocations: 103.6 kB / 439.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.3114, allocations: 97.08 kB / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3114, allocations: 4 kB / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002759/0.3117, allocations: 141.4 kB / 440.1 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3117, allocations: 6.812 kB / 440.1 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3117, allocations: 4 kB / 440.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3118, allocations: 0 / 440.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.3119, allocations: 27.92 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3119, allocations: 0 / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.662e-05/0.312, allocations: 12 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.312, allocations: 12.08 kB / 440.1 MB, free: 14.94 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001812/0.3122, allocations: 169.7 kB / 440.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.3122, allocations: 23.8 kB / 440.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.3125, allocations: 123.3 kB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3125, allocations: 0 / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3125, allocations: 0 / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.3126, allocations: 120.9 kB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.3127, allocations: 3.938 kB / 440.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.3128, allocations: 12 kB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.3128, allocations: 7.984 kB / 440.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004408/0.3132, allocations: 442.8 kB / 441 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004887/0.3137, allocations: 0.5394 MB / 441.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001233/0.3139, allocations: 47.97 kB / 441.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.3141, allocations: 253.9 kB / 441.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of Backend: time 3.31e-07/0.3141, allocations: 0 / 441.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.3163, allocations: 462.6 kB / 442.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of SimCode: time 0.001076/0.3174, allocations: 0.8287 MB / 443.1 MB, free: 12 MB / 350.1 MB Notification: Performance of Templates: time 0.008537/0.3259, allocations: 3.217 MB / 446.3 MB, free: 8.809 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.602862938307226] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 0.33480254793539643 0.349649886 0.040150494 Calling exit ...