Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001742/0.001742, allocations: 117 kB / 18.49 MB, free: 4.566 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.002137/0.002137, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.501/1.501, allocations: 230.5 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2248/0.2248, allocations: 46.92 MB / 357.7 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 71.89 kB / 0.4916 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1201, allocations: 66.05 MB / 0.5561 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005357/0.1255, allocations: 3.533 MB / 0.5596 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1272, allocations: 0.8373 MB / 0.5604 GB, free: 1.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003583/0.1276, allocations: 8 kB / 0.5604 GB, free: 1.137 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.1279, allocations: 71.23 kB / 0.5605 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.1283, allocations: 138.8 kB / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.1287, allocations: 127.8 kB / 0.5607 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005882/0.1293, allocations: 0.5218 MB / 0.5613 GB, free: 288 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.1296, allocations: 181.9 kB / 0.5614 GB, free: 104 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.1298, allocations: 215.4 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.1301, allocations: 238.9 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.479e-05/0.1302, allocations: 48 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.992e-05/0.1302, allocations: 48 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.542e-05/0.1303, allocations: 115.5 kB / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.1306, allocations: 250.8 kB / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006049/0.1312, allocations: 0.5563 MB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1312, allocations: 0 / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1312, allocations: 0 / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1312, allocations: 0 / 0.5628 GB, free: 14.64 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001325/0.1325, allocations: 0.7753 MB / 0.5636 GB, free: 13.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1325, allocations: 8.031 kB / 0.5636 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.972e-05/0.1326, allocations: 17.19 kB / 0.5636 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.646e-05/0.1327, allocations: 82.72 kB / 0.5637 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.294e-05/0.1328, allocations: 60.59 kB / 0.5638 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.1332, allocations: 321.5 kB / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.1333, allocations: 37.38 kB / 0.5641 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.1334, allocations: 44.38 kB / 0.5641 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008382/0.1342, allocations: 470.9 kB / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1342, allocations: 0 / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.1342, allocations: 20 kB / 0.5646 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.1343, allocations: 12 kB / 0.5646 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007604/0.135, allocations: 327.8 kB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002582/0.1376, allocations: 1.667 MB / 0.5666 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.1382, allocations: 232.9 kB / 0.5668 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.1385, allocations: 121.7 kB / 0.5669 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.1386, allocations: 7.969 kB / 0.5669 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1386, allocations: 38.56 kB / 0.5669 GB, free: 10.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.1386, allocations: 3.938 kB / 0.567 GB, free: 10.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.003201/0.1418, allocations: 1.344 MB / 0.5683 GB, free: 8.715 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.1418, allocations: 89.17 kB / 0.5683 GB, free: 8.609 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.1421, allocations: 258.6 kB / 0.5686 GB, free: 8.348 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.1422, allocations: 37.64 kB / 0.5686 GB, free: 8.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.1424, allocations: 260.1 kB / 0.5689 GB, free: 8.043 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.1425, allocations: 134.9 kB / 0.569 GB, free: 7.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.1426, allocations: 78.09 kB / 0.5691 GB, free: 7.824 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1427, allocations: 342.7 kB / 0.5694 GB, free: 7.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.143, allocations: 104.8 kB / 0.5695 GB, free: 7.379 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.1434, allocations: 220.3 kB / 0.5697 GB, free: 7.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006511/0.144, allocations: 338.5 kB / 0.57 GB, free: 6.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.144, allocations: 0 / 0.57 GB, free: 6.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008943/0.1449, allocations: 421.4 kB / 0.5704 GB, free: 6.332 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.145, allocations: 8 kB / 0.5705 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.145, allocations: 4 kB / 0.5705 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00014/0.1451, allocations: 32.78 kB / 0.5705 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.1456, allocations: 128 kB / 0.5706 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.1468, allocations: 1.43 MB / 0.572 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.147, allocations: 19.98 kB / 0.572 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.1471, allocations: 12 kB / 0.572 GB, free: 4.559 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.1473, allocations: 173.6 kB / 0.5722 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.871e-05/0.1474, allocations: 35.75 kB / 0.5722 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.072e-05/0.1474, allocations: 34.17 kB / 0.5723 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1474, allocations: 8.203 kB / 0.5723 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1475, allocations: 0 / 0.5723 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.1475, allocations: 11.97 kB / 0.5723 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.1486, allocations: 0.7061 MB / 0.573 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1486, allocations: 0 / 0.573 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/0.1491, allocations: 95.94 kB / 0.5731 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.682e-05/0.1491, allocations: 28.78 kB / 0.5731 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.1492, allocations: 12 kB / 0.5731 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.1503, allocations: 1.426 MB / 0.5745 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1503, allocations: 0 / 0.5745 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.1513, allocations: 0.6094 MB / 0.5751 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.1514, allocations: 124.9 kB / 0.5752 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.1515, allocations: 8 kB / 0.5752 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.1517, allocations: 23.92 kB / 0.5752 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.1518, allocations: 31.84 kB / 0.5753 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.1518, allocations: 12 kB / 0.5753 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.152, allocations: 182 kB / 0.5755 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.152, allocations: 0 / 0.5755 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004767/0.1525, allocations: 92 kB / 0.5755 GB, free: 0.6992 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001387/0.1539, allocations: 1.153 MB / 0.5767 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008589/0.1547, allocations: 389.4 kB / 0.577 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1547, allocations: 4.125 kB / 0.577 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.1552, allocations: 246.4 kB / 0.5773 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.1556, allocations: 44.47 kB / 0.5773 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005149/0.1608, allocations: 3.49 MB / 0.5807 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.1613, allocations: 0.8112 MB / 0.5815 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001568/0.1614, allocations: 38.95 kB / 0.5816 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.1616, allocations: 135.4 kB / 0.5817 GB, free: 10.13 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1616, allocations: 0 / 0.5817 GB, free: 10.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.1918, allocations: 6.624 MB / 0.5882 GB, free: 3.652 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.89, allocations: 11.86 kB / 0.5882 GB, free: 3.641 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.058831869973801] Failed to read output from testmodel.py, exit status != 0: ['time', 'converter.Phi', 'converter.i', 'converter1.i', 'eddyCurrent.Phi', 'leakageWithCoefficient.port_p.Phi'] 11.036593790980987 11.255512414 11.121722704 Calling exit ...