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.BackSample.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.001515/0.001515, 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.001457/0.001457, allocations: 212.1 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.463/1.463, 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [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.002063/0.002063, allocations: 71.83 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3065, allocations: 53.3 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003274/0.3098, allocations: 1.648 MB / 433.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.311, allocations: 0.5881 MB / 434.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.96e-05/0.311, allocations: 0 / 434.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.233e-05/0.3111, allocations: 7.875 kB / 434.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.3113, allocations: 19.86 kB / 434.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.3116, allocations: 67.75 kB / 434.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.3118, allocations: 63.77 kB / 434.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3119, allocations: 12.23 kB / 434.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.312, allocations: 31.86 kB / 434.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.481e-05/0.3121, allocations: 35.77 kB / 434.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3121, allocations: 4 kB / 434.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.239e-05/0.3122, allocations: 4 kB / 434.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.3122, allocations: 11.94 kB / 434.6 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.3122, allocations: 31.8 kB / 434.6 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.3124, allocations: 77.09 kB / 434.7 MB, free: 4.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3124, allocations: 4 kB / 434.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3124, allocations: 0 / 434.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3124, allocations: 0 / 434.7 MB, free: 4.754 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.0005635/0.313, allocations: 398.9 kB / 435.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.313, allocations: 8.031 kB / 435.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.3132, allocations: 24.83 kB / 435.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.3135, allocations: 216.1 kB / 435.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3135, allocations: 4.375 kB / 435.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.3135, allocations: 8.375 kB / 435.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.3139, allocations: 135 kB / 435.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3139, allocations: 11.98 kB / 435.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3139, allocations: 0 / 435.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3139, allocations: 0 / 435.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.314, allocations: 31.92 kB / 435.5 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.3144, allocations: 291.4 kB / 435.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.3146, allocations: 86.42 kB / 435.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.729e-05/0.3147, allocations: 47.42 kB / 435.9 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3147, allocations: 4 kB / 435.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.3147, allocations: 38.55 kB / 435.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.3147, allocations: 0 / 435.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000325/0.315, allocations: 102 kB / 436 MB, free: 3.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/0.3151, allocations: 132.5 kB / 436.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3153, allocations: 153.7 kB / 436.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3153, allocations: 25.7 kB / 436.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.3154, allocations: 96.12 kB / 436.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.3154, allocations: 3.953 kB / 436.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.3154, allocations: 17.72 kB / 436.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3156, allocations: 322.8 kB / 436.8 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.838e-05/0.3156, allocations: 15.98 kB / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.081e-05/0.3157, allocations: 49.09 kB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.3158, allocations: 72.94 kB / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3158, allocations: 0 / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001765/0.316, allocations: 85.5 kB / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.316, allocations: 12.19 kB / 437 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.316, allocations: 0 / 437 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.316, allocations: 7.938 kB / 437 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.3161, allocations: 12 kB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.3161, allocations: 4 kB / 437 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.3162, allocations: 7.922 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.3162, allocations: 4 kB / 437 MB, free: 2.039 MB / 334.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: 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.0001057/0.3163, allocations: 121.8 kB / 437.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.3164, allocations: 11.91 kB / 437.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.3164, allocations: 23.94 kB / 437.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3164, allocations: 0 / 437.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3164, allocations: 8 kB / 437.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-05/0.3165, allocations: 96.98 kB / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3165, allocations: 4 kB / 437.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.3166, allocations: 3.984 kB / 437.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.3166, allocations: 11.94 kB / 437.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003247/0.3169, allocations: 390.7 kB / 437.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003639/0.3173, allocations: 484.7 kB / 438.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.191e-05/0.3174, allocations: 27.95 kB / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.574e-05/0.3175, allocations: 115.2 kB / 438.3 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of Backend: time 5.01e-07/0.3175, allocations: 0 / 438.3 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006668/0.3181, allocations: 106.3 kB / 438.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007852/0.3189, allocations: 0.6509 MB / 439.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of Templates: time 0.004098/0.323, allocations: 0.9355 MB / 440 MB, free: 14.98 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.404327802825719] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'backSample1.y'] 0.3317991057410836 0.34705227600000005 0.031401529000000004 Calling exit ...