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.001597/0.001597, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001507/0.001507, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.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.002785/0.002785, allocations: 68.77 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2883, allocations: 53.36 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003312/0.2916, allocations: 2.01 MB / 433.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.2928, allocations: 0.7129 MB / 434.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-05/0.2929, allocations: 0 / 434.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.293, allocations: 19.8 kB / 434.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.104e-05/0.2931, allocations: 47.62 kB / 434.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.2933, allocations: 47.81 kB / 434.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.2935, allocations: 151.3 kB / 434.9 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.2937, allocations: 17.31 kB / 434.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.597e-05/0.2938, allocations: 59.78 kB / 435 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.2939, allocations: 59.7 kB / 435 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.2939, allocations: 8 kB / 435 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.294, allocations: 27.98 kB / 435 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.294, allocations: 23.92 kB / 435.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.29e-05/0.2941, allocations: 67.67 kB / 435.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.2944, allocations: 156.2 kB / 435.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2944, allocations: 0 / 435.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2944, allocations: 0 / 435.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.2944, allocations: 0 / 435.3 MB, free: 3.484 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.0006566/0.295, allocations: 368.1 kB / 435.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2951, allocations: 12.03 kB / 435.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.567e-05/0.2951, allocations: 34.75 kB / 435.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.2953, allocations: 36.88 kB / 435.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.2955, allocations: 138.3 kB / 435.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.2956, allocations: 12.38 kB / 435.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.2956, allocations: 12.12 kB / 435.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.2959, allocations: 117.6 kB / 436 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.2959, allocations: 0 / 436 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.2959, allocations: 4 kB / 436 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2959, allocations: 8 kB / 436 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.2962, allocations: 95.86 kB / 436.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008848/0.2971, allocations: 466.4 kB / 436.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.2974, allocations: 98.61 kB / 436.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.2975, allocations: 52.7 kB / 436.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.2975, allocations: 192 / 436.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.2975, allocations: 34.5 kB / 436.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.615e-06/0.2975, allocations: 3.984 kB / 436.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004386/0.298, allocations: 153.5 kB / 436.9 MB, free: 1.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.298, allocations: 55.41 kB / 437 MB, free: 1.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.2982, allocations: 128.5 kB / 437.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.2982, allocations: 33.7 kB / 437.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.2983, allocations: 116.2 kB / 437.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.2984, allocations: 35.69 kB / 437.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.2984, allocations: 29.72 kB / 437.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.2986, allocations: 322.8 kB / 437.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.2987, allocations: 39.97 kB / 437.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.2988, allocations: 71.34 kB / 437.7 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.2991, allocations: 111.3 kB / 437.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2991, allocations: 0 / 437.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003048/0.2994, allocations: 153.4 kB / 438 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2994, allocations: 12.09 kB / 438 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2994, allocations: 0 / 438 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2994, allocations: 0 / 438 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.2996, allocations: 27.98 kB / 438 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.2996, allocations: 4 kB / 438 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.581e-05/0.2997, allocations: 7.984 kB / 438 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.2997, allocations: 8 kB / 438 MB, free: 0.5195 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.996e-05/0.2998, allocations: 129.7 kB / 438.2 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.2998, allocations: 11.95 kB / 438.2 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.2998, allocations: 12.72 kB / 438.2 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2998, allocations: 7.984 kB / 438.2 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2998, allocations: 0 / 438.2 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2998, allocations: 0 / 438.2 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.3001, allocations: 188.5 kB / 438.4 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.3001, allocations: 0 / 438.4 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.3002, allocations: 31.97 kB / 438.4 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3002, allocations: 384 / 438.4 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3003, allocations: 0 / 438.4 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3003, allocations: 0 / 438.4 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3003, allocations: 8 kB / 438.4 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.3007, allocations: 259.2 kB / 438.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.3007, allocations: 11.98 kB / 438.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.3008, allocations: 0 / 438.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.3009, allocations: 8 kB / 438.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.3009, allocations: 15.98 kB / 438.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.3009, allocations: 0 / 438.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.414e-05/0.301, allocations: 111.2 kB / 438.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.301, allocations: 0 / 438.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.3012, allocations: 31.95 kB / 438.8 MB, free: 15.64 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.0007436/0.302, allocations: 0.7903 MB / 439.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.3023, allocations: 87.92 kB / 439.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3023, allocations: 0 / 439.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.3024, allocations: 47.91 kB / 439.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.3027, allocations: 20.55 kB / 439.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.3051, allocations: 1.889 MB / 441.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.3055, allocations: 0.708 MB / 442.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.088e-05/0.3056, allocations: 12.36 kB / 442.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.389e-05/0.3056, allocations: 35.42 kB / 442.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3056, allocations: 0 / 442.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.3339, allocations: 2.787 MB / 445.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.253, allocations: 7.75 kB / 445.2 MB, free: 9.215 MB / 350.1 MB " [Timeout remaining time 652] (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 --stepSize=0.001 --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: 10.592180422972888] Failed to read output from testmodel.py, exit status != 0: ['time', 'eddyCurrentTorque.lossPower', 'inertia.phi', 'heatCapacitor.T'] 8.32694563176483 8.349570181 8.050735804 Calling exit ...