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.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.001326/0.001326, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001649/0.001649, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.517/1.517, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",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.001996/0.001996, allocations: 64.75 kB / 378.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2878, allocations: 53.37 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002925/0.2907, allocations: 1.635 MB / 433.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2918, allocations: 0.5842 MB / 434.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.489e-05/0.2919, allocations: 3.938 kB / 434.1 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.87e-05/0.2919, allocations: 7.875 kB / 434.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.2921, allocations: 15.92 kB / 434.2 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.2924, allocations: 67.73 kB / 434.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.2925, allocations: 47.86 kB / 434.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.2927, allocations: 22.03 kB / 434.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.2928, allocations: 31.84 kB / 434.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.04e-05/0.2928, allocations: 31.86 kB / 434.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.2929, allocations: 4 kB / 434.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.957e-05/0.2929, allocations: 4 kB / 434.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.2929, allocations: 15.92 kB / 434.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.293, allocations: 31.75 kB / 434.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.2932, allocations: 71.66 kB / 434.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2932, allocations: 0 / 434.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2932, allocations: 3.938 kB / 434.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.2932, allocations: 0 / 434.5 MB, free: 4.316 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.0004719/0.2937, allocations: 309.9 kB / 434.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2937, allocations: 16.03 kB / 434.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.2937, allocations: 38.67 kB / 434.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.2939, allocations: 20.88 kB / 434.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.2941, allocations: 152.5 kB / 435 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.2942, allocations: 12.36 kB / 435 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.2942, allocations: 7.938 kB / 435 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.2945, allocations: 130.7 kB / 435.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2945, allocations: 0 / 435.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2945, allocations: 4 kB / 435.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2945, allocations: 0 / 435.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.323e-05/0.2946, allocations: 27.92 kB / 435.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.2949, allocations: 258.6 kB / 435.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.2951, allocations: 94.42 kB / 435.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.887e-05/0.2952, allocations: 39.48 kB / 435.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.2952, allocations: 3.938 kB / 435.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.2952, allocations: 42.56 kB / 435.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.2952, allocations: 0 / 435.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000309/0.2956, allocations: 101.5 kB / 435.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/0.2956, allocations: 132.5 kB / 435.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.2958, allocations: 157.1 kB / 436 MB, free: 2.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.2958, allocations: 25.7 kB / 436 MB, free: 2.523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.2959, allocations: 96.12 kB / 436.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.2959, allocations: 7.938 kB / 436.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.2959, allocations: 21.67 kB / 436.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2961, allocations: 322.8 kB / 436.5 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.812e-05/0.2961, allocations: 8 kB / 436.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.785e-05/0.2962, allocations: 52.22 kB / 436.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.2963, allocations: 56.22 kB / 436.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2963, allocations: 4 kB / 436.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001778/0.2965, allocations: 81.56 kB / 436.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2965, allocations: 8 kB / 436.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2965, allocations: 0 / 436.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2965, allocations: 3.938 kB / 436.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.2966, allocations: 20.05 kB / 436.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2966, allocations: 7.875 kB / 436.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.2966, allocations: 12.16 kB / 436.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.2966, allocations: 4 kB / 436.7 MB, free: 1.777 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 9.261e-05/0.2967, allocations: 121.8 kB / 436.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.2968, allocations: 65.58 kB / 436.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.2969, allocations: 15.92 kB / 436.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2969, allocations: 0 / 436.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.2969, allocations: 3.938 kB / 436.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2969, allocations: 4 kB / 436.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.2971, allocations: 148.7 kB / 437.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2971, allocations: 4.062 kB / 437.1 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/0.2972, allocations: 15.98 kB / 437.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2972, allocations: 0 / 437.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.2972, allocations: 8 kB / 437.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.2972, allocations: 3.938 kB / 437.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2972, allocations: 3.938 kB / 437.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.2974, allocations: 198.1 kB / 437.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.2974, allocations: 15.94 kB / 437.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.2975, allocations: 0 / 437.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.2975, allocations: 8 kB / 437.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.2976, allocations: 7.922 kB / 437.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.2976, allocations: 4 kB / 437.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.55e-05/0.2977, allocations: 114.1 kB / 437.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2977, allocations: 7.938 kB / 437.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.2979, allocations: 12 kB / 437.5 MB, free: 0.9453 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0005104/0.2984, allocations: 0.7228 MB / 438.2 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.2986, allocations: 51.78 kB / 438.2 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2986, allocations: 0 / 438.2 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.148e-05/0.2986, allocations: 8 kB / 438.3 MB, free: 132 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.299, allocations: 35.25 kB / 438.3 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.3006, allocations: 1.476 MB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.3009, allocations: 0.7002 MB / 440.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.652e-05/0.301, allocations: 7.984 kB / 440.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.301, allocations: 23.42 kB / 440.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.301, allocations: 3.938 kB / 440.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.3251, allocations: 1.903 MB / 442.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.652/8.977, allocations: 23.27 kB / 442.4 MB, free: 11.91 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_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_Hold.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.422197039239109] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 9.05204720981419 9.079953254 8.781344521 Calling exit ...