Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.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.001367/0.001367, allocations: 109 kB / 19.74 MB, free: 2.582 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.001527/0.001527, allocations: 216.1 kB / 22.92 MB, free: 5.562 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.282/1.282, allocations: 230.4 MB / 256.4 MB, free: 8.277 MB / 206.1 MB " [Timeout remaining time 179] 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.Damper,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper",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.001775/0.001775, allocations: 67.89 kB / 376.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.211, allocations: 53.31 MB / 429.4 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003279/0.2143, allocations: 2.448 MB / 431.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004335/0.2147, allocations: 247.1 kB / 432.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.648e-05/0.2148, allocations: 7.938 kB / 432.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.2149, allocations: 39.58 kB / 432.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.215, allocations: 87.27 kB / 432.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.2152, allocations: 51.94 kB / 432.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.2155, allocations: 294.6 kB / 432.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.2157, allocations: 69.7 kB / 432.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.2158, allocations: 111.6 kB / 432.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.2159, allocations: 119.5 kB / 432.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.216, allocations: 27.94 kB / 432.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.036e-05/0.216, allocations: 24 kB / 432.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.911e-05/0.2161, allocations: 51.83 kB / 432.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.2162, allocations: 131.3 kB / 433.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.2165, allocations: 291.2 kB / 433.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2165, allocations: 0 / 433.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2165, allocations: 0 / 433.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.2165, allocations: 0 / 433.4 MB, free: 3.492 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007316/0.2172, allocations: 0.5534 MB / 433.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2173, allocations: 8.031 kB / 433.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.653e-05/0.2173, allocations: 58.72 kB / 434 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.2174, allocations: 36.69 kB / 434 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.2177, allocations: 240.7 kB / 434.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.2177, allocations: 20.94 kB / 434.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.2177, allocations: 28.38 kB / 434.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.2181, allocations: 244 kB / 434.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.2181, allocations: 3.938 kB / 434.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.2181, allocations: 12 kB / 434.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.2181, allocations: 11.94 kB / 434.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.2184, allocations: 159.8 kB / 434.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009656/0.2194, allocations: 0.801 MB / 435.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.2198, allocations: 275.8 kB / 435.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.2201, allocations: 122.5 kB / 435.9 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2201, allocations: 7.938 kB / 435.9 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.2201, allocations: 34.56 kB / 435.9 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.945e-06/0.2201, allocations: 3.984 kB / 436 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002499/0.2226, allocations: 1.958 MB / 437.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.2227, allocations: 111.2 kB / 438 MB, free: 14.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.2228, allocations: 182.8 kB / 438.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.2229, allocations: 33.7 kB / 438.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.568e-05/0.223, allocations: 136.9 kB / 438.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.2231, allocations: 178.4 kB / 438.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.098e-05/0.2232, allocations: 70.14 kB / 438.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2233, allocations: 342.8 kB / 438.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.2235, allocations: 92.84 kB / 439 MB, free: 13.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.2236, allocations: 158.4 kB / 439.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.224, allocations: 272.8 kB / 439.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.224, allocations: 3.938 kB / 439.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004627/0.2245, allocations: 348.4 kB / 439.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2245, allocations: 11.94 kB / 439.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2245, allocations: 4 kB / 439.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2245, allocations: 4 kB / 439.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.2248, allocations: 99.98 kB / 439.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.2248, allocations: 4 kB / 439.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.555e-05/0.2249, allocations: 4 kB / 439.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.2249, allocations: 16 kB / 439.9 MB, free: 12.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001325/0.2251, allocations: 149.7 kB / 440.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-05/0.2252, allocations: 35.75 kB / 440.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.875e-05/0.2252, allocations: 37.86 kB / 440.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2252, allocations: 4 kB / 440.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/0.2253, allocations: 4 kB / 440.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.2253, allocations: 7.984 kB / 440.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.2265, allocations: 1.058 MB / 441.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2265, allocations: 48 / 441.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.2269, allocations: 99.81 kB / 441.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2269, allocations: 4 kB / 441.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.2269, allocations: 8 kB / 441.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.2269, allocations: 8 kB / 441.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2269, allocations: 3.938 kB / 441.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.2276, allocations: 0.7292 MB / 442.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/0.2277, allocations: 101 kB / 442.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.2277, allocations: 8 kB / 442.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.2279, allocations: 12 kB / 442.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.228, allocations: 39.89 kB / 442.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.228, allocations: 16 kB / 442.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.2281, allocations: 141 kB / 442.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2281, allocations: 3.938 kB / 442.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003899/0.2285, allocations: 72 kB / 442.5 MB, free: 9.652 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.001017/0.2295, allocations: 1.278 MB / 443.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003928/0.2299, allocations: 243.8 kB / 444 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2299, allocations: 0 / 444 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.2301, allocations: 136.5 kB / 444.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.2307, allocations: 71.78 kB / 444.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.2342, allocations: 3.289 MB / 447.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.2346, allocations: 0.7721 MB / 448.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.2347, allocations: 30.97 kB / 448.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.2348, allocations: 95.34 kB / 448.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2348, allocations: 0 / 448.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.2645, allocations: 5.981 MB / 454.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.372/7.637, allocations: 6.516 kB / 454.4 MB, free: 13.61 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.696042063005734]