Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.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.001478/0.001478, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001578/0.001578, allocations: 218.4 kB / 22.92 MB, free: 5.535 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.296/1.296, allocations: 230.5 MB / 256.4 MB, free: 8.43 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.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",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.001781/0.001781, allocations: 67.89 kB / 376.1 MB, free: 4.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2054, allocations: 53.32 MB / 429.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003135/0.2085, allocations: 2.011 MB / 431.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2096, allocations: 0.7091 MB / 432.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.779e-05/0.2097, allocations: 4 kB / 432.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.2098, allocations: 15.8 kB / 432.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.005e-05/0.2099, allocations: 39.64 kB / 432.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.2101, allocations: 59.8 kB / 432.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.2103, allocations: 139.3 kB / 432.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2104, allocations: 29.09 kB / 432.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.538e-05/0.2105, allocations: 47.8 kB / 432.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.735e-05/0.2106, allocations: 59.77 kB / 432.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.2106, allocations: 12 kB / 432.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.628e-05/0.2107, allocations: 27.98 kB / 432.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.2107, allocations: 23.84 kB / 432.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.218e-05/0.2108, allocations: 71.61 kB / 432.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.211, allocations: 147.8 kB / 432.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.211, allocations: 4 kB / 432.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.211, allocations: 0 / 432.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.924e-06/0.211, allocations: 0 / 432.8 MB, free: 4.074 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006425/0.2117, allocations: 438.8 kB / 433.2 MB, free: 3.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2117, allocations: 12.03 kB / 433.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.917e-05/0.2118, allocations: 46.73 kB / 433.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.2119, allocations: 24.88 kB / 433.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.2122, allocations: 204.1 kB / 433.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.2122, allocations: 12.38 kB / 433.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.2122, allocations: 12.11 kB / 433.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.2125, allocations: 113.6 kB / 433.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2125, allocations: 4 kB / 433.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.2125, allocations: 4 kB / 433.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.2125, allocations: 7.984 kB / 433.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.2128, allocations: 91.92 kB / 433.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008829/0.2137, allocations: 0.5127 MB / 434.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.214, allocations: 98.56 kB / 434.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.2141, allocations: 44.81 kB / 434.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.2141, allocations: 0 / 434.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.2141, allocations: 34.75 kB / 434.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.2141, allocations: 3.938 kB / 434.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004608/0.2146, allocations: 149.5 kB / 434.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.2146, allocations: 55.34 kB / 434.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.2147, allocations: 133.8 kB / 434.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.2148, allocations: 25.7 kB / 434.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.2148, allocations: 108.2 kB / 434.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.2149, allocations: 43.62 kB / 434.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.2149, allocations: 29.7 kB / 434.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2151, allocations: 322.8 kB / 435.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.2152, allocations: 36.34 kB / 435.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.2153, allocations: 67.34 kB / 435.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.2155, allocations: 115.3 kB / 435.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2155, allocations: 0 / 435.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000304/0.2159, allocations: 149.4 kB / 435.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2159, allocations: 8 kB / 435.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2159, allocations: 0 / 435.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2159, allocations: 4.094 kB / 435.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.216, allocations: 35.92 kB / 435.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2161, allocations: 0 / 435.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.199e-05/0.2161, allocations: 15.98 kB / 435.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.2162, allocations: 0 / 435.7 MB, free: 0.8906 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 14 * 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.984e-05/0.2163, allocations: 129.7 kB / 435.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.2163, allocations: 11.89 kB / 435.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.2163, allocations: 16.7 kB / 435.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2163, allocations: 8 kB / 435.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2163, allocations: 0 / 435.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2163, allocations: 0 / 435.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.2166, allocations: 221.4 kB / 436.1 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2166, allocations: 0 / 436.1 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.2168, allocations: 27.98 kB / 436.1 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2168, allocations: 0 / 436.1 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.2168, allocations: 0 / 436.1 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2168, allocations: 4 kB / 436.1 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2168, allocations: 0 / 436.1 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.2172, allocations: 263.3 kB / 436.3 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.2173, allocations: 85.06 kB / 436.4 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.2173, allocations: 4 kB / 436.4 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2174, allocations: 8.031 kB / 436.4 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.2175, allocations: 4 kB / 436.4 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.2175, allocations: 0 / 436.4 MB, free: 24 kB / 334.1 MB Notification: Performance of sorting global known variables: time 9.689e-05/0.2176, allocations: 114 kB / 436.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2176, allocations: 0 / 436.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.2178, allocations: 31.95 kB / 436.6 MB, free: 15.88 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * 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.000737/0.2185, allocations: 0.7982 MB / 437.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002921/0.2188, allocations: 87.89 kB / 437.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2188, allocations: 0 / 437.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.219, allocations: 43.91 kB / 437.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.2193, allocations: 28.16 kB / 437.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.2216, allocations: 1.891 MB / 439.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.2219, allocations: 0.708 MB / 440.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.19e-05/0.222, allocations: 12.42 kB / 440.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.222, allocations: 31.42 kB / 440.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.222, allocations: 0 / 440.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.2472, allocations: 2.71 MB / 442.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.955/7.203, allocations: 5.312 kB / 442.9 MB, free: 9.52 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.302621144001023]