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.001841/0.001841, allocations: 121.3 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.002161/0.002161, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.522/1.522, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2369/0.2369, allocations: 46.9 MB / 357.4 MB, free: 10.54 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.002335/0.002335, allocations: 83.86 kB / 0.4912 GB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1227, allocations: 65.99 MB / 0.5556 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003964/0.1267, allocations: 2.497 MB / 0.5581 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1282, allocations: 0.8334 MB / 0.5589 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.1283, allocations: 7.938 kB / 0.5589 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.1285, allocations: 51.52 kB / 0.559 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.1288, allocations: 111.2 kB / 0.5591 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.1291, allocations: 107.8 kB / 0.5592 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.1295, allocations: 362.7 kB / 0.5595 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.1296, allocations: 64.7 kB / 0.5596 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.1299, allocations: 143.5 kB / 0.5597 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.1301, allocations: 159.2 kB / 0.5599 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.1302, allocations: 32 kB / 0.5599 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.909e-05/0.1303, allocations: 39.97 kB / 0.5599 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.35e-05/0.1303, allocations: 63.77 kB / 0.56 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.1305, allocations: 159.2 kB / 0.5601 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004555/0.1309, allocations: 374.4 kB / 0.5605 GB, free: 1.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1309, allocations: 3.938 kB / 0.5605 GB, free: 1.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1309, allocations: 0 / 0.5605 GB, free: 1.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.131, allocations: 4 kB / 0.5605 GB, free: 1.457 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.001204/0.1322, allocations: 0.6311 MB / 0.5611 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1322, allocations: 8.031 kB / 0.5611 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.635e-05/0.1323, allocations: 70.72 kB / 0.5612 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.1324, allocations: 40.7 kB / 0.5612 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.1328, allocations: 274.8 kB / 0.5615 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.1329, allocations: 16.94 kB / 0.5615 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.1329, allocations: 28.31 kB / 0.5615 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.1334, allocations: 249 kB / 0.5618 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1334, allocations: 0 / 0.5618 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.1335, allocations: 8 kB / 0.5618 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.1335, allocations: 12 kB / 0.5618 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.134, allocations: 234.2 kB / 0.562 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.1356, allocations: 0.8677 MB / 0.5629 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005696/0.1361, allocations: 286.6 kB / 0.5631 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.1364, allocations: 124.8 kB / 0.5633 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.1365, allocations: 4 kB / 0.5633 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.1365, allocations: 42.55 kB / 0.5633 GB, free: 14.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.873e-06/0.1365, allocations: 0 / 0.5633 GB, free: 14.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.005053/0.1415, allocations: 1.258 MB / 0.5645 GB, free: 13.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.1416, allocations: 59.41 kB / 0.5646 GB, free: 12.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.1419, allocations: 233.5 kB / 0.5648 GB, free: 12.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.1419, allocations: 29.7 kB / 0.5648 GB, free: 12.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.1421, allocations: 172.7 kB / 0.565 GB, free: 12.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.989e-05/0.1422, allocations: 107.1 kB / 0.5651 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/0.1423, allocations: 45.7 kB / 0.5652 GB, free: 12.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.1425, allocations: 338.8 kB / 0.5655 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.1427, allocations: 91.95 kB / 0.5656 GB, free: 11.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.143, allocations: 125.8 kB / 0.5657 GB, free: 11.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.1434, allocations: 239.2 kB / 0.5659 GB, free: 11.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1434, allocations: 0 / 0.5659 GB, free: 11.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001894/0.1453, allocations: 0.545 MB / 0.5664 GB, free: 11.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.1454, allocations: 8 kB / 0.5665 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1454, allocations: 0 / 0.5665 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.1472, allocations: 315.1 kB / 0.5668 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.1474, allocations: 31.92 kB / 0.5668 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008834/0.1562, allocations: 6.85 MB / 0.5735 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.1565, allocations: 27.81 kB / 0.5735 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.1565, allocations: 8 kB / 0.5735 GB, free: 3.203 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.0002131/0.1567, allocations: 149.8 kB / 0.5737 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.69e-05/0.1568, allocations: 27.81 kB / 0.5737 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/0.1587, allocations: 0.5439 MB / 0.5742 GB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1587, allocations: 4 kB / 0.5742 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1587, allocations: 3.938 kB / 0.5742 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1587, allocations: 7.984 kB / 0.5742 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.1593, allocations: 357.3 kB / 0.5746 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1593, allocations: 4 kB / 0.5746 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.1594, allocations: 19.92 kB / 0.5746 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/0.161, allocations: 311.3 kB / 0.5749 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.161, allocations: 8 kB / 0.5749 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008813/0.1698, allocations: 6.898 MB / 0.5816 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1698, allocations: 0 / 0.5816 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.1718, allocations: 0.6158 MB / 0.5822 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.1719, allocations: 112.8 kB / 0.5823 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.1719, allocations: 4 kB / 0.5823 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.1721, allocations: 12 kB / 0.5824 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.1723, allocations: 31.89 kB / 0.5824 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.1723, allocations: 15.92 kB / 0.5824 GB, free: 9.402 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.1725, allocations: 177.9 kB / 0.5826 GB, free: 9.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1725, allocations: 0 / 0.5826 GB, free: 9.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005358/0.173, allocations: 120 kB / 0.5827 GB, free: 9.113 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.002223/0.1752, allocations: 1.171 MB / 0.5838 GB, free: 7.906 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.1764, allocations: 0.753 MB / 0.5846 GB, free: 7.102 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1765, allocations: 0 / 0.5846 GB, free: 7.102 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.1778, allocations: 0.7133 MB / 0.5853 GB, free: 6.336 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1782, allocations: 24.56 kB / 0.5853 GB, free: 6.309 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006698/0.1849, allocations: 3.174 MB / 0.5884 GB, free: 3.016 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.1853, allocations: 0.7717 MB / 0.5891 GB, free: 2.215 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.08e-05/0.1854, allocations: 13.95 kB / 0.5891 GB, free: 2.199 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.1855, allocations: 83.41 kB / 0.5892 GB, free: 2.117 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1855, allocations: 0 / 0.5892 GB, free: 2.117 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2946/0.4801, allocations: 11.06 MB / 0.6 GB, free: 34.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.18, allocations: 1.812 kB / 0.6 GB, free: 34.78 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 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.180256298277527] 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.278253860771656 13.2995546 13.164663084 Calling exit ...