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.Sample3.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.001292/0.001292, allocations: 116.1 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.001507/0.001507, allocations: 214.8 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.508/1.508, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [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.001972/0.001972, allocations: 71.81 kB / 378.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2995, allocations: 53.31 MB / 432.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003416/0.3029, allocations: 1.728 MB / 433.8 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004666/0.3034, allocations: 155.5 kB / 433.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.3035, allocations: 7.938 kB / 433.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.118e-05/0.3035, allocations: 7.922 kB / 434 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.3037, allocations: 19.86 kB / 434 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.3039, allocations: 39.91 kB / 434 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.304, allocations: 55.83 kB / 434.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3041, allocations: 19.98 kB / 434.1 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.585e-05/0.3042, allocations: 23.92 kB / 434.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.204e-05/0.3042, allocations: 27.8 kB / 434.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3043, allocations: 4 kB / 434.1 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.3043, allocations: 4 kB / 434.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.3043, allocations: 23.91 kB / 434.2 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.3044, allocations: 31.75 kB / 434.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.3045, allocations: 73.2 kB / 434.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3045, allocations: 0 / 434.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3045, allocations: 0 / 434.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3045, allocations: 0 / 434.3 MB, free: 5.172 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005441/0.305, allocations: 395 kB / 434.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3051, allocations: 8.031 kB / 434.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.3051, allocations: 12.89 kB / 434.7 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.3054, allocations: 204.1 kB / 434.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3054, allocations: 4.375 kB / 434.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.3054, allocations: 8.375 kB / 434.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.3058, allocations: 166.3 kB / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3058, allocations: 4.188 kB / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3058, allocations: 3.938 kB / 435.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3058, allocations: 0 / 435.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.3059, allocations: 35.97 kB / 435.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.3064, allocations: 369.8 kB / 435.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.3067, allocations: 115.8 kB / 435.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.3068, allocations: 50.62 kB / 435.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.3068, allocations: 0 / 435.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.3069, allocations: 46.5 kB / 435.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.61e-07/0.3069, allocations: 0 / 435.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003659/0.3072, allocations: 117.5 kB / 435.8 MB, free: 3.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.3073, allocations: 102.8 kB / 435.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.3074, allocations: 141 kB / 436 MB, free: 3.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3075, allocations: 33.64 kB / 436.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.3075, allocations: 92.08 kB / 436.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.3075, allocations: 11.94 kB / 436.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.3076, allocations: 25.67 kB / 436.2 MB, free: 3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3078, allocations: 322.8 kB / 436.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.239e-05/0.3078, allocations: 15.94 kB / 436.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.847e-05/0.3079, allocations: 67.72 kB / 436.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3081, allocations: 99.58 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.3081, allocations: 3.938 kB / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001941/0.3083, allocations: 105.5 kB / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3083, allocations: 4 kB / 436.8 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3083, allocations: 4 kB / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3083, allocations: 0 / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.3084, allocations: 23.92 kB / 436.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.3084, allocations: 4 kB / 436.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.673e-05/0.3085, allocations: 15.89 kB / 436.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3085, allocations: 4 kB / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001124/0.3086, allocations: 130 kB / 437 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.3086, allocations: 7.953 kB / 437 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.3087, allocations: 16.72 kB / 437 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3087, allocations: 0 / 437 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3087, allocations: 0 / 437 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.3088, allocations: 101 kB / 437.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.3088, allocations: 0 / 437.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3089, allocations: 4 kB / 437.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.3089, allocations: 7.875 kB / 437.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003022/0.3092, allocations: 335.9 kB / 437.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005156/0.3097, allocations: 466 kB / 437.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.141e-05/0.3098, allocations: 32.05 kB / 437.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.3099, allocations: 107.2 kB / 438 MB, free: 1.035 MB / 334.1 MB Notification: Performance of Backend: time 2.51e-07/0.3099, allocations: 288 / 438 MB, free: 1.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000614/0.3105, allocations: 117.4 kB / 438.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009422/0.3115, allocations: 0.6477 MB / 438.8 MB, free: 228 kB / 334.1 MB Notification: Performance of Templates: time 0.00417/0.3157, allocations: 0.7508 MB / 439.5 MB, free: 15.48 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.57555765286088] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'sample2.y', 'hold1.y'] 0.32516269385814667 0.34046941199999997 0.032791385 Calling exit ...