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.001317/0.001317, allocations: 118.1 kB / 18.5 MB, free: 4.543 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.001349/0.001349, allocations: 214.4 kB / 21.46 MB, free: 1.586 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.483/1.483, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.2279/0.2279, allocations: 46.88 MB / 357.4 MB, free: 10.52 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.00236/0.00236, allocations: 79.95 kB / 0.4912 GB, free: 26.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1208, allocations: 65.98 MB / 0.5556 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005204/0.126, allocations: 3.528 MB / 0.5591 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.1276, allocations: 0.8334 MB / 0.5599 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.1277, allocations: 8 kB / 0.5599 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.1279, allocations: 75.23 kB / 0.56 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.1282, allocations: 138.8 kB / 0.5601 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.1286, allocations: 131.8 kB / 0.5602 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005719/0.1292, allocations: 0.5179 MB / 0.5607 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.1295, allocations: 185.8 kB / 0.5609 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.1297, allocations: 211.3 kB / 0.5611 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.13, allocations: 239 kB / 0.5614 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.158e-05/0.13, allocations: 48 kB / 0.5614 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.42e-05/0.1301, allocations: 48 kB / 0.5614 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1302, allocations: 111.5 kB / 0.5616 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.1304, allocations: 250.8 kB / 0.5618 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005999/0.131, allocations: 0.5524 MB / 0.5623 GB, free: 2.254 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1311, allocations: 3.984 kB / 0.5623 GB, free: 2.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1311, allocations: 0 / 0.5623 GB, free: 2.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1311, allocations: 4 kB / 0.5623 GB, free: 2.246 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.00138/0.1324, allocations: 0.7714 MB / 0.5631 GB, free: 1.426 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1325, allocations: 12.03 kB / 0.5631 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.911e-05/0.1326, allocations: 90.72 kB / 0.5632 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.1327, allocations: 56.59 kB / 0.5632 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/0.1332, allocations: 317.6 kB / 0.5635 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.1332, allocations: 37.38 kB / 0.5636 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.355e-05/0.1333, allocations: 40.38 kB / 0.5636 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008268/0.1341, allocations: 475 kB / 0.5641 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.1342, allocations: 0 / 0.5641 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.1342, allocations: 23.94 kB / 0.5641 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.1342, allocations: 12 kB / 0.5641 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000737/0.1349, allocations: 319.9 kB / 0.5644 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.1375, allocations: 1.678 MB / 0.5661 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.1381, allocations: 221 kB / 0.5663 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.1384, allocations: 137.6 kB / 0.5664 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1384, allocations: 224 / 0.5664 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.1385, allocations: 42.5 kB / 0.5664 GB, free: 13.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.222e-06/0.1385, allocations: 0 / 0.5664 GB, free: 13.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.003083/0.1416, allocations: 1.341 MB / 0.5677 GB, free: 12.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.1416, allocations: 85.02 kB / 0.5678 GB, free: 12.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.1419, allocations: 262.5 kB / 0.5681 GB, free: 11.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.142, allocations: 37.7 kB / 0.5681 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.1422, allocations: 260.1 kB / 0.5684 GB, free: 11.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.1423, allocations: 130.9 kB / 0.5685 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.1424, allocations: 78.03 kB / 0.5686 GB, free: 11.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1426, allocations: 350.7 kB / 0.5689 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.1428, allocations: 104.8 kB / 0.569 GB, free: 10.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.1432, allocations: 220.2 kB / 0.5692 GB, free: 10.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006461/0.1439, allocations: 334.2 kB / 0.5695 GB, free: 10.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1439, allocations: 4 kB / 0.5695 GB, free: 10.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008902/0.1448, allocations: 421.4 kB / 0.5699 GB, free: 9.941 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1448, allocations: 8 kB / 0.5699 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1448, allocations: 0 / 0.5699 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/0.145, allocations: 32.78 kB / 0.57 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.1455, allocations: 124 kB / 0.5701 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.1467, allocations: 1.435 MB / 0.5715 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.147, allocations: 24.08 kB / 0.5715 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.147, allocations: 16 kB / 0.5715 GB, free: 8.164 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.0002084/0.1472, allocations: 165.7 kB / 0.5717 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.1473, allocations: 31.8 kB / 0.5717 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.198e-05/0.1474, allocations: 38.19 kB / 0.5718 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1474, allocations: 4.141 kB / 0.5718 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1474, allocations: 3.984 kB / 0.5718 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1474, allocations: 7.984 kB / 0.5718 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.1485, allocations: 0.7127 MB / 0.5725 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1485, allocations: 0 / 0.5725 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.1489, allocations: 99.94 kB / 0.5726 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.333e-05/0.149, allocations: 28.78 kB / 0.5726 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.1491, allocations: 8 kB / 0.5726 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.1502, allocations: 1.422 MB / 0.574 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1502, allocations: 0 / 0.574 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.1513, allocations: 0.6088 MB / 0.5746 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.1515, allocations: 124.9 kB / 0.5747 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.1515, allocations: 8 kB / 0.5747 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.1518, allocations: 27.92 kB / 0.5747 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.1518, allocations: 27.91 kB / 0.5748 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.1519, allocations: 11.98 kB / 0.5748 GB, free: 4.582 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.1521, allocations: 182 kB / 0.5749 GB, free: 4.402 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1521, allocations: 0 / 0.5749 GB, free: 4.402 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004632/0.1525, allocations: 92 kB / 0.575 GB, free: 4.312 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.001344/0.1539, allocations: 1.151 MB / 0.5762 GB, free: 3.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008622/0.1547, allocations: 393.4 kB / 0.5765 GB, free: 2.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1547, allocations: 0 / 0.5765 GB, free: 2.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004306/0.1552, allocations: 253.7 kB / 0.5768 GB, free: 2.473 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.1557, allocations: 48.88 kB / 0.5768 GB, free: 2.426 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005312/0.161, allocations: 3.469 MB / 0.5802 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.1615, allocations: 0.819 MB / 0.581 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.1617, allocations: 34.95 kB / 0.581 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.1618, allocations: 139.4 kB / 0.5812 GB, free: 13.75 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.1618, allocations: 3.938 kB / 0.5812 GB, free: 13.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.1974, allocations: 6.599 MB / 0.5876 GB, free: 7.297 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.66, allocations: 15.98 kB / 0.5876 GB, free: 7.281 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 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: 13.603984346613288] Failed to read output from testmodel.py, exit status != 0: ['time', 'converter.Phi', 'converter.i', 'converter1.i', 'eddyCurrent.Phi', 'leakageWithCoefficient.port_p.Phi'] 10.762436226010323 10.779106426 10.645139362 Calling exit ...