Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 121 kB / 18.49 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 213.5 kB / 21.45 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.61/1.61, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2354/0.2354, allocations: 46.92 MB / 357.8 MB, free: 10.41 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.89 kB / 0.4916 GB, free: 8.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1291, allocations: 66 MB / 0.5561 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.006061/0.1352, allocations: 3.532 MB / 0.5595 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1372, allocations: 0.8374 MB / 0.5603 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004112/0.1376, allocations: 11.94 kB / 0.5603 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.1379, allocations: 79.22 kB / 0.5604 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004302/0.1383, allocations: 122.8 kB / 0.5605 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.1388, allocations: 131.8 kB / 0.5606 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007978/0.1396, allocations: 0.5218 MB / 0.5612 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/0.14, allocations: 181.9 kB / 0.5613 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.1403, allocations: 215.3 kB / 0.5615 GB, free: 312 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.1406, allocations: 234.9 kB / 0.5618 GB, free: 76 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.51e-05/0.1407, allocations: 48 kB / 0.5618 GB, free: 28 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.725e-05/0.1408, allocations: 48.05 kB / 0.5619 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.1409, allocations: 123.5 kB / 0.562 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.1412, allocations: 246.8 kB / 0.5622 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006554/0.1418, allocations: 0.5562 MB / 0.5627 GB, free: 15.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1418, allocations: 4 kB / 0.5628 GB, free: 15.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1418, allocations: 4 kB / 0.5628 GB, free: 15.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.1418, allocations: 0 / 0.5628 GB, free: 15.05 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.001454/0.1433, allocations: 0.7636 MB / 0.5635 GB, free: 14.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1433, allocations: 15.97 kB / 0.5635 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.732e-05/0.1434, allocations: 13.19 kB / 0.5635 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.1435, allocations: 90.7 kB / 0.5636 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.1436, allocations: 52.61 kB / 0.5637 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.1441, allocations: 321.5 kB / 0.564 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/0.1441, allocations: 37.38 kB / 0.564 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.485e-05/0.1442, allocations: 44.38 kB / 0.5641 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008775/0.1451, allocations: 466.9 kB / 0.5645 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.1451, allocations: 3.984 kB / 0.5645 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.1451, allocations: 24 kB / 0.5645 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.1451, allocations: 12 kB / 0.5645 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007807/0.1459, allocations: 323.8 kB / 0.5648 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/0.1485, allocations: 1.671 MB / 0.5665 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.1491, allocations: 225 kB / 0.5667 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.1495, allocations: 133.6 kB / 0.5668 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.1495, allocations: 0 / 0.5668 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.1495, allocations: 38.56 kB / 0.5669 GB, free: 10.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.223e-06/0.1495, allocations: 0 / 0.5669 GB, free: 10.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.003271/0.1528, allocations: 1.351 MB / 0.5682 GB, free: 9.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.1529, allocations: 85.23 kB / 0.5683 GB, free: 9.023 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.1532, allocations: 262.6 kB / 0.5685 GB, free: 8.754 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.1532, allocations: 37.64 kB / 0.5685 GB, free: 8.711 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.1534, allocations: 260.1 kB / 0.5688 GB, free: 8.449 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.1535, allocations: 126.9 kB / 0.5689 GB, free: 8.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.1537, allocations: 82.08 kB / 0.569 GB, free: 8.234 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1538, allocations: 338.8 kB / 0.5693 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/0.1541, allocations: 108.8 kB / 0.5694 GB, free: 7.789 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.1545, allocations: 223.8 kB / 0.5696 GB, free: 7.531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006963/0.1552, allocations: 336.9 kB / 0.57 GB, free: 7.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1552, allocations: 4 kB / 0.57 GB, free: 7.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009514/0.1562, allocations: 422.5 kB / 0.5704 GB, free: 6.738 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1562, allocations: 4 kB / 0.5704 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1562, allocations: 4 kB / 0.5704 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/0.1564, allocations: 36.77 kB / 0.5704 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.1569, allocations: 115.9 kB / 0.5705 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.1582, allocations: 1.443 MB / 0.5719 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.1584, allocations: 24.05 kB / 0.5719 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.1585, allocations: 20 kB / 0.572 GB, free: 4.953 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.0002105/0.1587, allocations: 165.7 kB / 0.5721 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.163e-05/0.1588, allocations: 27.81 kB / 0.5721 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.077e-05/0.1589, allocations: 38.17 kB / 0.5722 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1589, allocations: 4 kB / 0.5722 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1589, allocations: 0 / 0.5722 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1589, allocations: 0 / 0.5722 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.1601, allocations: 0.7176 MB / 0.5729 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1601, allocations: 0 / 0.5729 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.1606, allocations: 99.88 kB / 0.573 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.727e-05/0.1607, allocations: 32.84 kB / 0.573 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.1607, allocations: 11.98 kB / 0.573 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.1619, allocations: 1.422 MB / 0.5744 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1619, allocations: 0 / 0.5744 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.163, allocations: 0.6088 MB / 0.575 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.1631, allocations: 124.9 kB / 0.5751 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.1632, allocations: 7.984 kB / 0.5751 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.1634, allocations: 23.92 kB / 0.5752 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.1635, allocations: 31.91 kB / 0.5752 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.1635, allocations: 12 kB / 0.5752 GB, free: 1.375 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.1637, allocations: 182 kB / 0.5754 GB, free: 1.199 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1637, allocations: 0 / 0.5754 GB, free: 1.199 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004823/0.1642, allocations: 91.98 kB / 0.5755 GB, free: 1.109 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.001443/0.1657, allocations: 1.151 MB / 0.5766 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008927/0.1666, allocations: 382.4 kB / 0.5769 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1666, allocations: 0 / 0.5769 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004512/0.167, allocations: 251.3 kB / 0.5772 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.1675, allocations: 45.05 kB / 0.5772 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005299/0.1728, allocations: 3.49 MB / 0.5806 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.1733, allocations: 0.8112 MB / 0.5814 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00016/0.1735, allocations: 38.95 kB / 0.5815 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.1737, allocations: 139.4 kB / 0.5816 GB, free: 10.54 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1737, allocations: 0 / 0.5816 GB, free: 10.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04367/0.2174, allocations: 6.628 MB / 0.5881 GB, free: 4.082 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.97, allocations: 6.406 kB / 0.5881 GB, free: 4.078 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.306245709012728] Failed to read output from testmodel.py, exit status != 0: ['time', 'converter.Phi', 'converter.i', 'converter1.i', 'eddyCurrent.Phi', 'leakageWithCoefficient.port_p.Phi'] 11.108717744995374 11.365488154 11.220598279 Calling exit ...