Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001796/0.001796, allocations: 121 kB / 18.5 MB, free: 4.562 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.00227/0.00227, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.597/1.597, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2217/0.2217, allocations: 44.9 MB / 355.8 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 63.89 kB / 0.4885 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1239, allocations: 65.42 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.00571/0.1296, allocations: 3.546 MB / 0.5559 GB, free: 6.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.1315, allocations: 0.8373 MB / 0.5567 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.1319, allocations: 8 kB / 0.5567 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.1322, allocations: 75.23 kB / 0.5568 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.1327, allocations: 130.8 kB / 0.5569 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.1332, allocations: 131.7 kB / 0.557 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007696/0.1339, allocations: 0.5257 MB / 0.5575 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003803/0.1343, allocations: 181.8 kB / 0.5577 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/0.1347, allocations: 215.3 kB / 0.5579 GB, free: 4.473 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003929/0.1351, allocations: 239 kB / 0.5582 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.1352, allocations: 48 kB / 0.5582 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1353, allocations: 48 kB / 0.5582 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1354, allocations: 107.6 kB / 0.5583 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000302/0.1357, allocations: 250.8 kB / 0.5586 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007352/0.1364, allocations: 0.5563 MB / 0.5591 GB, free: 3.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1364, allocations: 4 kB / 0.5591 GB, free: 3.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1364, allocations: 0 / 0.5591 GB, free: 3.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.1364, allocations: 0 / 0.5591 GB, free: 3.23 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001604/0.138, allocations: 0.7733 MB / 0.5599 GB, free: 2.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1381, allocations: 16.02 kB / 0.5599 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.347e-05/0.1381, allocations: 13.19 kB / 0.5599 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.1382, allocations: 82.72 kB / 0.56 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.1384, allocations: 56.61 kB / 0.5601 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.1389, allocations: 321.6 kB / 0.5604 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.139, allocations: 41.31 kB / 0.5604 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.139, allocations: 44.38 kB / 0.5604 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009464/0.14, allocations: 466.9 kB / 0.5609 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.14, allocations: 4 kB / 0.5609 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.1401, allocations: 16 kB / 0.5609 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.1401, allocations: 12 kB / 0.5609 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00084/0.1409, allocations: 327.8 kB / 0.5612 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003068/0.144, allocations: 1.674 MB / 0.5629 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.1446, allocations: 225 kB / 0.5631 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.145, allocations: 125.7 kB / 0.5632 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.145, allocations: 4.219 kB / 0.5632 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.1451, allocations: 46.48 kB / 0.5632 GB, free: 14.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 2.425e-06/0.1451, allocations: 0 / 0.5632 GB, free: 14.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.003489/0.1486, allocations: 1.329 MB / 0.5645 GB, free: 13.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/0.1486, allocations: 89.02 kB / 0.5646 GB, free: 13.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.149, allocations: 266.5 kB / 0.5649 GB, free: 12.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.149, allocations: 29.7 kB / 0.5649 GB, free: 12.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.1492, allocations: 272.1 kB / 0.5652 GB, free: 12.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.1493, allocations: 126.9 kB / 0.5653 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.1495, allocations: 78.09 kB / 0.5654 GB, free: 12.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.1497, allocations: 338.8 kB / 0.5657 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.15, allocations: 108.8 kB / 0.5658 GB, free: 11.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.1504, allocations: 224.2 kB / 0.566 GB, free: 11.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006902/0.1511, allocations: 334.6 kB / 0.5663 GB, free: 11.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.1511, allocations: 4 kB / 0.5663 GB, free: 11.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000966/0.152, allocations: 419.7 kB / 0.5667 GB, free: 10.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.1521, allocations: 4.375 kB / 0.5667 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.1521, allocations: 12 kB / 0.5667 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/0.1522, allocations: 36.78 kB / 0.5668 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.1527, allocations: 123.8 kB / 0.5669 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.1542, allocations: 1.43 MB / 0.5683 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.1545, allocations: 19.98 kB / 0.5683 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.1545, allocations: 20 kB / 0.5683 GB, free: 9.133 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.0002358/0.1548, allocations: 165.8 kB / 0.5685 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.151e-05/0.1549, allocations: 31.75 kB / 0.5685 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.822e-05/0.155, allocations: 46.11 kB / 0.5686 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.155, allocations: 4 kB / 0.5686 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.155, allocations: 0 / 0.5686 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.155, allocations: 3.984 kB / 0.5686 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.1563, allocations: 0.7115 MB / 0.5693 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1563, allocations: 0 / 0.5693 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.1568, allocations: 95.88 kB / 0.5694 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.1569, allocations: 28.78 kB / 0.5694 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.1569, allocations: 12.06 kB / 0.5694 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.1582, allocations: 1.426 MB / 0.5708 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1582, allocations: 0 / 0.5708 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.1594, allocations: 0.6148 MB / 0.5714 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.1595, allocations: 120.9 kB / 0.5715 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.1596, allocations: 4 kB / 0.5715 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.1599, allocations: 27.92 kB / 0.5715 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.48e-05/0.1599, allocations: 19.97 kB / 0.5716 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.16, allocations: 12 kB / 0.5716 GB, free: 5.559 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002256/0.1602, allocations: 193.9 kB / 0.5718 GB, free: 5.371 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1602, allocations: 0 / 0.5718 GB, free: 5.371 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005288/0.1607, allocations: 92 kB / 0.5718 GB, free: 5.281 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.001582/0.1623, allocations: 1.142 MB / 0.573 GB, free: 4.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000998/0.1633, allocations: 402.1 kB / 0.5733 GB, free: 3.703 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1633, allocations: 4 kB / 0.5733 GB, free: 3.699 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.1638, allocations: 239.2 kB / 0.5736 GB, free: 3.453 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/0.1643, allocations: 48.53 kB / 0.5736 GB, free: 3.406 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005641/0.1699, allocations: 3.483 MB / 0.577 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.1705, allocations: 0.819 MB / 0.5778 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000193/0.1707, allocations: 34.97 kB / 0.5779 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.1709, allocations: 135.4 kB / 0.578 GB, free: 14.72 MB / 446.1 MB Notification: Performance of SimCode: time 1.273e-06/0.1709, allocations: 0 / 0.578 GB, free: 14.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.2034, allocations: 6.631 MB / 0.5845 GB, free: 8.262 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.15, allocations: 10.34 kB / 0.5845 GB, free: 8.254 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.571294580004178] Failed to read output from testmodel.py, exit status != 0: ['time', 'converter.Phi', 'converter.i', 'converter1.i', 'eddyCurrent.Phi', 'leakageWithCoefficient.port_p.Phi'] 11.293568535009399 11.560768932 11.421151695 Calling exit ...