Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.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.001309/0.001309, 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.001469/0.001469, 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.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 8.223 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.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Accelerate",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.00197/0.00197, allocations: 72.75 kB / 378.5 MB, free: 3.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2849, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003158/0.2881, allocations: 1.667 MB / 433.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002483/0.2883, allocations: 67.72 kB / 433.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.748e-05/0.2884, allocations: 4 kB / 433.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.2885, allocations: 7.922 kB / 433.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.2886, allocations: 11.86 kB / 433.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.2887, allocations: 23.92 kB / 433.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.2889, allocations: 71.7 kB / 433.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.289, allocations: 8 kB / 433.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.47e-05/0.289, allocations: 31.86 kB / 433.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.884e-05/0.2891, allocations: 23.86 kB / 433.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.2891, allocations: 8 kB / 433.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.2891, allocations: 4 kB / 433.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.2892, allocations: 15.97 kB / 433.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.2892, allocations: 31.81 kB / 433.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.2894, allocations: 60.62 kB / 433.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.2894, allocations: 8 kB / 433.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2894, allocations: 0 / 433.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2894, allocations: 0 / 433.9 MB, free: 4.848 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004846/0.2899, allocations: 290 kB / 434.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.2899, allocations: 12.03 kB / 434.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.29, allocations: 38.73 kB / 434.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.29, allocations: 8.891 kB / 434.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.2902, allocations: 130.4 kB / 434.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.2902, allocations: 8.375 kB / 434.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.2903, allocations: 4.375 kB / 434.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.2904, allocations: 70.23 kB / 434.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.2905, allocations: 3.938 kB / 434.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.2905, allocations: 4 kB / 434.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2905, allocations: 0 / 434.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.676e-05/0.2906, allocations: 35.98 kB / 434.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007076/0.2913, allocations: 346.7 kB / 434.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.2914, allocations: 58.55 kB / 434.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.41e-05/0.2914, allocations: 24.84 kB / 435 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.2914, allocations: 0 / 435 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.2915, allocations: 34.56 kB / 435 MB, free: 3.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 2.735e-06/0.2915, allocations: 3.984 kB / 435 MB, free: 3.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007922/0.2923, allocations: 371.1 kB / 435.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.2923, allocations: 51.41 kB / 435.4 MB, free: 3.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.2924, allocations: 117.8 kB / 435.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.2924, allocations: 29.7 kB / 435.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.2925, allocations: 92.08 kB / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.2925, allocations: 40.31 kB / 435.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.2926, allocations: 25.7 kB / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2928, allocations: 326.8 kB / 436 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/0.2928, allocations: 16 kB / 436 MB, free: 2.508 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/0.2929, allocations: 57.14 kB / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.293, allocations: 96.95 kB / 436.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.293, allocations: 0 / 436.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001727/0.2932, allocations: 109.5 kB / 436.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2932, allocations: 4 kB / 436.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2932, allocations: 4 kB / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2932, allocations: 0 / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/0.2933, allocations: 23.98 kB / 436.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2933, allocations: 11.97 kB / 436.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.2934, allocations: 4 kB / 436.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.2934, allocations: 8 kB / 436.4 MB, free: 2.152 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 (13): * Single equations (assignments): 13 * 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.54e-05/0.2935, allocations: 117.8 kB / 436.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.2935, allocations: 7.953 kB / 436.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.2935, allocations: 12.36 kB / 436.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2935, allocations: 0 / 436.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2935, allocations: 3.938 kB / 436.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2935, allocations: 4 kB / 436.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005417/0.2941, allocations: 377.7 kB / 436.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2941, allocations: 4 kB / 436.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.754e-05/0.2942, allocations: 23.92 kB / 436.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2942, allocations: 0 / 436.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2942, allocations: 4 kB / 436.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2942, allocations: 4.156 kB / 436.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.2942, allocations: 4 kB / 436.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.2945, allocations: 235.8 kB / 437.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.2945, allocations: 11.97 kB / 437.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.2945, allocations: 4 kB / 437.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.2946, allocations: 11.94 kB / 437.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.2946, allocations: 7.984 kB / 437.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.2946, allocations: 4 kB / 437.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.971e-05/0.2947, allocations: 91.31 kB / 437.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2947, allocations: 0 / 437.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.2949, allocations: 20 kB / 437.3 MB, free: 1.109 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * 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 (9): * Single equations (assignments): 9 * 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.0005661/0.2955, allocations: 0.7743 MB / 438.1 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.2956, allocations: 59.92 kB / 438.1 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2956, allocations: 0 / 438.1 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.2957, allocations: 31.86 kB / 438.1 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.296, allocations: 15.06 kB / 438.2 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.2977, allocations: 1.676 MB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.2981, allocations: 0.6924 MB / 440.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.55e-05/0.2981, allocations: 4.438 kB / 440.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.2981, allocations: 23.42 kB / 440.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2981, allocations: 0 / 440.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.3251, allocations: 1.968 MB / 442.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.433, allocations: 11.44 kB / 442.5 MB, free: 11.75 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.675135160796344] Failed to read output from testmodel.py, exit status != 0: ['time', 'accelerate.s', 'accelerate.v'] 8.504282658919692 8.527679869 8.233705567 Calling exit ...