Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.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.001183/0.001183, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001389/0.001389, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.49/1.49, allocations: 230.5 MB / 254.7 MB, free: 15.03 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.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_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.001903/0.001903, allocations: 71.86 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1129, allocations: 53.3 MB / 426.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003497/0.1164, allocations: 2.028 MB / 428.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1176, allocations: 0.6974 MB / 429.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.604e-05/0.1177, allocations: 0 / 429.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.1178, allocations: 23.8 kB / 429.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.329e-05/0.1179, allocations: 39.62 kB / 429.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.1181, allocations: 63.8 kB / 429.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.1184, allocations: 139.3 kB / 429.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1185, allocations: 25.11 kB / 429.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1186, allocations: 63.7 kB / 429.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.788e-05/0.1187, allocations: 51.78 kB / 430 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1187, allocations: 12 kB / 430 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.624e-05/0.1188, allocations: 27.98 kB / 430 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.1189, allocations: 19.92 kB / 430 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.023e-05/0.1189, allocations: 63.67 kB / 430.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.1192, allocations: 151.4 kB / 430.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1192, allocations: 4 kB / 430.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1192, allocations: 0 / 430.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.1192, allocations: 0 / 430.3 MB, free: 1.465 MB / 350.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.0007167/0.1199, allocations: 446.8 kB / 430.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.12, allocations: 12.03 kB / 430.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.12, allocations: 38.73 kB / 430.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.1202, allocations: 36.83 kB / 430.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.1205, allocations: 212 kB / 431 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1205, allocations: 8.375 kB / 431 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.1206, allocations: 12.12 kB / 431 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.1208, allocations: 113.6 kB / 431.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.1209, allocations: 3.953 kB / 431.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1209, allocations: 4 kB / 431.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.1209, allocations: 11.94 kB / 431.1 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.1212, allocations: 99.86 kB / 431.2 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1925/0.3137, allocations: 481.2 kB / 431.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005085/0.3142, allocations: 111.6 kB / 431.8 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.3143, allocations: 50.02 kB / 431.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.3144, allocations: 2.062 kB / 431.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3144, allocations: 36.81 kB / 431.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.565e-06/0.3144, allocations: 1.219 kB / 431.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001246/0.3156, allocations: 487.8 kB / 432.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.3157, allocations: 53.28 kB / 432.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.3158, allocations: 137.6 kB / 432.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.3158, allocations: 26.2 kB / 432.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.3159, allocations: 114.5 kB / 432.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.3159, allocations: 51.78 kB / 432.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/0.316, allocations: 31.75 kB / 432.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.316, allocations: 325.6 kB / 433.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.3162, allocations: 40.05 kB / 433.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.3163, allocations: 76.53 kB / 433.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.3166, allocations: 126.1 kB / 433.3 MB, free: 10 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3166, allocations: 0 / 433.3 MB, free: 10 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000329/0.3169, allocations: 167.6 kB / 433.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3169, allocations: 9.344 kB / 433.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3169, allocations: 6.938 kB / 433.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.317, allocations: 2.062 kB / 433.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.3171, allocations: 41.36 kB / 433.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3172, allocations: 1.75 kB / 433.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.974e-05/0.3172, allocations: 8.109 kB / 433.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3173, allocations: 4.312 kB / 433.6 MB, free: 9.957 MB / 350.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 (18): * Single equations (assignments): 18 * 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 8.37e-05/0.3173, allocations: 125.9 kB / 433.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.3174, allocations: 21 kB / 433.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.3174, allocations: 17.25 kB / 433.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3174, allocations: 1.531 kB / 433.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3174, allocations: 0 / 433.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3174, allocations: 3.844 kB / 433.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006536/0.3181, allocations: 473.3 kB / 434.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3181, allocations: 0 / 434.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.3183, allocations: 35.77 kB / 434.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3183, allocations: 0 / 434.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3183, allocations: 5.969 kB / 434.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3183, allocations: 5.75 kB / 434.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3183, allocations: 0.7656 kB / 434.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.3187, allocations: 305 kB / 434.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.3188, allocations: 84.34 kB / 434.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.3188, allocations: 11.09 kB / 434.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3189, allocations: 7.312 kB / 434.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.319, allocations: 17.16 kB / 434.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.319, allocations: 5.906 kB / 434.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.842e-05/0.319, allocations: 105.8 kB / 434.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.319, allocations: 0 / 434.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.3193, allocations: 28.19 kB / 434.8 MB, free: 9.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (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 Backend phase and start with SimCode phase: time 0.00068/0.32, allocations: 0.8426 MB / 435.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003341/0.3203, allocations: 107.2 kB / 435.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3203, allocations: 0 / 435.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3205, allocations: 56.27 kB / 435.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.3208, allocations: 29.59 kB / 435.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.3229, allocations: 1.988 MB / 437.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.323, allocations: 0.7126 MB / 438.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.292e-05/0.3231, allocations: 14.02 kB / 438.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/0.3232, allocations: 40.09 kB / 438.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3232, allocations: 0 / 438.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.3519, allocations: 3.048 MB / 441.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.464, allocations: 1.062 kB / 441.6 MB, free: 5.949 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.840442098211497] Failed to read output from testmodel.py, exit status != 0: ['time', 'eddyCurrentForce.lossPower', 'mass.s', 'heatCapacitor.T'] 8.535167400259525 8.558067174 8.434439428 Calling exit ...