Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 121.2 kB / 18.5 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 213.5 kB / 21.46 MB, free: 1.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 230.6 MB / 254.8 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.221/0.221, allocations: 44.91 MB / 355.8 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 63.91 kB / 0.4885 GB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1325, allocations: 65.43 MB / 0.5524 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003279/0.1358, allocations: 1.739 MB / 0.5541 GB, free: 8.402 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002256/0.136, allocations: 91.66 kB / 0.5542 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.136, allocations: 0 / 0.5542 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.595e-05/0.1361, allocations: 11.88 kB / 0.5542 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.927e-05/0.1362, allocations: 19.78 kB / 0.5542 GB, free: 8.281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.1363, allocations: 31.95 kB / 0.5543 GB, free: 8.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.1365, allocations: 107.6 kB / 0.5544 GB, free: 8.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.1367, allocations: 40.23 kB / 0.5544 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.148e-05/0.1368, allocations: 51.84 kB / 0.5545 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1369, allocations: 51.78 kB / 0.5545 GB, free: 8.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.1369, allocations: 12 kB / 0.5545 GB, free: 7.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.848e-05/0.1369, allocations: 8 kB / 0.5545 GB, free: 7.984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.137, allocations: 27.91 kB / 0.5545 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.137, allocations: 43.8 kB / 0.5546 GB, free: 7.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.1372, allocations: 123.5 kB / 0.5547 GB, free: 7.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1372, allocations: 0 / 0.5547 GB, free: 7.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1372, allocations: 0 / 0.5547 GB, free: 7.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1372, allocations: 0 / 0.5547 GB, free: 7.793 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.000772/0.138, allocations: 423.1 kB / 0.5551 GB, free: 7.328 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.138, allocations: 8.031 kB / 0.5551 GB, free: 7.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.656e-05/0.1381, allocations: 4.188 kB / 0.5551 GB, free: 7.316 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.703e-05/0.1381, allocations: 42.73 kB / 0.5552 GB, free: 7.266 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.1382, allocations: 16.89 kB / 0.5552 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1383, allocations: 184.1 kB / 0.5554 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1384, allocations: 4.375 kB / 0.5554 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1384, allocations: 12.31 kB / 0.5554 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.1388, allocations: 137 kB / 0.5555 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1388, allocations: 0 / 0.5555 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1388, allocations: 0 / 0.5555 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1388, allocations: 4 kB / 0.5555 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/0.1392, allocations: 111.7 kB / 0.5556 GB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009244/0.1401, allocations: 471.5 kB / 0.5561 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.1404, allocations: 70.53 kB / 0.5561 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.1407, allocations: 68.92 kB / 0.5562 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.1407, allocations: 0 / 0.5562 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.1407, allocations: 38.5 kB / 0.5562 GB, free: 6.051 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1407, allocations: 3.938 kB / 0.5562 GB, free: 6.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009186/0.1417, allocations: 263.5 kB / 0.5565 GB, free: 5.762 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.1417, allocations: 51.41 kB / 0.5565 GB, free: 5.699 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1418, allocations: 117.8 kB / 0.5566 GB, free: 5.574 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1419, allocations: 29.7 kB / 0.5567 GB, free: 5.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.142, allocations: 112.1 kB / 0.5568 GB, free: 5.422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.142, allocations: 27.83 kB / 0.5568 GB, free: 5.395 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.142, allocations: 21.66 kB / 0.5568 GB, free: 5.367 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1422, allocations: 326.8 kB / 0.5571 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.1423, allocations: 31.97 kB / 0.5572 GB, free: 5.008 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.1425, allocations: 58.53 kB / 0.5572 GB, free: 4.941 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.1429, allocations: 94.5 kB / 0.5573 GB, free: 4.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1429, allocations: 0 / 0.5573 GB, free: 4.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004928/0.1433, allocations: 154.3 kB / 0.5575 GB, free: 4.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1434, allocations: 8 kB / 0.5575 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1434, allocations: 0 / 0.5575 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/0.1435, allocations: 20.84 kB / 0.5575 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.1437, allocations: 19.98 kB / 0.5575 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.145, allocations: 1.41 MB / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.1452, allocations: 20.06 kB / 0.5589 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1452, allocations: 0 / 0.5589 GB, free: 3.059 MB / 414.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.0001186/0.1453, allocations: 121.8 kB / 0.559 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.1453, allocations: 11.83 kB / 0.559 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.1453, allocations: 12.38 kB / 0.559 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1454, allocations: 0 / 0.559 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.1454, allocations: 0 / 0.559 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1454, allocations: 0 / 0.559 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008326/0.1462, allocations: 428 kB / 0.5595 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1462, allocations: 3.938 kB / 0.5595 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.1463, allocations: 19.97 kB / 0.5595 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.552e-05/0.1464, allocations: 29 kB / 0.5595 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.1464, allocations: 4 kB / 0.5595 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.1476, allocations: 1.402 MB / 0.5609 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1476, allocations: 0 / 0.5609 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.1481, allocations: 241.1 kB / 0.5611 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.1481, allocations: 89.12 kB / 0.5612 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.1482, allocations: 0 / 0.5612 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.1483, allocations: 15.98 kB / 0.5612 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.1483, allocations: 7.984 kB / 0.5612 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1483, allocations: 3.938 kB / 0.5612 GB, free: 440 kB / 414.1 MB Notification: Performance of sorting global known variables: time 7.116e-05/0.1484, allocations: 99.27 kB / 0.5613 GB, free: 340 kB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1484, allocations: 0 / 0.5613 GB, free: 340 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.1487, allocations: 19.95 kB / 0.5613 GB, free: 320 kB / 414.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.0008667/0.1496, allocations: 0.7717 MB / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005802/0.1501, allocations: 214.4 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1501, allocations: 0 / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.1504, allocations: 158.8 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.1508, allocations: 4 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.1533, allocations: 1.604 MB / 0.564 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.1537, allocations: 0.6985 MB / 0.5647 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.643e-05/0.1538, allocations: 7.75 kB / 0.5647 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.327e-05/0.1539, allocations: 27.42 kB / 0.5647 GB, free: 12.65 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1539, allocations: 288 / 0.5647 GB, free: 12.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.1827, allocations: 2.445 MB / 0.5671 GB, free: 10.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.64, allocations: 4.062 kB / 0.5671 GB, free: 10.35 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.90889745100867] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.V_m', 'reluctance.Phi', 'permeance.V_m', 'permeance.Phi'] 10.777124136977363 10.798352603 10.65728712 Calling exit ...