Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001285/0.001285, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001379/0.001379, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.479/1.479, allocations: 230.5 MB / 254.7 MB, free: 15.19 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.2379/0.2379, allocations: 46.92 MB / 357.7 MB, free: 10.25 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.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents",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.002437/0.002437, allocations: 83.86 kB / 0.4917 GB, free: 7.793 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1188, allocations: 66.04 MB / 0.5561 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.00513/0.1239, allocations: 3.526 MB / 0.5596 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1256, allocations: 0.8373 MB / 0.5604 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.1258, allocations: 8 kB / 0.5604 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.126, allocations: 75.22 kB / 0.5605 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.1265, allocations: 134.8 kB / 0.5606 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.127, allocations: 127.8 kB / 0.5607 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000784/0.1278, allocations: 0.5257 MB / 0.5613 GB, free: 376 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003385/0.1281, allocations: 181.9 kB / 0.5614 GB, free: 192 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003166/0.1284, allocations: 215.3 kB / 0.5616 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.1287, allocations: 234.9 kB / 0.5619 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.893e-05/0.1288, allocations: 48 kB / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.687e-05/0.1289, allocations: 56 kB / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.129, allocations: 107.6 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.1292, allocations: 250.8 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006732/0.1299, allocations: 0.5602 MB / 0.5628 GB, free: 14.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1299, allocations: 0 / 0.5628 GB, free: 14.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1299, allocations: 0 / 0.5628 GB, free: 14.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.739e-06/0.1299, allocations: 0 / 0.5628 GB, free: 14.73 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.001452/0.1314, allocations: 0.7715 MB / 0.5636 GB, free: 13.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1314, allocations: 8.031 kB / 0.5636 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.1315, allocations: 86.7 kB / 0.5637 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1316, allocations: 60.61 kB / 0.5637 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000541/0.1322, allocations: 325.5 kB / 0.5641 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/0.1322, allocations: 37.38 kB / 0.5641 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.1323, allocations: 48.38 kB / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009366/0.1332, allocations: 463 kB / 0.5646 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1333, allocations: 0 / 0.5646 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.1333, allocations: 20 kB / 0.5646 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.1333, allocations: 16 kB / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007875/0.1341, allocations: 319.8 kB / 0.5649 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/0.1369, allocations: 1.678 MB / 0.5666 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.1375, allocations: 228.9 kB / 0.5668 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.1379, allocations: 125.7 kB / 0.5669 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.1379, allocations: 4 kB / 0.5669 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1379, allocations: 34.56 kB / 0.5669 GB, free: 10.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/0.1379, allocations: 0 / 0.5669 GB, free: 10.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.003422/0.1414, allocations: 1.348 MB / 0.5682 GB, free: 8.816 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.1414, allocations: 89.02 kB / 0.5683 GB, free: 8.711 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.1417, allocations: 262.8 kB / 0.5686 GB, free: 8.445 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.1417, allocations: 29.7 kB / 0.5686 GB, free: 8.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.1419, allocations: 264.1 kB / 0.5689 GB, free: 8.145 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.142, allocations: 134.8 kB / 0.569 GB, free: 8.012 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.1422, allocations: 78.08 kB / 0.5691 GB, free: 7.926 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1423, allocations: 346.7 kB / 0.5694 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.1426, allocations: 108.8 kB / 0.5695 GB, free: 7.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.143, allocations: 216.3 kB / 0.5697 GB, free: 7.219 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006757/0.1437, allocations: 334.3 kB / 0.57 GB, free: 6.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1437, allocations: 4 kB / 0.57 GB, free: 6.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009642/0.1446, allocations: 417.2 kB / 0.5704 GB, free: 6.434 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1447, allocations: 12 kB / 0.5704 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1447, allocations: 4 kB / 0.5704 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.1448, allocations: 32.78 kB / 0.5705 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.1453, allocations: 119.8 kB / 0.5706 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.1466, allocations: 1.446 MB / 0.572 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.1469, allocations: 19.98 kB / 0.572 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.1469, allocations: 16.06 kB / 0.572 GB, free: 4.645 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.0002344/0.1472, allocations: 177.6 kB / 0.5722 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/0.1472, allocations: 31.81 kB / 0.5722 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.983e-05/0.1473, allocations: 34.17 kB / 0.5723 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1473, allocations: 4 kB / 0.5723 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1473, allocations: 4 kB / 0.5723 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1474, allocations: 3.984 kB / 0.5723 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.1486, allocations: 0.7038 MB / 0.573 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1486, allocations: 4 kB / 0.573 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.1491, allocations: 87.88 kB / 0.5731 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-05/0.1492, allocations: 32.84 kB / 0.5731 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.1492, allocations: 15.98 kB / 0.5731 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.1504, allocations: 1.418 MB / 0.5745 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.1504, allocations: 8.016 kB / 0.5745 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.1515, allocations: 0.6087 MB / 0.5751 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.1517, allocations: 128.9 kB / 0.5752 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.1517, allocations: 8 kB / 0.5752 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.152, allocations: 23.92 kB / 0.5752 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.636e-05/0.1521, allocations: 27.91 kB / 0.5753 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.1521, allocations: 19.94 kB / 0.5753 GB, free: 1.055 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002158/0.1524, allocations: 186 kB / 0.5755 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1524, allocations: 0 / 0.5755 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005138/0.1529, allocations: 92 kB / 0.5755 GB, free: 0.7812 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.001482/0.1544, allocations: 1.143 MB / 0.5767 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009673/0.1553, allocations: 388.9 kB / 0.577 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1553, allocations: 0 / 0.577 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.1558, allocations: 251.3 kB / 0.5773 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/0.1563, allocations: 45.23 kB / 0.5773 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005492/0.1618, allocations: 3.477 MB / 0.5807 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.1623, allocations: 0.8151 MB / 0.5815 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.1625, allocations: 42.94 kB / 0.5816 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.1627, allocations: 135.4 kB / 0.5817 GB, free: 10.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.452e-06/0.1627, allocations: 0 / 0.5817 GB, free: 10.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03677/0.1994, allocations: 6.598 MB / 0.5881 GB, free: 3.773 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.8, allocations: 3.984 kB / 0.5881 GB, free: 3.77 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00300043 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.09826177265495] Failed to read output from testmodel.py, exit status != 0: ['time', 'converter.Phi', 'converter.i', 'converter1.i', 'eddyCurrent.Phi', 'leakageWithCoefficient.port_p.Phi'] 10.886518418323249 11.118566691 10.985854615 Calling exit ...