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.001378/0.001378, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.001953/0.001953, allocations: 215.3 kB / 23.48 MB, free: 5.23 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.39/1.39, allocations: 230.4 MB / 257 MB, free: 8.254 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.001876/0.001876, allocations: 63.89 kB / 377 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2472, allocations: 53.32 MB / 430.4 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.0028/0.25, allocations: 1.668 MB / 432 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002526/0.2502, allocations: 67.72 kB / 432.1 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.15e-05/0.2503, allocations: 0 / 432.1 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.2504, allocations: 7.938 kB / 432.1 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.814e-05/0.2505, allocations: 15.84 kB / 432.1 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.2506, allocations: 23.91 kB / 432.2 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.2507, allocations: 67.72 kB / 432.2 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.2508, allocations: 16 kB / 432.2 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.18e-05/0.2509, allocations: 23.92 kB / 432.3 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.251, allocations: 31.84 kB / 432.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.251, allocations: 4 kB / 432.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.251, allocations: 8 kB / 432.3 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.251, allocations: 4 kB / 432.3 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.2511, allocations: 35.8 kB / 432.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.2512, allocations: 68.08 kB / 432.4 MB, free: 5.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2512, allocations: 0 / 432.4 MB, free: 5.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2512, allocations: 0 / 432.4 MB, free: 5.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.2512, allocations: 0 / 432.4 MB, free: 5.199 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.0004971/0.2517, allocations: 371.3 kB / 432.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2517, allocations: 8.031 kB / 432.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.993e-05/0.2518, allocations: 38.75 kB / 432.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.2518, allocations: 8.891 kB / 432.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.252, allocations: 184.2 kB / 433 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.252, allocations: 4.375 kB / 433 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.2521, allocations: 12.31 kB / 433 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.2522, allocations: 74.17 kB / 433.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.2522, allocations: 3.938 kB / 433.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2523, allocations: 4 kB / 433.1 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.2523, allocations: 7.984 kB / 433.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.55e-05/0.2523, allocations: 27.98 kB / 433.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.253, allocations: 387.6 kB / 433.5 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.2531, allocations: 54.56 kB / 433.6 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.2531, allocations: 20.86 kB / 433.6 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.2531, allocations: 0 / 433.6 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2532, allocations: 34.55 kB / 433.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.2532, allocations: 0 / 433.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008035/0.254, allocations: 0.5054 MB / 434.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.254, allocations: 63.33 kB / 434.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.2541, allocations: 122.2 kB / 434.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.2541, allocations: 25.7 kB / 434.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.2542, allocations: 92.09 kB / 434.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.2542, allocations: 39.78 kB / 434.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.2543, allocations: 21.66 kB / 434.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2544, allocations: 322.8 kB / 434.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.881e-05/0.2544, allocations: 23.98 kB / 434.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.2545, allocations: 57.14 kB / 434.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.2546, allocations: 81.09 kB / 435 MB, free: 2.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2546, allocations: 4 kB / 435 MB, free: 2.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001604/0.2548, allocations: 113.5 kB / 435.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2548, allocations: 4 kB / 435.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2548, allocations: 4 kB / 435.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.2548, allocations: 3.938 kB / 435.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.325e-05/0.2549, allocations: 23.98 kB / 435.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2549, allocations: 7.938 kB / 435.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.64e-05/0.255, allocations: 0 / 435.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.255, allocations: 8.094 kB / 435.1 MB, free: 2.121 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.105e-05/0.2551, allocations: 121.8 kB / 435.2 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.2551, allocations: 7.953 kB / 435.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.2551, allocations: 8.375 kB / 435.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2551, allocations: 4.141 kB / 435.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2551, allocations: 7.875 kB / 435.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.2551, allocations: 3.984 kB / 435.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.2556, allocations: 410.6 kB / 435.7 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2556, allocations: 4 kB / 435.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.779e-05/0.2557, allocations: 23.92 kB / 435.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2557, allocations: 0 / 435.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2557, allocations: 4 kB / 435.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2557, allocations: 0 / 435.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2557, allocations: 4 kB / 435.7 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.256, allocations: 235.8 kB / 435.9 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.256, allocations: 85.05 kB / 436 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.256, allocations: 4 kB / 436 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.2561, allocations: 16.06 kB / 436 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.2561, allocations: 7.938 kB / 436 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.2561, allocations: 0 / 436 MB, free: 1.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.826e-05/0.2562, allocations: 99.3 kB / 436.1 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2562, allocations: 0 / 436.1 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.2564, allocations: 16 kB / 436.2 MB, free: 0.9453 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.00055/0.257, allocations: 0.7595 MB / 436.9 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.2571, allocations: 63.91 kB / 437 MB, free: 84 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2571, allocations: 0 / 437 MB, free: 84 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.2572, allocations: 27.92 kB / 437 MB, free: 56 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.2575, allocations: 12 kB / 437 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.2592, allocations: 1.677 MB / 438.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.2595, allocations: 0.6963 MB / 439.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.534e-05/0.2596, allocations: 12.36 kB / 439.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.2596, allocations: 19.44 kB / 439.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2596, allocations: 0 / 439.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.2841, allocations: 1.902 MB / 441.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/7.994, allocations: 5.422 kB / 441.3 MB, free: 11.66 MB / 350.1 MB " [Timeout remaining time 652] (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.215936545049772] Failed to read output from testmodel.py, exit status != 0: ['time', 'accelerate.s', 'accelerate.v'] 8.063988890033215 8.09163677 7.835532926 Calling exit ...