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.HoldWithDAeffects1.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.001594/0.001594, allocations: 109 kB / 21.23 MB, free: 0.5117 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.001495/0.001495, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.526/1.526, allocations: 230.6 MB / 258.3 MB, free: 8.23 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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",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.002055/0.002055, allocations: 76.75 kB / 378.6 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2922, allocations: 53.36 MB / 431.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003373/0.2956, allocations: 1.907 MB / 433.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.2969, allocations: 0.7052 MB / 434.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.297, allocations: 7.938 kB / 434.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.2972, allocations: 23.73 kB / 434.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.2973, allocations: 23.78 kB / 434.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.2977, allocations: 122.4 kB / 434.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.2979, allocations: 143.5 kB / 434.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.298, allocations: 49.89 kB / 434.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.2982, allocations: 67.7 kB / 435 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.2983, allocations: 47.72 kB / 435 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.2983, allocations: 12 kB / 435 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.071e-05/0.2984, allocations: 20 kB / 435 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.2984, allocations: 35.89 kB / 435.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.2985, allocations: 55.56 kB / 435.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.2987, allocations: 156.1 kB / 435.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2987, allocations: 3.938 kB / 435.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2987, allocations: 0 / 435.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.2987, allocations: 0 / 435.3 MB, free: 3.547 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.0005764/0.2993, allocations: 377.7 kB / 435.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2993, allocations: 12.03 kB / 435.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.2994, allocations: 42.73 kB / 435.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.2995, allocations: 20.84 kB / 435.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.2999, allocations: 194.2 kB / 435.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.2999, allocations: 11.94 kB / 435.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.2999, allocations: 12 kB / 435.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005924/0.3005, allocations: 279.4 kB / 436.2 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3005, allocations: 3.938 kB / 436.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.3006, allocations: 4 kB / 436.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3006, allocations: 0 / 436.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.3008, allocations: 79.81 kB / 436.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.3013, allocations: 398.5 kB / 436.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.3017, allocations: 205.1 kB / 436.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.3019, allocations: 104.2 kB / 437 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.3019, allocations: 11.98 kB / 437 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.3019, allocations: 50.42 kB / 437.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.3019, allocations: 0 / 437.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005789/0.3025, allocations: 213.7 kB / 437.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.3027, allocations: 191.9 kB / 437.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.3029, allocations: 187.8 kB / 437.6 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3029, allocations: 25.7 kB / 437.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.586e-05/0.303, allocations: 104.1 kB / 437.8 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.303, allocations: 11.98 kB / 437.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.303, allocations: 41.66 kB / 437.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3032, allocations: 326.8 kB / 438.1 MB, free: 412 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.841e-05/0.3032, allocations: 23.98 kB / 438.2 MB, free: 388 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.3034, allocations: 134.4 kB / 438.3 MB, free: 200 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.3036, allocations: 157.6 kB / 438.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3036, allocations: 0 / 438.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002868/0.3039, allocations: 169.4 kB / 438.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3039, allocations: 11.94 kB / 438.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.3039, allocations: 4 kB / 438.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.304, allocations: 4 kB / 438.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3041, allocations: 31.92 kB / 438.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.3041, allocations: 7.938 kB / 438.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.3042, allocations: 19.92 kB / 438.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.3042, allocations: 8.344 kB / 438.7 MB, free: 15.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001261/0.3044, allocations: 137.8 kB / 438.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.3047, allocations: 145.8 kB / 439 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.585e-05/0.3047, allocations: 21.41 kB / 439 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3047, allocations: 96 / 439 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3047, allocations: 7.938 kB / 439 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3047, allocations: 3.984 kB / 439 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.305, allocations: 192.6 kB / 439.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.305, allocations: 4.031 kB / 439.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.3052, allocations: 39.91 kB / 439.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.3052, allocations: 7.938 kB / 439.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.3052, allocations: 4 kB / 439.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.3052, allocations: 4 kB / 439.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3052, allocations: 0 / 439.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.3056, allocations: 361.1 kB / 439.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.3057, allocations: 27.83 kB / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.3057, allocations: 8 kB / 439.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.3058, allocations: 15.98 kB / 439.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.3059, allocations: 8 kB / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3059, allocations: 7.984 kB / 439.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.306, allocations: 132.4 kB / 439.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.306, allocations: 0 / 439.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003267/0.3063, allocations: 20 kB / 439.8 MB, free: 14.52 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0007261/0.3071, allocations: 0.9039 MB / 440.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.3073, allocations: 108.1 kB / 440.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.3074, allocations: 4 kB / 440.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.698e-05/0.3074, allocations: 15.92 kB / 440.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006571/0.3081, allocations: 96.52 kB / 440.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.3106, allocations: 2.073 MB / 443 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.311, allocations: 0.7242 MB / 443.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.163e-05/0.3111, allocations: 21.47 kB / 443.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.3111, allocations: 39.42 kB / 443.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3111, allocations: 0 / 443.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.3382, allocations: 3.506 MB / 447.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.861/9.199, allocations: 10.52 kB / 447.3 MB, free: 6.883 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98486e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.663260020315647] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'hold1.y', '// shiftSample1.y'] 9.275724245235324 9.309575761 9.004229283 Calling exit ...