Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001954/0.001954, allocations: 121.2 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.002214/0.002214, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2347/0.2347, allocations: 46.93 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.00232/0.00232, allocations: 79.86 kB / 0.4917 GB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1387, allocations: 66.04 MB / 0.5562 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.008442/0.1471, allocations: 5.357 MB / 0.5614 GB, free: 172 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003545/0.1507, allocations: 1.654 MB / 0.563 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004913/0.1512, allocations: 20 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0039/0.1551, allocations: 1.598 MB / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.1564, allocations: 313.6 kB / 0.5649 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.1578, allocations: 0.5292 MB / 0.5654 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.159, allocations: 0.8046 MB / 0.5662 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.1602, allocations: 0.5572 MB / 0.5667 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000661/0.1608, allocations: 358.7 kB / 0.5671 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006731/0.1615, allocations: 462.2 kB / 0.5675 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.1616, allocations: 76 kB / 0.5676 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005731/0.1622, allocations: 195.9 kB / 0.5678 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.1624, allocations: 183.3 kB / 0.5679 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004754/0.1628, allocations: 421.9 kB / 0.5683 GB, free: 9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.1644, allocations: 1.175 MB / 0.5695 GB, free: 7.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1644, allocations: 0 / 0.5695 GB, free: 7.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1644, allocations: 0 / 0.5695 GB, free: 7.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.1645, allocations: 4 kB / 0.5695 GB, free: 7.816 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003719/0.1682, allocations: 1.372 MB / 0.5708 GB, free: 6.395 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1682, allocations: 8.031 kB / 0.5708 GB, free: 6.387 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001944/0.1684, allocations: 152.4 kB / 0.571 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.1701, allocations: 232.2 kB / 0.5712 GB, free: 6.004 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.1704, allocations: 267.8 kB / 0.5715 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.61e-05/0.1705, allocations: 78.31 kB / 0.5715 GB, free: 5.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.1707, allocations: 99.94 kB / 0.5716 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.1724, allocations: 0.9321 MB / 0.5725 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.1725, allocations: 7.953 kB / 0.5726 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.75e-05/0.1725, allocations: 44 kB / 0.5726 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.1726, allocations: 24 kB / 0.5726 GB, free: 4.504 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.1739, allocations: 0.7222 MB / 0.5733 GB, free: 3.785 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005785/0.1797, allocations: 4.088 MB / 0.5773 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003105/0.1828, allocations: 3.319 MB / 0.5806 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004315/0.1832, allocations: 264.9 kB / 0.5808 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/0.1834, allocations: 190.5 kB / 0.581 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.1835, allocations: 46.77 kB / 0.581 GB, free: 10.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 3.075e-06/0.1835, allocations: 0 / 0.581 GB, free: 10.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.002937/0.1864, allocations: 1.324 MB / 0.5823 GB, free: 9.398 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/0.1865, allocations: 140.6 kB / 0.5825 GB, free: 9.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000427/0.187, allocations: 314.8 kB / 0.5828 GB, free: 8.914 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.187, allocations: 37.7 kB / 0.5828 GB, free: 8.871 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.1873, allocations: 411.8 kB / 0.5832 GB, free: 8.461 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.1875, allocations: 241.9 kB / 0.5834 GB, free: 8.223 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.1878, allocations: 146.6 kB / 0.5836 GB, free: 8.074 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1879, allocations: 354.7 kB / 0.5839 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.1883, allocations: 201.9 kB / 0.5841 GB, free: 7.523 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/0.1889, allocations: 404.5 kB / 0.5845 GB, free: 7.047 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009437/0.1898, allocations: 0.6181 MB / 0.5851 GB, free: 6.348 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.1898, allocations: 4 kB / 0.5851 GB, free: 6.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001727/0.1916, allocations: 0.8737 MB / 0.5859 GB, free: 5.449 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1916, allocations: 8 kB / 0.5859 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.1916, allocations: 15.92 kB / 0.586 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000667/0.1923, allocations: 215.5 kB / 0.5862 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/0.1928, allocations: 139.8 kB / 0.5863 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2577/0.4505, allocations: 6.713 MB / 0.5929 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/0.451, allocations: 85.89 kB / 0.5929 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.4511, allocations: 29.73 kB / 0.593 GB, free: 31.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002823/0.4513, allocations: 224.3 kB / 0.5932 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.4515, allocations: 47.33 kB / 0.5932 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.4527, allocations: 0.6805 MB / 0.5939 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.4527, allocations: 7.688 kB / 0.5939 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.4527, allocations: 8.656 kB / 0.5939 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.4527, allocations: 4.406 kB / 0.5939 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.455, allocations: 1.563 MB / 0.5954 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.455, allocations: 1.281 kB / 0.5954 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.4552, allocations: 68.52 kB / 0.5955 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005141/0.4557, allocations: 219 kB / 0.5957 GB, free: 31.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.4558, allocations: 19.75 kB / 0.5957 GB, free: 31.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004125/0.4599, allocations: 6.7 MB / 0.6023 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4599, allocations: 5.922 kB / 0.6023 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.4614, allocations: 1.187 MB / 0.6034 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4615, allocations: 132.7 kB / 0.6036 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.4615, allocations: 11.47 kB / 0.6036 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.4619, allocations: 16.61 kB / 0.6036 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.462, allocations: 56.34 kB / 0.6036 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.462, allocations: 18.27 kB / 0.6037 GB, free: 24.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002326/0.4623, allocations: 211 kB / 0.6039 GB, free: 24.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4623, allocations: 3.719 kB / 0.6039 GB, free: 24.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009967/0.4633, allocations: 278.4 kB / 0.6041 GB, free: 24.35 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001696/0.4649, allocations: 1.766 MB / 0.6059 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.4665, allocations: 1.044 MB / 0.6069 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.4665, allocations: 4.062 kB / 0.6069 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008273/0.4673, allocations: 0.7588 MB / 0.6076 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/0.4679, allocations: 45.86 kB / 0.6077 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006564/0.4745, allocations: 5.138 MB / 0.6127 GB, free: 18.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.475, allocations: 0.916 MB / 0.6136 GB, free: 17.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002426/0.4753, allocations: 63.19 kB / 0.6136 GB, free: 17.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.4755, allocations: 235.7 kB / 0.6139 GB, free: 17.47 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4755, allocations: 0 / 0.6139 GB, free: 17.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05415/0.5296, allocations: 11.95 MB / 0.6255 GB, free: 14.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.3, allocations: 11.67 kB / 0.6255 GB, free: 14.19 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.313993787858635] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSource1.port_p.reference.gamma', 'quarterHollowSphere.port_p.reference.gamma'] 11.393105966039002 11.41209669 11.243935678 Calling exit ...