Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.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.001793/0.001793, allocations: 119.5 kB / 18.51 MB, free: 4.555 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.001997/0.001997, allocations: 205.6 kB / 21.45 MB, free: 1.609 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.4 MB / 254.7 MB, free: 15.04 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.2395/0.2395, allocations: 46.92 MB / 357.7 MB, free: 10.2 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.Sensors,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sensors",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.002538/0.002538, allocations: 83.88 kB / 0.4917 GB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1278, allocations: 66.04 MB / 0.5561 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003476/0.1312, allocations: 1.941 MB / 0.558 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1324, allocations: 0.6076 MB / 0.5586 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.565e-05/0.1324, allocations: 4 kB / 0.5586 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.1326, allocations: 31.72 kB / 0.5587 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.1328, allocations: 39.7 kB / 0.5587 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.1329, allocations: 47.88 kB / 0.5588 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.1331, allocations: 143.5 kB / 0.5589 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.1333, allocations: 53.52 kB / 0.5589 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1334, allocations: 55.8 kB / 0.559 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1335, allocations: 71.67 kB / 0.5591 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.1335, allocations: 12 kB / 0.5591 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.298e-05/0.1335, allocations: 12 kB / 0.5591 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.1336, allocations: 27.92 kB / 0.5591 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.1336, allocations: 67.67 kB / 0.5592 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.1339, allocations: 163.3 kB / 0.5593 GB, free: 2.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1339, allocations: 3.938 kB / 0.5593 GB, free: 2.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1339, allocations: 0 / 0.5593 GB, free: 2.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1339, allocations: 7.938 kB / 0.5593 GB, free: 2.293 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006688/0.1345, allocations: 451 kB / 0.5598 GB, free: 1.801 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1346, allocations: 8.031 kB / 0.5598 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.65e-05/0.1346, allocations: 50.67 kB / 0.5598 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.1347, allocations: 20.84 kB / 0.5598 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.135, allocations: 200.2 kB / 0.56 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.135, allocations: 12.59 kB / 0.5601 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.135, allocations: 12.38 kB / 0.5601 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.1353, allocations: 144.5 kB / 0.5602 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1353, allocations: 0 / 0.5602 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1354, allocations: 4 kB / 0.5602 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1354, allocations: 4 kB / 0.5602 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.1357, allocations: 108.8 kB / 0.5603 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.1367, allocations: 0.6029 MB / 0.5609 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.137, allocations: 62.56 kB / 0.561 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.1371, allocations: 37 kB / 0.561 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1371, allocations: 4 kB / 0.561 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.1371, allocations: 34.5 kB / 0.561 GB, free: 380 kB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1371, allocations: 0 / 0.561 GB, free: 380 kB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004183/0.1376, allocations: 109.6 kB / 0.5611 GB, free: 264 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.1376, allocations: 55.41 kB / 0.5612 GB, free: 196 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.1378, allocations: 157.3 kB / 0.5613 GB, free: 24 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.1378, allocations: 25.7 kB / 0.5614 GB, free: 15.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/0.1379, allocations: 135.8 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.1379, allocations: 15.91 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.138, allocations: 29.66 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1381, allocations: 318.8 kB / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1382, allocations: 35.97 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1383, allocations: 64.14 kB / 0.5619 GB, free: 15.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.1386, allocations: 96.19 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1386, allocations: 0 / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003069/0.1389, allocations: 121.5 kB / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1389, allocations: 4 kB / 0.5621 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1389, allocations: 0 / 0.5621 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1389, allocations: 12.06 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1391, allocations: 32.16 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1391, allocations: 0 / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1392, allocations: 19.89 kB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1392, allocations: 4 kB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.928e-05/0.1393, allocations: 121.8 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.1393, allocations: 7.953 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.1394, allocations: 20.25 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1394, allocations: 11.86 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1394, allocations: 0 / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1394, allocations: 0 / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.1396, allocations: 213.6 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1396, allocations: 0 / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.87e-05/0.1397, allocations: 15.98 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1397, allocations: 0 / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.1397, allocations: 4 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.1397, allocations: 3.938 kB / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1397, allocations: 0 / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.14, allocations: 183.5 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.1401, allocations: 89 kB / 0.5629 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.1401, allocations: 3.984 kB / 0.5629 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1402, allocations: 7.938 kB / 0.5629 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.1403, allocations: 11.92 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.1403, allocations: 4 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.488e-05/0.1403, allocations: 107.3 kB / 0.563 GB, free: 14.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1403, allocations: 4 kB / 0.563 GB, free: 14.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.1406, allocations: 27.95 kB / 0.563 GB, free: 14.15 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006083/0.1412, allocations: 0.724 MB / 0.5637 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002713/0.1415, allocations: 67.89 kB / 0.5638 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1415, allocations: 3.938 kB / 0.5638 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1416, allocations: 31.91 kB / 0.5638 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.1419, allocations: 4.25 kB / 0.5638 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.144, allocations: 1.655 MB / 0.5654 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.1443, allocations: 0.7041 MB / 0.5661 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.565e-05/0.1443, allocations: 12.66 kB / 0.5661 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.1444, allocations: 35.42 kB / 0.5662 GB, free: 10.77 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1444, allocations: 0 / 0.5662 GB, free: 10.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.1673, allocations: 2.186 MB / 0.5683 GB, free: 8.668 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.234, allocations: 240 / 0.5683 GB, free: 8.668 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.29575564712286] Failed to read output from testmodel.py, exit status != 0: ['time', 'magneticPotentialDifferenceSensor.Phi', 'magneticFluxSensor.Phi', 'magneticPotentialDifferenceSensor.V_m'] 8.305434467736632 8.333247432 8.194559929 Calling exit ...