Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001426/0.001426, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001564/0.001564, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.532/1.532, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.231/0.231, allocations: 46.92 MB / 361.6 MB, free: 4.195 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.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents",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.002472/0.002472, allocations: 75.88 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3389, allocations: 66.09 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005481/0.3444, allocations: 3.543 MB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.3462, allocations: 0.8412 MB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.3464, allocations: 11.94 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.3466, allocations: 71.3 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.3469, allocations: 134.8 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.3474, allocations: 131.8 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006364/0.348, allocations: 0.5219 MB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.3483, allocations: 182.3 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.3486, allocations: 215.3 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.3489, allocations: 231 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.418e-05/0.349, allocations: 48 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.791e-05/0.3491, allocations: 51.94 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.3492, allocations: 107.6 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.3495, allocations: 254.8 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006832/0.3501, allocations: 0.5602 MB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3501, allocations: 0 / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3501, allocations: 0 / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.3502, allocations: 4 kB / 0.5682 GB, free: 13.39 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001446/0.3516, allocations: 0.6961 MB / 0.5689 GB, free: 12.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3516, allocations: 8.031 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.3518, allocations: 90.7 kB / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.361e-05/0.3519, allocations: 52.61 kB / 0.569 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.3524, allocations: 259.7 kB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.3524, allocations: 41.36 kB / 0.5693 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-05/0.3525, allocations: 48.36 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009282/0.3534, allocations: 471.2 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3534, allocations: 0 / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.3535, allocations: 16 kB / 0.5698 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.3535, allocations: 12 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007738/0.3542, allocations: 328.1 kB / 0.5702 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002714/0.357, allocations: 1.608 MB / 0.5717 GB, free: 9.605 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.3576, allocations: 225 kB / 0.5719 GB, free: 9.367 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.3579, allocations: 129.9 kB / 0.5721 GB, free: 9.234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.358, allocations: 7.938 kB / 0.5721 GB, free: 9.227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/0.358, allocations: 46.44 kB / 0.5721 GB, free: 9.172 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.094e-06/0.358, allocations: 0 / 0.5721 GB, free: 9.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003106/0.3611, allocations: 1.129 MB / 0.5732 GB, free: 7.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.3612, allocations: 85.05 kB / 0.5733 GB, free: 7.879 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.3615, allocations: 265.9 kB / 0.5736 GB, free: 7.613 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.3616, allocations: 29.7 kB / 0.5736 GB, free: 7.578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.3617, allocations: 264.1 kB / 0.5738 GB, free: 7.316 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3619, allocations: 127 kB / 0.574 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.362, allocations: 78.08 kB / 0.574 GB, free: 7.105 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3622, allocations: 346.7 kB / 0.5744 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.3625, allocations: 108.8 kB / 0.5745 GB, free: 6.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.3628, allocations: 212.3 kB / 0.5747 GB, free: 6.406 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006698/0.3635, allocations: 334.2 kB / 0.575 GB, free: 6.039 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3635, allocations: 0 / 0.575 GB, free: 6.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000968/0.3645, allocations: 421.8 kB / 0.5754 GB, free: 5.617 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3645, allocations: 4 kB / 0.5754 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3645, allocations: 4.375 kB / 0.5754 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.3647, allocations: 44.7 kB / 0.5754 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.3652, allocations: 119.9 kB / 0.5756 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.3666, allocations: 1.334 MB / 0.5769 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.3669, allocations: 16 kB / 0.5769 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.3669, allocations: 16 kB / 0.5769 GB, free: 3.953 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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.0002698/0.3672, allocations: 182.5 kB / 0.5771 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.545e-05/0.3673, allocations: 27.81 kB / 0.5771 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.684e-05/0.3674, allocations: 38.11 kB / 0.5771 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3674, allocations: 4 kB / 0.5771 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3674, allocations: 0 / 0.5771 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3674, allocations: 0 / 0.5771 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.3687, allocations: 0.6872 MB / 0.5778 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3687, allocations: 3.938 kB / 0.5778 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.3691, allocations: 87.94 kB / 0.5779 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.3692, allocations: 36.72 kB / 0.5779 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.3693, allocations: 8.141 kB / 0.5779 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.3705, allocations: 1.319 MB / 0.5792 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.3705, allocations: 8 kB / 0.5792 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.3717, allocations: 0.6044 MB / 0.5798 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.3718, allocations: 51.77 kB / 0.5799 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.3718, allocations: 8 kB / 0.5799 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.3721, allocations: 19.92 kB / 0.5799 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.3722, allocations: 23.95 kB / 0.5799 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.3722, allocations: 12 kB / 0.5799 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.3724, allocations: 193.2 kB / 0.5801 GB, free: 456 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3724, allocations: 3.938 kB / 0.5801 GB, free: 452 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005272/0.373, allocations: 95.94 kB / 0.5802 GB, free: 356 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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.001462/0.3744, allocations: 1.143 MB / 0.5813 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009319/0.3754, allocations: 393.4 kB / 0.5817 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3754, allocations: 0 / 0.5817 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.3758, allocations: 242.5 kB / 0.5819 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.3763, allocations: 45.28 kB / 0.582 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005579/0.3819, allocations: 3.501 MB / 0.5854 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/0.3824, allocations: 0.8113 MB / 0.5862 GB, free: 9.957 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.3826, allocations: 38.95 kB / 0.5862 GB, free: 9.918 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.3828, allocations: 135.4 kB / 0.5864 GB, free: 9.785 MB / 430.1 MB Notification: Performance of SimCode: time 1.133e-06/0.3828, allocations: 0 / 0.5864 GB, free: 9.785 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/0.4206, allocations: 6.822 MB / 0.593 GB, free: 3.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.9, allocations: 0 / 0.593 GB, free: 3.082 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.833841545972973] Failed to read output from testmodel.py, exit status != 0: ['time', 'converter.Phi', 'converter.i', 'converter1.i', 'eddyCurrent.Phi', 'leakageWithCoefficient.port_p.Phi'] 10.988838099874556 11.00843059 10.653679877 Calling exit ...