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.HoldWithDAeffects2.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.001758/0.001758, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00146/0.00146, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 8.043 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) [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.002092/0.002092, allocations: 64.77 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3068, allocations: 53.37 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003965/0.3108, allocations: 1.896 MB / 433.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3123, allocations: 0.7052 MB / 434.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.3124, allocations: 3.938 kB / 434.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.3126, allocations: 27.73 kB / 434.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.3127, allocations: 27.78 kB / 434.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.3132, allocations: 115.6 kB / 434.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.3134, allocations: 147.6 kB / 434.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.3135, allocations: 41.91 kB / 434.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.3137, allocations: 67.7 kB / 435 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.3138, allocations: 51.66 kB / 435 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.3138, allocations: 8 kB / 435 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.829e-05/0.3139, allocations: 24 kB / 435 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.314, allocations: 39.83 kB / 435.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.937e-05/0.314, allocations: 59.55 kB / 435.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.3143, allocations: 148.2 kB / 435.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3143, allocations: 0 / 435.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3143, allocations: 0 / 435.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.3143, allocations: 0 / 435.3 MB, free: 3.516 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006502/0.315, allocations: 381.6 kB / 435.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.315, allocations: 8.031 kB / 435.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.013e-05/0.3151, allocations: 46.67 kB / 435.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.3153, allocations: 32.83 kB / 435.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.3157, allocations: 186.3 kB / 435.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.3157, allocations: 11.94 kB / 435.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.3157, allocations: 8 kB / 435.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005977/0.3163, allocations: 284.2 kB / 436.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3163, allocations: 4 kB / 436.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.3163, allocations: 4 kB / 436.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.3163, allocations: 7.984 kB / 436.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.3165, allocations: 71.89 kB / 436.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.3171, allocations: 398.5 kB / 436.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.3175, allocations: 217 kB / 436.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.3177, allocations: 100.3 kB / 437 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.3177, allocations: 4 kB / 437 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.3178, allocations: 50.48 kB / 437.1 MB, free: 1.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.3178, allocations: 3.938 kB / 437.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005585/0.3183, allocations: 213.7 kB / 437.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.3185, allocations: 200 kB / 437.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.3187, allocations: 183.7 kB / 437.6 MB, free: 0.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3187, allocations: 29.7 kB / 437.7 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.3188, allocations: 108.5 kB / 437.8 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.3188, allocations: 11.94 kB / 437.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.3189, allocations: 45.59 kB / 437.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.319, allocations: 326.8 kB / 438.2 MB, free: 344 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.689e-05/0.3191, allocations: 23.98 kB / 438.2 MB, free: 320 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.3193, allocations: 135.4 kB / 438.3 MB, free: 128 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.3195, allocations: 178.4 kB / 438.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3195, allocations: 3.938 kB / 438.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003014/0.3198, allocations: 181.2 kB / 438.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3199, allocations: 8 kB / 438.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.3199, allocations: 4 kB / 438.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3199, allocations: 4 kB / 438.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.32, allocations: 31.98 kB / 438.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.32, allocations: 11.88 kB / 438.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.3201, allocations: 24.34 kB / 438.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.3202, allocations: 12 kB / 438.8 MB, free: 15.62 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.000137/0.3203, allocations: 133.8 kB / 438.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/0.3206, allocations: 141.5 kB / 439 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.807e-05/0.3207, allocations: 21.41 kB / 439 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3207, allocations: 0 / 439 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.3207, allocations: 7.938 kB / 439.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.3207, allocations: 3.984 kB / 439.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.321, allocations: 196.6 kB / 439.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.321, allocations: 0 / 439.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.3212, allocations: 43.91 kB / 439.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3212, allocations: 3.938 kB / 439.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3212, allocations: 8 kB / 439.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3212, allocations: 0 / 439.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.3212, allocations: 11.88 kB / 439.3 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.3216, allocations: 361.1 kB / 439.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.3217, allocations: 32.06 kB / 439.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.3217, allocations: 7.984 kB / 439.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3219, allocations: 12 kB / 439.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.3219, allocations: 15.91 kB / 439.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.3219, allocations: 4 kB / 439.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.3221, allocations: 136.4 kB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3221, allocations: 0 / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.3224, allocations: 23.95 kB / 439.9 MB, free: 14.39 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0009477/0.3233, allocations: 0.9545 MB / 440.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.3236, allocations: 119.8 kB / 441 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3236, allocations: 0 / 441 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.313e-05/0.3237, allocations: 8 kB / 441 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007145/0.3244, allocations: 117 kB / 441.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.3269, allocations: 2.076 MB / 443.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.3274, allocations: 0.7281 MB / 443.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.852e-05/0.3274, allocations: 17.48 kB / 443.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.206e-05/0.3275, allocations: 43.42 kB / 444 MB, free: 10.08 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3275, allocations: 0 / 444 MB, free: 10.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.3586, allocations: 3.621 MB / 447.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.688/9.047, allocations: 12.91 kB / 447.6 MB, free: 6.566 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.49626327585429] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'hold1.y', '// shiftSample1.y'] 9.122073590755463 9.149781909 8.830065484 Calling exit ...