Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.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.001525/0.001525, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001383/0.001383, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.489/1.489, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2352/0.2352, 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.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_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.002272/0.002272, allocations: 83.86 kB / 0.4912 GB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1269, allocations: 65.97 MB / 0.5556 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004173/0.1311, allocations: 2.507 MB / 0.5581 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.133, allocations: 1.11 MB / 0.5592 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1331, allocations: 4 kB / 0.5592 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.1345, allocations: 0.4979 MB / 0.5597 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.1348, allocations: 115.2 kB / 0.5598 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009266/0.1357, allocations: 486.1 kB / 0.5602 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.136, allocations: 223 kB / 0.5604 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004276/0.1364, allocations: 202.3 kB / 0.5606 GB, free: 1.301 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.1366, allocations: 99.64 kB / 0.5607 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.1368, allocations: 123.5 kB / 0.5608 GB, free: 1.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.1368, allocations: 24 kB / 0.5609 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.1371, allocations: 163.8 kB / 0.561 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.1372, allocations: 47.84 kB / 0.5611 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1373, allocations: 119.4 kB / 0.5612 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005105/0.1378, allocations: 394.6 kB / 0.5616 GB, free: 356 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1378, allocations: 0 / 0.5616 GB, free: 356 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1378, allocations: 0 / 0.5616 GB, free: 356 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1378, allocations: 3.938 kB / 0.5616 GB, free: 352 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00133/0.1391, allocations: 0.6314 MB / 0.5622 GB, free: 15.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1392, allocations: 12.02 kB / 0.5622 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.856e-05/0.1392, allocations: 58.73 kB / 0.5623 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.1396, allocations: 52.7 kB / 0.5623 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.1397, allocations: 188.1 kB / 0.5625 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.1398, allocations: 20.94 kB / 0.5625 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.1398, allocations: 28.36 kB / 0.5625 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005972/0.1404, allocations: 299.5 kB / 0.5628 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1404, allocations: 0 / 0.5628 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.1404, allocations: 12 kB / 0.5628 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1405, allocations: 4 kB / 0.5628 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005521/0.141, allocations: 225.6 kB / 0.563 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.1425, allocations: 1.002 MB / 0.564 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/0.1431, allocations: 366.5 kB / 0.5644 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.1435, allocations: 121.7 kB / 0.5645 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/0.1437, allocations: 170.2 kB / 0.5646 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.1437, allocations: 42.55 kB / 0.5647 GB, free: 12.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=19): time 2.134e-06/0.1437, allocations: 4 kB / 0.5647 GB, free: 12.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001215/0.1449, allocations: 0.4919 MB / 0.5652 GB, free: 12.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.145, allocations: 85.09 kB / 0.5653 GB, free: 12.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1451, allocations: 133.8 kB / 0.5654 GB, free: 12.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.1452, allocations: 29.7 kB / 0.5654 GB, free: 12.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1453, allocations: 152.3 kB / 0.5656 GB, free: 11.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.814e-05/0.1453, allocations: 67.39 kB / 0.5656 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.278e-05/0.1454, allocations: 41.73 kB / 0.5657 GB, free: 11.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.1456, allocations: 322.9 kB / 0.566 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.1459, allocations: 75.88 kB / 0.566 GB, free: 11.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.1463, allocations: 122 kB / 0.5662 GB, free: 11.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.1467, allocations: 208.7 kB / 0.5664 GB, free: 11.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1467, allocations: 0 / 0.5664 GB, free: 11.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006604/0.1474, allocations: 275 kB / 0.5666 GB, free: 10.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1474, allocations: 9.562 kB / 0.5666 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.1474, allocations: 4 kB / 0.5666 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/0.1477, allocations: 49.69 kB / 0.5667 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.148, allocations: 47.91 kB / 0.5667 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.1504, allocations: 2.837 MB / 0.5695 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.1506, allocations: 27.83 kB / 0.5695 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.1506, allocations: 15.94 kB / 0.5695 GB, free: 7.449 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.1508, allocations: 137.9 kB / 0.5697 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.1508, allocations: 11.94 kB / 0.5697 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007231/0.1516, allocations: 264.2 kB / 0.5699 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1516, allocations: 4 kB / 0.5699 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1516, allocations: 3.938 kB / 0.5699 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1516, allocations: 0 / 0.5699 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.1528, allocations: 0.6553 MB / 0.5706 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1528, allocations: 0 / 0.5706 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.153, allocations: 39.97 kB / 0.5706 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/0.1531, allocations: 49.77 kB / 0.5707 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.1531, allocations: 8 kB / 0.5707 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002434/0.1556, allocations: 2.836 MB / 0.5734 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1556, allocations: 4.031 kB / 0.5734 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009829/0.1565, allocations: 0.5218 MB / 0.574 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.1566, allocations: 93.09 kB / 0.574 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.1566, allocations: 11.98 kB / 0.5741 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.1568, allocations: 15.92 kB / 0.5741 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.1569, allocations: 19.92 kB / 0.5741 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.1569, allocations: 7.984 kB / 0.5741 GB, free: 2.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.157, allocations: 109.6 kB / 0.5742 GB, free: 2.246 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.157, allocations: 0 / 0.5742 GB, free: 2.246 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004566/0.1575, allocations: 75.78 kB / 0.5743 GB, free: 2.172 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.001497/0.159, allocations: 1.087 MB / 0.5753 GB, free: 1.051 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007984/0.1598, allocations: 405.2 kB / 0.5757 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1598, allocations: 0 / 0.5757 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004348/0.1602, allocations: 335.3 kB / 0.576 GB, free: 284 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.1607, allocations: 12 kB / 0.5761 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.1642, allocations: 2.365 MB / 0.5784 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.1646, allocations: 0.7361 MB / 0.5791 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.338e-05/0.1647, allocations: 13.42 kB / 0.5791 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.279e-05/0.1648, allocations: 55.42 kB / 0.5791 GB, free: 12.93 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1648, allocations: 4 kB / 0.5792 GB, free: 12.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03533/0.2001, allocations: 4.47 MB / 0.5835 GB, free: 8.617 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/10.45, allocations: 3 kB / 0.5835 GB, free: 8.617 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.611250988207757] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.abs_V_m', 'reluctance.abs_Phi', 'permeance.abs_V_m', 'permeance.abs_Phi', 'magFluxSource.gamma'] 10.537095936015248 10.780574168 10.638946761 Calling exit ...