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.001311/0.001311, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001455/0.001455, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.519/1.519, allocations: 230.2 MB / 254.5 MB, free: 15.39 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.2376/0.2376, allocations: 46.89 MB / 357.4 MB, free: 10.51 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.002316/0.002316, allocations: 85.19 kB / 0.4912 GB, free: 26.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1194, allocations: 65.97 MB / 0.5556 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003571/0.123, allocations: 1.953 MB / 0.5575 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1241, allocations: 0.6037 MB / 0.5581 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/0.1242, allocations: 0 / 0.5581 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.1244, allocations: 39.72 kB / 0.5582 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.1245, allocations: 35.7 kB / 0.5582 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.1247, allocations: 39.94 kB / 0.5582 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.1249, allocations: 155.4 kB / 0.5584 GB, free: 6.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.125, allocations: 52.19 kB / 0.5584 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1251, allocations: 59.78 kB / 0.5585 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.744e-05/0.1252, allocations: 67.69 kB / 0.5586 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.1253, allocations: 12 kB / 0.5586 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.273e-05/0.1253, allocations: 12 kB / 0.5586 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.1253, allocations: 31.92 kB / 0.5586 GB, free: 6.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.047e-05/0.1254, allocations: 75.59 kB / 0.5587 GB, free: 6.004 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.1256, allocations: 159.3 kB / 0.5588 GB, free: 5.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1256, allocations: 0 / 0.5588 GB, free: 5.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1256, allocations: 0 / 0.5588 GB, free: 5.848 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.1256, allocations: 4 kB / 0.5588 GB, free: 5.844 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.0007148/0.1264, allocations: 443.1 kB / 0.5593 GB, free: 5.359 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1264, allocations: 12.03 kB / 0.5593 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.624e-05/0.1265, allocations: 46.73 kB / 0.5593 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.1265, allocations: 20.78 kB / 0.5593 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.1268, allocations: 208.1 kB / 0.5595 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1268, allocations: 8.656 kB / 0.5595 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.1269, allocations: 12.38 kB / 0.5596 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.1272, allocations: 147.9 kB / 0.5597 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1272, allocations: 0 / 0.5597 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1272, allocations: 8 kB / 0.5597 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1272, allocations: 4 kB / 0.5597 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.1275, allocations: 104.8 kB / 0.5598 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.1286, allocations: 0.6029 MB / 0.5604 GB, free: 4.078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.1289, allocations: 70.61 kB / 0.5605 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.981e-05/0.129, allocations: 28.97 kB / 0.5605 GB, free: 3.969 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.129, allocations: 3.984 kB / 0.5605 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1291, allocations: 34.56 kB / 0.5605 GB, free: 3.922 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/0.1291, allocations: 0 / 0.5605 GB, free: 3.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004005/0.1295, allocations: 117.5 kB / 0.5606 GB, free: 3.801 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.1295, allocations: 55.39 kB / 0.5607 GB, free: 3.734 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.1297, allocations: 150.3 kB / 0.5608 GB, free: 3.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.1297, allocations: 25.7 kB / 0.5609 GB, free: 3.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/0.1298, allocations: 135.8 kB / 0.561 GB, free: 3.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.1298, allocations: 19.84 kB / 0.561 GB, free: 3.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.1299, allocations: 29.66 kB / 0.561 GB, free: 3.348 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.13, allocations: 322.8 kB / 0.5613 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.1301, allocations: 27.98 kB / 0.5614 GB, free: 2.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.1303, allocations: 60.27 kB / 0.5614 GB, free: 2.922 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.1305, allocations: 96.19 kB / 0.5615 GB, free: 2.812 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1305, allocations: 0 / 0.5615 GB, free: 2.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003003/0.1308, allocations: 129.6 kB / 0.5616 GB, free: 2.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1308, allocations: 4 kB / 0.5616 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1308, allocations: 3.938 kB / 0.5616 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.1308, allocations: 11.92 kB / 0.5617 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.131, allocations: 27.92 kB / 0.5617 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.131, allocations: 0 / 0.5617 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.1311, allocations: 19.88 kB / 0.5617 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.1311, allocations: 11.94 kB / 0.5617 GB, free: 2.602 MB / 414.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 0.0001001/0.1312, allocations: 117.9 kB / 0.5618 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.1312, allocations: 7.953 kB / 0.5618 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.677e-05/0.1313, allocations: 16.31 kB / 0.5619 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1313, allocations: 3.938 kB / 0.5619 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1313, allocations: 0 / 0.5619 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1313, allocations: 0 / 0.5619 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.1316, allocations: 213.6 kB / 0.5621 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1316, allocations: 0 / 0.5621 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.1317, allocations: 19.92 kB / 0.5621 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1317, allocations: 0 / 0.5621 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.1317, allocations: 4 kB / 0.5621 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1317, allocations: 3.938 kB / 0.5621 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1317, allocations: 0 / 0.5621 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.132, allocations: 179.7 kB / 0.5623 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.1321, allocations: 89.11 kB / 0.5623 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.1322, allocations: 8 kB / 0.5624 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.1323, allocations: 11.94 kB / 0.5624 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.1323, allocations: 3.984 kB / 0.5624 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.1323, allocations: 4 kB / 0.5624 GB, free: 1.836 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.326e-05/0.1324, allocations: 114.2 kB / 0.5625 GB, free: 1.727 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1324, allocations: 0 / 0.5625 GB, free: 1.727 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1327, allocations: 27.89 kB / 0.5625 GB, free: 1.699 MB / 414.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.0007378/0.1334, allocations: 0.724 MB / 0.5632 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.1337, allocations: 67.89 kB / 0.5633 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1337, allocations: 0 / 0.5633 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.702e-05/0.1338, allocations: 27.97 kB / 0.5633 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.1341, allocations: 8.25 kB / 0.5633 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.1364, allocations: 1.654 MB / 0.5649 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.1367, allocations: 0.708 MB / 0.5656 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.777e-05/0.1368, allocations: 8.656 kB / 0.5656 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.1368, allocations: 35.42 kB / 0.5657 GB, free: 14.32 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1368, allocations: 0 / 0.5657 GB, free: 14.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.1619, allocations: 2.189 MB / 0.5678 GB, free: 12.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/8.433, allocations: 13.33 kB / 0.5678 GB, free: 12.21 MB / 430.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 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.486826426815242] Failed to read output from testmodel.py, exit status != 0: ['time', 'magneticPotentialDifferenceSensor.Phi', 'magneticFluxSensor.Phi', 'magneticPotentialDifferenceSensor.V_m'] 8.504483906086534 8.532718565 8.402023537 Calling exit ...