Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.001556/0.001556, allocations: 117.2 kB / 18.45 MB, free: 4.613 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.00166/0.00166, allocations: 209.7 kB / 21.41 MB, free: 1.66 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.487/1.487, allocations: 227.7 MB / 251.9 MB, free: 15.87 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.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",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.001953/0.001953, allocations: 67.83 kB / 365.2 MB, free: 300 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1031, allocations: 50.55 MB / 415.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004536/0.1077, allocations: 2.844 MB / 418.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.1097, allocations: 1.215 MB / 419.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.1099, allocations: 4 kB / 419.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.1114, allocations: 0.6135 MB / 420.4 MB, free: 9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.1118, allocations: 147 kB / 420.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.1131, allocations: 0.6537 MB / 421.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.1135, allocations: 294.6 kB / 421.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004709/0.114, allocations: 266.8 kB / 421.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.1142, allocations: 135.5 kB / 421.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.1145, allocations: 167.3 kB / 422.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.1145, allocations: 28 kB / 422.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003704/0.1149, allocations: 187.8 kB / 422.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.1149, allocations: 55.8 kB / 422.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.1151, allocations: 151.3 kB / 422.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006263/0.1157, allocations: 0.4982 MB / 423 MB, free: 6.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1158, allocations: 0 / 423 MB, free: 6.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1158, allocations: 0 / 423 MB, free: 6.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1158, allocations: 0 / 423 MB, free: 6.434 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00167/0.1175, allocations: 0.7287 MB / 423.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1175, allocations: 12.02 kB / 423.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.212e-05/0.1176, allocations: 70.73 kB / 423.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008064/0.1184, allocations: 116.7 kB / 423.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.1188, allocations: 264.5 kB / 424.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.1189, allocations: 25.03 kB / 424.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/0.1189, allocations: 36.12 kB / 424.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.1195, allocations: 344.9 kB / 424.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1195, allocations: 0 / 424.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.1195, allocations: 16 kB / 424.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.1196, allocations: 8 kB / 424.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.12, allocations: 238.5 kB / 424.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.122, allocations: 1.44 MB / 426.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007457/0.1228, allocations: 0.7055 MB / 427 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.123, allocations: 112.8 kB / 427.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/0.1232, allocations: 174.2 kB / 427.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1232, allocations: 34.56 kB / 427.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/0.1232, allocations: 4 kB / 427.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001249/0.1245, allocations: 494.7 kB / 427.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.1245, allocations: 59.34 kB / 427.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1247, allocations: 171.3 kB / 428 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.1247, allocations: 29.7 kB / 428 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1249, allocations: 184.4 kB / 428.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.585e-05/0.1249, allocations: 91.2 kB / 428.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.27e-05/0.125, allocations: 49.98 kB / 428.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1252, allocations: 330.8 kB / 428.7 MB, free: 280 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1253, allocations: 72.53 kB / 428.7 MB, free: 208 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.1255, allocations: 132.2 kB / 428.9 MB, free: 52 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.1258, allocations: 224.9 kB / 429.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1258, allocations: 0 / 429.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005862/0.1264, allocations: 327.6 kB / 429.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1264, allocations: 10.34 kB / 429.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1265, allocations: 0 / 429.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003085/0.1268, allocations: 81.03 kB / 429.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1269, allocations: 43.91 kB / 429.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.1292, allocations: 2.026 MB / 431.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.1293, allocations: 27.78 kB / 431.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.1293, allocations: 16 kB / 431.6 MB, free: 13.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.1295, allocations: 145.8 kB / 431.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.1296, allocations: 23.8 kB / 431.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005779/0.1302, allocations: 288 kB / 432.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1302, allocations: 4 kB / 432.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1302, allocations: 0 / 432.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1302, allocations: 0 / 432.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.1312, allocations: 0.6904 MB / 432.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1312, allocations: 0 / 432.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.1313, allocations: 23.98 kB / 432.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000238/0.1316, allocations: 80.75 kB / 432.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.1316, allocations: 7.984 kB / 432.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.1336, allocations: 2.026 MB / 434.9 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1336, allocations: 4 kB / 434.9 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.1343, allocations: 455.7 kB / 435.3 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1344, allocations: 113 kB / 435.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.1345, allocations: 4 kB / 435.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.1346, allocations: 8 kB / 435.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.1346, allocations: 27.97 kB / 435.5 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.1347, allocations: 4 kB / 435.5 MB, free: 8.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.1348, allocations: 123.2 kB / 435.6 MB, free: 8.871 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1348, allocations: 0 / 435.6 MB, free: 8.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004864/0.1353, allocations: 95.78 kB / 435.7 MB, free: 8.777 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (15): * 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: 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001107/0.1364, allocations: 1.006 MB / 436.7 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006326/0.137, allocations: 358.5 kB / 437.1 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.137, allocations: 0 / 437.1 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.1374, allocations: 246.4 kB / 437.3 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.1377, allocations: 30.3 kB / 437.3 MB, free: 7.102 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.1411, allocations: 2.505 MB / 439.8 MB, free: 4.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.1415, allocations: 0.756 MB / 440.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.185e-05/0.1416, allocations: 21.94 kB / 440.6 MB, free: 3.664 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.1418, allocations: 79.41 kB / 440.7 MB, free: 3.586 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1418, allocations: 0 / 440.7 MB, free: 3.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2099/0.3517, allocations: 5.095 MB / 445.8 MB, free: 30.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.901/10.25, allocations: 11.97 kB / 445.8 MB, free: 30.03 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_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_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.786685395985842] Failed to read output from testmodel.py, exit status != 0: ['time', 'leakageWithCoefficient.port_p.reference.gamma'] 10.33391380298417 10.34972534 10.231026446 Calling exit ...