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.Sample2.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.001385/0.001385, 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.001819/0.001819, 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.52/1.52, 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [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.001981/0.001981, allocations: 59.91 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3185, allocations: 53.31 MB / 432.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003331/0.3218, allocations: 1.59 MB / 433.6 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004385/0.3222, allocations: 139.5 kB / 433.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.3223, allocations: 0 / 433.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.3225, allocations: 3.938 kB / 433.8 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.3226, allocations: 7.938 kB / 433.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.3229, allocations: 35.89 kB / 433.8 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.323, allocations: 43.86 kB / 433.9 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3232, allocations: 11.98 kB / 433.9 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.3232, allocations: 7.938 kB / 433.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.023e-05/0.3233, allocations: 19.91 kB / 433.9 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.3233, allocations: 0 / 433.9 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.3233, allocations: 4 kB / 433.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.001e-05/0.3234, allocations: 11.94 kB / 433.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.3234, allocations: 27.8 kB / 434 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.3235, allocations: 53.23 kB / 434 MB, free: 5.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3235, allocations: 0 / 434 MB, free: 5.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3235, allocations: 4 kB / 434 MB, free: 5.449 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3236, allocations: 0 / 434 MB, free: 5.449 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005315/0.3241, allocations: 363.2 kB / 434.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3241, allocations: 8.031 kB / 434.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.3242, allocations: 8.891 kB / 434.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.3244, allocations: 200.1 kB / 434.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3245, allocations: 384 / 434.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.3245, allocations: 4.375 kB / 434.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.3248, allocations: 121.5 kB / 434.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.3248, allocations: 192 / 434.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3248, allocations: 3.938 kB / 434.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3248, allocations: 4 kB / 434.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.033e-05/0.3249, allocations: 19.98 kB / 434.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.3252, allocations: 261.8 kB / 435 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.3255, allocations: 142.2 kB / 435.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.116e-05/0.3255, allocations: 33.77 kB / 435.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3256, allocations: 3.938 kB / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.3256, allocations: 34.56 kB / 435.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3256, allocations: 0 / 435.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002568/0.3258, allocations: 77.56 kB / 435.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.3259, allocations: 77.11 kB / 435.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.326, allocations: 143.3 kB / 435.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3261, allocations: 25.7 kB / 435.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.3261, allocations: 88.08 kB / 435.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.3261, allocations: 3.953 kB / 435.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.3262, allocations: 13.72 kB / 435.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.3264, allocations: 322.8 kB / 435.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/0.3264, allocations: 4 kB / 435.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.809e-05/0.3265, allocations: 39.42 kB / 436 MB, free: 3.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.859e-05/0.3266, allocations: 43.36 kB / 436 MB, free: 3.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3266, allocations: 0 / 436 MB, free: 3.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001391/0.3267, allocations: 69.56 kB / 436.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3267, allocations: 10.75 kB / 436.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3267, allocations: 3.984 kB / 436.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3267, allocations: 4 kB / 436.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.54e-05/0.3268, allocations: 4 kB / 436.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3268, allocations: 4 kB / 436.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.798e-05/0.3268, allocations: 7.953 kB / 436.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.3269, allocations: 8.062 kB / 436.1 MB, free: 3.035 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.622e-05/0.327, allocations: 121.8 kB / 436.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.327, allocations: 7.938 kB / 436.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.327, allocations: 8.25 kB / 436.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.327, allocations: 0 / 436.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.327, allocations: 4 kB / 436.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.3272, allocations: 93.05 kB / 436.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.3272, allocations: 0 / 436.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.451e-05/0.3273, allocations: 7.984 kB / 436.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.3273, allocations: 4 kB / 436.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002255/0.3275, allocations: 224.1 kB / 436.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002627/0.3278, allocations: 318 kB / 436.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.732e-05/0.3278, allocations: 16.39 kB / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.707e-05/0.3279, allocations: 102.1 kB / 437 MB, free: 2.094 MB / 334.1 MB Notification: Performance of Backend: time 4.71e-07/0.3279, allocations: 0 / 437 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004677/0.3284, allocations: 98.33 kB / 437.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006653/0.3291, allocations: 0.6116 MB / 437.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of Templates: time 0.003052/0.3321, allocations: 0.5154 MB / 438.2 MB, free: 0.8164 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.56108298804611] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 0.3409866779111326 0.35505723599999994 0.028484589 Calling exit ...