Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001202/0.001202, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001364/0.001364, allocations: 222.1 kB / 22.92 MB, free: 5.559 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.281/1.281, allocations: 230.5 MB / 256.4 MB, free: 8.273 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.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_FirstGrounded",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.001822/0.001822, allocations: 75.81 kB / 376.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2026, allocations: 53.32 MB / 429.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003278/0.2059, allocations: 2.388 MB / 431.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2069, allocations: 0.6505 MB / 432.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.207, allocations: 11.94 kB / 432.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.2072, allocations: 35.66 kB / 432.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.2073, allocations: 75.33 kB / 432.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.2075, allocations: 59.86 kB / 432.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.2078, allocations: 266.7 kB / 432.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.2079, allocations: 64.27 kB / 432.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.2081, allocations: 107.6 kB / 433 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.2083, allocations: 115.5 kB / 433.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.2083, allocations: 20 kB / 433.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.336e-05/0.2083, allocations: 20 kB / 433.2 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.2084, allocations: 47.84 kB / 433.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.2085, allocations: 119.3 kB / 433.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.2088, allocations: 251.4 kB / 433.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2088, allocations: 0 / 433.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2088, allocations: 0 / 433.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2088, allocations: 3.938 kB / 433.6 MB, free: 3.227 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006743/0.2095, allocations: 0.5221 MB / 434.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.2095, allocations: 8.031 kB / 434.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.439e-05/0.2096, allocations: 58.73 kB / 434.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.2097, allocations: 32.78 kB / 434.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.21, allocations: 244.6 kB / 434.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.21, allocations: 16.81 kB / 434.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.21, allocations: 20.38 kB / 434.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.2104, allocations: 214 kB / 434.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.2104, allocations: 7.953 kB / 434.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.2104, allocations: 8 kB / 434.7 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.2104, allocations: 4 kB / 434.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.2106, allocations: 129.6 kB / 434.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009175/0.2116, allocations: 0.7095 MB / 435.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.2118, allocations: 130.5 kB / 435.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.2119, allocations: 64.83 kB / 435.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.2119, allocations: 0 / 435.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.212, allocations: 50.5 kB / 435.8 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 9.72e-07/0.212, allocations: 0 / 435.8 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001486/0.2135, allocations: 0.8792 MB / 436.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.2135, allocations: 55.41 kB / 436.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.2137, allocations: 176.3 kB / 436.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.2137, allocations: 29.7 kB / 436.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.626e-05/0.2138, allocations: 148.4 kB / 437.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/0.2138, allocations: 91.2 kB / 437.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.2139, allocations: 57.69 kB / 437.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.214, allocations: 330.8 kB / 437.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.2141, allocations: 55.97 kB / 437.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.2143, allocations: 104.2 kB / 437.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.2145, allocations: 173.1 kB / 437.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2145, allocations: 0 / 437.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004133/0.2149, allocations: 254 kB / 438.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.215, allocations: 7.938 kB / 438.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.215, allocations: 7.938 kB / 438.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001436/0.2151, allocations: 28.84 kB / 438.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.2153, allocations: 56.03 kB / 438.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.2165, allocations: 1.481 MB / 439.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.2166, allocations: 8.031 kB / 439.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.2166, allocations: 8 kB / 439.7 MB, free: 12.59 MB / 350.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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.2167, allocations: 145.7 kB / 439.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.2168, allocations: 19.86 kB / 439.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/0.2168, allocations: 25.88 kB / 439.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2168, allocations: 4 kB / 439.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2168, allocations: 8 kB / 439.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2169, allocations: 3.984 kB / 439.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008464/0.2177, allocations: 0.6364 MB / 440.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2177, allocations: 4 kB / 440.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.2179, allocations: 43.98 kB / 440.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.218, allocations: 36.83 kB / 440.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.218, allocations: 4 kB / 440.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.2191, allocations: 1.493 MB / 442.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2192, allocations: 0 / 442.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.2197, allocations: 405.7 kB / 442.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/0.2198, allocations: 97 kB / 442.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.2198, allocations: 8 kB / 442.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.2199, allocations: 4 kB / 442.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.2199, allocations: 23.91 kB / 442.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.22, allocations: 4 kB / 442.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.2201, allocations: 132.1 kB / 442.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2201, allocations: 0 / 442.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.2204, allocations: 56 kB / 442.9 MB, free: 9.195 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008247/0.2212, allocations: 0.9398 MB / 443.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004978/0.2217, allocations: 282.4 kB / 444.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2217, allocations: 0 / 444.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.222, allocations: 214.9 kB / 444.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.2224, allocations: 45.97 kB / 444.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.2254, allocations: 2.552 MB / 446.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.2258, allocations: 0.7482 MB / 447.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.977e-05/0.2259, allocations: 21.94 kB / 447.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.226, allocations: 63.41 kB / 447.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.226, allocations: 4 kB / 447.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/0.2593, allocations: 4.79 MB / 452.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.838/9.098, allocations: 7.938 kB / 452.5 MB, free: 15.45 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_FirstGrounded_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.156342075999419]