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.001383/0.001383, allocations: 105 kB / 19.74 MB, free: 2.566 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.001494/0.001494, allocations: 216.8 kB / 22.92 MB, free: 5.535 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.29/1.29, allocations: 230.2 MB / 256.2 MB, free: 8.742 MB / 206.1 MB " [Timeout remaining time 179] 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.1994/0.1994, allocations: 46.88 MB / 359.3 MB, free: 5.004 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.002236/0.002236, allocations: 91.84 kB / 0.494 GB, free: 9.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2648, allocations: 65.96 MB / 0.5584 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004782/0.2696, allocations: 3.549 MB / 0.5619 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.2712, allocations: 0.8352 MB / 0.5627 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.2714, allocations: 8 kB / 0.5627 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.2716, allocations: 75.23 kB / 0.5628 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.2719, allocations: 134.8 kB / 0.5629 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.2722, allocations: 135.8 kB / 0.563 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005268/0.2728, allocations: 0.518 MB / 0.5635 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002713/0.273, allocations: 181.9 kB / 0.5637 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.2732, allocations: 207.2 kB / 0.5639 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.2735, allocations: 235 kB / 0.5641 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.524e-05/0.2736, allocations: 48 kB / 0.5642 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.939e-05/0.2737, allocations: 56 kB / 0.5642 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.683e-05/0.2737, allocations: 107.6 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.274, allocations: 250.8 kB / 0.5646 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005509/0.2745, allocations: 0.5641 MB / 0.5651 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2745, allocations: 0 / 0.5651 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2745, allocations: 0 / 0.5651 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.2745, allocations: 0 / 0.5651 GB, free: 14.3 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.001222/0.2757, allocations: 0.7715 MB / 0.5659 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.2758, allocations: 8.031 kB / 0.5659 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.082e-05/0.2759, allocations: 86.7 kB / 0.566 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.271e-05/0.2759, allocations: 52.61 kB / 0.566 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.2764, allocations: 325.5 kB / 0.5663 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.2764, allocations: 37.38 kB / 0.5663 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/0.2765, allocations: 44.38 kB / 0.5664 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007629/0.2773, allocations: 471 kB / 0.5668 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2773, allocations: 0 / 0.5668 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.2773, allocations: 24 kB / 0.5669 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.2773, allocations: 12 kB / 0.5669 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006828/0.278, allocations: 319.8 kB / 0.5672 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.2804, allocations: 1.674 MB / 0.5688 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.2809, allocations: 225 kB / 0.569 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.2812, allocations: 137.8 kB / 0.5692 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.2813, allocations: 4 kB / 0.5692 GB, free: 9.887 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.2813, allocations: 34.56 kB / 0.5692 GB, free: 9.844 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.2813, allocations: 0 / 0.5692 GB, free: 9.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002869/0.2842, allocations: 1.356 MB / 0.5705 GB, free: 8.371 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.2842, allocations: 81.11 kB / 0.5706 GB, free: 8.273 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.2845, allocations: 258.6 kB / 0.5708 GB, free: 8.012 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.2845, allocations: 33.7 kB / 0.5709 GB, free: 7.973 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.2847, allocations: 260.1 kB / 0.5711 GB, free: 7.711 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.818e-05/0.2848, allocations: 134.8 kB / 0.5713 GB, free: 7.578 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.2849, allocations: 74.09 kB / 0.5713 GB, free: 7.496 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.285, allocations: 350.7 kB / 0.5717 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.2853, allocations: 108.8 kB / 0.5718 GB, free: 7.039 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.2856, allocations: 216.3 kB / 0.572 GB, free: 6.789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/0.2862, allocations: 341.4 kB / 0.5723 GB, free: 6.418 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2862, allocations: 0 / 0.5723 GB, free: 6.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008006/0.287, allocations: 418.1 kB / 0.5727 GB, free: 6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2871, allocations: 8 kB / 0.5727 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2871, allocations: 4 kB / 0.5727 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/0.2872, allocations: 32.78 kB / 0.5727 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.2876, allocations: 123.8 kB / 0.5729 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.2888, allocations: 1.434 MB / 0.5743 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.289, allocations: 16.05 kB / 0.5743 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.289, allocations: 20 kB / 0.5743 GB, free: 4.223 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.0001758/0.2892, allocations: 169.6 kB / 0.5745 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/0.2892, allocations: 39.89 kB / 0.5745 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.277e-05/0.2893, allocations: 38.17 kB / 0.5745 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2893, allocations: 7.984 kB / 0.5745 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2893, allocations: 7.938 kB / 0.5745 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2893, allocations: 0 / 0.5745 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.2904, allocations: 0.7038 MB / 0.5752 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.2904, allocations: 4 kB / 0.5752 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.2908, allocations: 91.88 kB / 0.5753 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.499e-05/0.2909, allocations: 32.84 kB / 0.5754 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.2909, allocations: 8 kB / 0.5754 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009984/0.2919, allocations: 1.423 MB / 0.5767 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2919, allocations: 4.031 kB / 0.5768 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009876/0.2929, allocations: 0.6083 MB / 0.5773 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.293, allocations: 124.9 kB / 0.5775 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.293, allocations: 8 kB / 0.5775 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.2933, allocations: 19.92 kB / 0.5775 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.2933, allocations: 32.14 kB / 0.5775 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.2934, allocations: 11.98 kB / 0.5775 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.2935, allocations: 189.8 kB / 0.5777 GB, free: 464 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2935, allocations: 4 kB / 0.5777 GB, free: 460 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004151/0.2939, allocations: 92 kB / 0.5778 GB, free: 368 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.001278/0.2952, allocations: 1.147 MB / 0.5789 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007864/0.296, allocations: 393.8 kB / 0.5793 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.296, allocations: 0 / 0.5793 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004015/0.2964, allocations: 249.9 kB / 0.5795 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.0004454/0.2969, allocations: 43.55 kB / 0.5796 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004609/0.3015, allocations: 3.48 MB / 0.583 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.3019, allocations: 0.8152 MB / 0.5838 GB, free: 9.984 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.302, allocations: 42.89 kB / 0.5838 GB, free: 9.938 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.3022, allocations: 135.4 kB / 0.5839 GB, free: 9.805 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3022, allocations: 0 / 0.5839 GB, free: 9.805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.3356, allocations: 6.579 MB / 0.5904 GB, free: 3.344 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9/9.336, allocations: 7.875 kB / 0.5904 GB, free: 3.336 MB / 430.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00300043 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: 11.878230240996345]