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.001851/0.001851, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.002171/0.002171, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.514/1.514, allocations: 230.5 MB / 254.8 MB, free: 15.27 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.00201/0.00201, allocations: 75.83 kB / 373.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1181, allocations: 53.33 MB / 427 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003979/0.1221, allocations: 2.008 MB / 429 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1233, allocations: 0.6974 MB / 429.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1234, allocations: 7.938 kB / 429.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.1236, allocations: 19.78 kB / 429.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.605e-05/0.1237, allocations: 43.64 kB / 429.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.1239, allocations: 47.86 kB / 429.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.1242, allocations: 143.3 kB / 430 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.1243, allocations: 25.11 kB / 430 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1244, allocations: 63.7 kB / 430 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1245, allocations: 55.77 kB / 430.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.1245, allocations: 16 kB / 430.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.597e-05/0.1246, allocations: 24 kB / 430.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.1247, allocations: 27.91 kB / 430.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.1248, allocations: 63.66 kB / 430.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.1251, allocations: 155.3 kB / 430.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1251, allocations: 0 / 430.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1251, allocations: 0 / 430.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1251, allocations: 0 / 430.4 MB, free: 1.453 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.0007727/0.1258, allocations: 450.7 kB / 430.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.1259, allocations: 12.03 kB / 430.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.1259, allocations: 38.75 kB / 430.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.1261, allocations: 32.83 kB / 430.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.1265, allocations: 208.1 kB / 431.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1265, allocations: 8.375 kB / 431.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.1265, allocations: 16.12 kB / 431.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.1268, allocations: 121.6 kB / 431.2 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.1269, allocations: 3.953 kB / 431.3 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1269, allocations: 4 kB / 431.3 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1269, allocations: 4 kB / 431.3 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.1272, allocations: 87.88 kB / 431.3 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009325/0.1281, allocations: 491.4 kB / 431.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.1285, allocations: 122.5 kB / 431.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.1286, allocations: 49.05 kB / 432 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1286, allocations: 7.938 kB / 432 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.1287, allocations: 34.5 kB / 432 MB, free: 15.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.1287, allocations: 0 / 432 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001174/0.1299, allocations: 474 kB / 432.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.1299, allocations: 59.41 kB / 432.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1301, allocations: 140.2 kB / 432.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.1301, allocations: 29.7 kB / 432.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.1302, allocations: 112.2 kB / 432.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.1302, allocations: 47.64 kB / 432.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.1303, allocations: 33.66 kB / 432.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1305, allocations: 326.8 kB / 433.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1306, allocations: 47.97 kB / 433.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.1308, allocations: 75.34 kB / 433.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.1311, allocations: 126.5 kB / 433.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1311, allocations: 0 / 433.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004057/0.1315, allocations: 165.5 kB / 433.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.1315, allocations: 10.03 kB / 433.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.1315, allocations: 3.984 kB / 433.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1315, allocations: 0 / 433.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.1317, allocations: 39.92 kB / 433.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1317, allocations: 0 / 433.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1318, allocations: 16.05 kB / 433.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.1318, allocations: 4 kB / 433.7 MB, free: 13.82 MB / 366.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 0.0001187/0.132, allocations: 121.8 kB / 433.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.132, allocations: 11.89 kB / 433.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.329e-05/0.1321, allocations: 24.78 kB / 433.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1321, allocations: 0 / 433.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.1321, allocations: 3.984 kB / 433.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1321, allocations: 0 / 433.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007768/0.1328, allocations: 484.7 kB / 434.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1328, allocations: 0 / 434.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.133, allocations: 31.98 kB / 434.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.133, allocations: 0 / 434.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1331, allocations: 8 kB / 434.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1331, allocations: 4.062 kB / 434.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1331, allocations: 4 kB / 434.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/0.1336, allocations: 305 kB / 434.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.1337, allocations: 85.06 kB / 434.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.1337, allocations: 8 kB / 434.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1338, allocations: 8 kB / 434.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.1339, allocations: 7.984 kB / 434.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1339, allocations: 8 kB / 434.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.782e-05/0.134, allocations: 100.5 kB / 434.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.134, allocations: 0 / 434.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1342, allocations: 31.94 kB / 434.9 MB, free: 12.48 MB / 366.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.0008836/0.1351, allocations: 0.8479 MB / 435.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003465/0.1355, allocations: 111.9 kB / 435.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1355, allocations: 0 / 435.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.1356, allocations: 59.95 kB / 435.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.136, allocations: 30.55 kB / 436 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.1387, allocations: 1.983 MB / 438 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.1391, allocations: 0.7157 MB / 438.7 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.615e-05/0.1392, allocations: 12.64 kB / 438.7 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.159e-05/0.1393, allocations: 35.44 kB / 438.7 MB, free: 8.531 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1393, allocations: 0 / 438.7 MB, free: 8.531 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.1669, allocations: 3.048 MB / 441.8 MB, free: 5.637 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.222, allocations: 9.422 kB / 441.8 MB, free: 5.633 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.9248770698905] Failed to read output from testmodel.py, exit status != 0: ['time', 'eddyCurrentForce.lossPower', 'mass.s', 'heatCapacitor.T'] 8.29033324867487 8.451075638 8.323963862 Calling exit ...