Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001275/0.001275, 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.001519/0.001519, 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.494/1.494, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.2249/0.2249, allocations: 46.92 MB / 357.7 MB, free: 10.22 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.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_VariableComponents",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.00232/0.00232, allocations: 83.86 kB / 0.4916 GB, free: 7.781 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1336, allocations: 66.04 MB / 0.5561 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003348/0.137, allocations: 1.735 MB / 0.5578 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002086/0.1372, allocations: 87.64 kB / 0.5579 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.989e-05/0.1373, allocations: 7.938 kB / 0.5579 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.495e-05/0.1373, allocations: 7.875 kB / 0.5579 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.791e-05/0.1374, allocations: 23.78 kB / 0.5579 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.1375, allocations: 31.95 kB / 0.558 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.1377, allocations: 103.6 kB / 0.5581 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.1379, allocations: 47.97 kB / 0.5581 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.668e-05/0.138, allocations: 43.89 kB / 0.5582 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.1381, allocations: 47.78 kB / 0.5582 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.1381, allocations: 12 kB / 0.5582 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.016e-05/0.1382, allocations: 12 kB / 0.5582 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.824e-05/0.1382, allocations: 23.91 kB / 0.5583 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.747e-05/0.1383, allocations: 51.73 kB / 0.5583 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.1385, allocations: 115.6 kB / 0.5584 GB, free: 3.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1385, allocations: 0 / 0.5584 GB, free: 3.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1385, allocations: 4 kB / 0.5584 GB, free: 3.254 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1385, allocations: 7.938 kB / 0.5584 GB, free: 3.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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007647/0.1392, allocations: 422.9 kB / 0.5588 GB, free: 2.781 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1393, allocations: 8.031 kB / 0.5588 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.657e-05/0.1393, allocations: 46.73 kB / 0.5589 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.1394, allocations: 12.89 kB / 0.5589 GB, free: 2.707 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.1396, allocations: 172.3 kB / 0.5591 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1396, allocations: 4.375 kB / 0.5591 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.1396, allocations: 16.36 kB / 0.5591 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.1399, allocations: 122.1 kB / 0.5592 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.14, allocations: 11.88 kB / 0.5592 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.14, allocations: 0 / 0.5592 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.14, allocations: 0 / 0.5592 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.1404, allocations: 115.8 kB / 0.5593 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008113/0.1412, allocations: 467.4 kB / 0.5598 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.1414, allocations: 78.47 kB / 0.5598 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.1417, allocations: 68.92 kB / 0.5599 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1417, allocations: 3.984 kB / 0.5599 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.1417, allocations: 34.5 kB / 0.5599 GB, free: 1.512 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1417, allocations: 0 / 0.5599 GB, free: 1.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008792/0.1426, allocations: 267.4 kB / 0.5602 GB, free: 1.223 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.1427, allocations: 55.41 kB / 0.5602 GB, free: 1.156 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.1428, allocations: 117.8 kB / 0.5604 GB, free: 1.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1428, allocations: 29.7 kB / 0.5604 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.1429, allocations: 108.2 kB / 0.5605 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.1429, allocations: 27.78 kB / 0.5605 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.1429, allocations: 17.72 kB / 0.5605 GB, free: 0.832 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1431, allocations: 318.8 kB / 0.5608 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.1433, allocations: 31.97 kB / 0.5609 GB, free: 492 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.1434, allocations: 62.53 kB / 0.5609 GB, free: 420 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.1438, allocations: 106.4 kB / 0.561 GB, free: 304 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1438, allocations: 0 / 0.561 GB, free: 304 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004502/0.1442, allocations: 146.7 kB / 0.5612 GB, free: 148 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1442, allocations: 4 kB / 0.5612 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1442, allocations: 3.938 kB / 0.5612 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001416/0.1444, allocations: 24.84 kB / 0.5612 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.1445, allocations: 27.98 kB / 0.5612 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.1458, allocations: 1.395 MB / 0.5626 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.1459, allocations: 20.03 kB / 0.5626 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1459, allocations: 0 / 0.5626 GB, free: 14.53 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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.0001128/0.146, allocations: 121.7 kB / 0.5627 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.146, allocations: 15.89 kB / 0.5627 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.1461, allocations: 8.375 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1461, allocations: 4.141 kB / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1461, allocations: 0 / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1461, allocations: 7.984 kB / 0.5628 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007594/0.1468, allocations: 420.1 kB / 0.5632 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1468, allocations: 0 / 0.5632 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.622e-05/0.1469, allocations: 15.97 kB / 0.5632 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.458e-05/0.147, allocations: 28.88 kB / 0.5632 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.147, allocations: 0 / 0.5632 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.1481, allocations: 1.406 MB / 0.5646 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1481, allocations: 7.969 kB / 0.5646 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.1486, allocations: 241.1 kB / 0.5648 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.1486, allocations: 81.06 kB / 0.5649 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1487, allocations: 4 kB / 0.5649 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.1488, allocations: 11.98 kB / 0.5649 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.1488, allocations: 7.984 kB / 0.5649 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1488, allocations: 4 kB / 0.5649 GB, free: 11.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.026e-05/0.1489, allocations: 99.64 kB / 0.565 GB, free: 11.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1489, allocations: 0 / 0.565 GB, free: 11.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1492, allocations: 31.89 kB / 0.565 GB, free: 11.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * 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.0008113/0.15, allocations: 0.7648 MB / 0.5658 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005564/0.1505, allocations: 206.5 kB / 0.566 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1505, allocations: 0 / 0.566 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.1508, allocations: 166.8 kB / 0.5661 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1511, allocations: 7.938 kB / 0.5662 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.1534, allocations: 1.605 MB / 0.5677 GB, free: 8.871 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.1538, allocations: 0.6963 MB / 0.5684 GB, free: 8.148 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.122e-05/0.1538, allocations: 7.75 kB / 0.5684 GB, free: 8.141 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.1539, allocations: 31.36 kB / 0.5684 GB, free: 8.109 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1539, allocations: 0 / 0.5684 GB, free: 8.109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.1815, allocations: 2.404 MB / 0.5708 GB, free: 5.836 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.21, allocations: 1.688 kB / 0.5708 GB, free: 5.836 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.285701674874872] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.V_m', 'reluctance.Phi', 'permeance.V_m', 'permeance.Phi'] 10.291650206781924 10.306508247 10.165172499 Calling exit ...