Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.001257/0.001257, allocations: 121.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.001337/0.001337, allocations: 205 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.544/1.544, 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.2297/0.2297, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",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.002375/0.002375, allocations: 79.86 kB / 0.4917 GB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1464, allocations: 66.04 MB / 0.5561 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003944/0.1504, allocations: 2.505 MB / 0.5586 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.1519, allocations: 0.8372 MB / 0.5594 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.152, allocations: 4 kB / 0.5594 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.1522, allocations: 55.52 kB / 0.5595 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.1524, allocations: 103.2 kB / 0.5596 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.1527, allocations: 111.8 kB / 0.5597 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003886/0.1531, allocations: 362.7 kB / 0.56 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.1533, allocations: 68.7 kB / 0.5601 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.1535, allocations: 139.5 kB / 0.5602 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.1537, allocations: 163.2 kB / 0.5604 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.743e-05/0.1538, allocations: 28 kB / 0.5604 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.781e-05/0.1539, allocations: 32 kB / 0.5604 GB, free: 1.168 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.1539, allocations: 75.67 kB / 0.5605 GB, free: 1.094 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1541, allocations: 159.2 kB / 0.5607 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.1545, allocations: 374.4 kB / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1545, allocations: 0 / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1545, allocations: 0 / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1545, allocations: 0 / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001188/0.1557, allocations: 0.6389 MB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1558, allocations: 8.031 kB / 0.5616 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.509e-05/0.1558, allocations: 58.73 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.156, allocations: 44.69 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.1564, allocations: 278.8 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1564, allocations: 16.88 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.1565, allocations: 24.38 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.157, allocations: 253 kB / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.157, allocations: 0 / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.157, allocations: 7.984 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.157, allocations: 8 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005421/0.1576, allocations: 238.1 kB / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.1591, allocations: 0.8717 MB / 0.5634 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.1597, allocations: 286.6 kB / 0.5637 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.16, allocations: 124.8 kB / 0.5638 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.16, allocations: 7.984 kB / 0.5638 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.16, allocations: 34.56 kB / 0.5638 GB, free: 13.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.16, allocations: 4 kB / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.004922/0.165, allocations: 1.258 MB / 0.565 GB, free: 12.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.165, allocations: 55.41 kB / 0.5651 GB, free: 12.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.1653, allocations: 233 kB / 0.5653 GB, free: 11.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.1653, allocations: 33.7 kB / 0.5654 GB, free: 11.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.1655, allocations: 169.3 kB / 0.5655 GB, free: 11.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.1656, allocations: 107.1 kB / 0.5656 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1657, allocations: 49.7 kB / 0.5657 GB, free: 11.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1658, allocations: 342.7 kB / 0.566 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.1661, allocations: 91.95 kB / 0.5661 GB, free: 11.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.1664, allocations: 125.8 kB / 0.5662 GB, free: 10.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.1669, allocations: 231.8 kB / 0.5664 GB, free: 10.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1669, allocations: 3.938 kB / 0.5664 GB, free: 10.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001904/0.1688, allocations: 0.5412 MB / 0.567 GB, free: 10.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.1688, allocations: 9.562 kB / 0.567 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1688, allocations: 0 / 0.567 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/0.1705, allocations: 319.1 kB / 0.5673 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.1707, allocations: 27.97 kB / 0.5673 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008563/0.1793, allocations: 6.847 MB / 0.574 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.1795, allocations: 23.83 kB / 0.574 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.1796, allocations: 4 kB / 0.574 GB, free: 2.324 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000186/0.1797, allocations: 149.7 kB / 0.5741 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.1798, allocations: 31.88 kB / 0.5742 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.1817, allocations: 0.5395 MB / 0.5747 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1817, allocations: 4 kB / 0.5747 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1817, allocations: 11.92 kB / 0.5747 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1817, allocations: 0 / 0.5747 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.1823, allocations: 361.3 kB / 0.5751 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1823, allocations: 0 / 0.5751 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.1824, allocations: 19.98 kB / 0.5751 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001605/0.184, allocations: 315.3 kB / 0.5754 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.184, allocations: 8 kB / 0.5754 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008887/0.1929, allocations: 6.905 MB / 0.5821 GB, free: 9.348 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1929, allocations: 4.062 kB / 0.5821 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.1949, allocations: 0.6195 MB / 0.5827 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.195, allocations: 104.8 kB / 0.5828 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.195, allocations: 7.938 kB / 0.5829 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.1952, allocations: 11.98 kB / 0.5829 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.1954, allocations: 35.95 kB / 0.5829 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1954, allocations: 7.938 kB / 0.5829 GB, free: 8.512 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.1956, allocations: 174 kB / 0.5831 GB, free: 8.344 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1956, allocations: 0 / 0.5831 GB, free: 8.344 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005819/0.1962, allocations: 123.9 kB / 0.5832 GB, free: 8.223 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002273/0.1985, allocations: 1.168 MB / 0.5843 GB, free: 7.016 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.1998, allocations: 0.7411 MB / 0.5851 GB, free: 6.223 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1998, allocations: 0 / 0.5851 GB, free: 6.223 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.2012, allocations: 0.725 MB / 0.5858 GB, free: 5.445 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.2016, allocations: 30.91 kB / 0.5858 GB, free: 5.414 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006777/0.2084, allocations: 3.16 MB / 0.5889 GB, free: 2.137 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.2089, allocations: 0.7756 MB / 0.5896 GB, free: 1.332 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.738e-05/0.209, allocations: 5.969 kB / 0.5896 GB, free: 1.324 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.2091, allocations: 87.41 kB / 0.5897 GB, free: 1.238 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2091, allocations: 3.938 kB / 0.5897 GB, free: 1.234 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3166/0.5257, allocations: 11.06 MB / 0.6005 GB, free: 34.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.2, allocations: 6.031 kB / 0.6005 GB, free: 34.66 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.31681790901348] Failed to read output from testmodel.py, exit status != 0: ['time', 'signalSource.V_m', 'signalSource.Phi', 'cuboid.G_m', 'cuboid.A', 'hollowCylinderAxialFlux.G_m', 'hollowCylinderAxialFlux.A', 'hollowCylinderRadialFlux.G_m', 'hollowCylinderRadialFlux.A', 'genericFluxTube.G_m', 'genericFluxTube.A'] 13.300332715269178 13.323796484 13.165125428 Calling exit ...