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.001376/0.001376, allocations: 105.8 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.001509/0.001509, allocations: 218.4 kB / 22.92 MB, free: 5.539 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.1 MB, free: 8.762 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.2016/0.2016, allocations: 46.89 MB / 359.3 MB, free: 4.973 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.002163/0.002163, allocations: 79.86 kB / 0.494 GB, free: 9.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2626, allocations: 65.98 MB / 0.5584 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004617/0.2672, allocations: 3.553 MB / 0.5619 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2686, allocations: 0.8352 MB / 0.5627 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.2688, allocations: 12 kB / 0.5627 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.269, allocations: 75.23 kB / 0.5628 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.2692, allocations: 122.8 kB / 0.5629 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.2696, allocations: 135.8 kB / 0.563 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005361/0.2701, allocations: 0.5218 MB / 0.5635 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.2704, allocations: 181.9 kB / 0.5637 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.2706, allocations: 211.3 kB / 0.5639 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.2709, allocations: 234.9 kB / 0.5641 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.226e-05/0.271, allocations: 48 kB / 0.5642 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.81e-05/0.271, allocations: 52 kB / 0.5642 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.2711, allocations: 115.6 kB / 0.5643 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.2714, allocations: 250.8 kB / 0.5646 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005824/0.2719, allocations: 0.5524 MB / 0.5651 GB, free: 14.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2719, allocations: 4 kB / 0.5651 GB, free: 14.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.272, allocations: 0 / 0.5651 GB, free: 14.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.272, allocations: 0 / 0.5651 GB, free: 14.32 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.001311/0.2733, allocations: 0.7753 MB / 0.5659 GB, free: 13.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2733, allocations: 8.031 kB / 0.5659 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.07e-05/0.2734, allocations: 86.72 kB / 0.566 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.632e-05/0.2735, allocations: 56.61 kB / 0.566 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.2739, allocations: 321.5 kB / 0.5663 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.274, allocations: 33.38 kB / 0.5663 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.821e-05/0.274, allocations: 48.38 kB / 0.5664 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007737/0.2748, allocations: 463.1 kB / 0.5668 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2748, allocations: 3.938 kB / 0.5668 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.2749, allocations: 20 kB / 0.5669 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.2749, allocations: 12 kB / 0.5669 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006934/0.2756, allocations: 327.8 kB / 0.5672 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.2779, allocations: 1.663 MB / 0.5688 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.2785, allocations: 233 kB / 0.569 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.2788, allocations: 121.7 kB / 0.5691 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.2788, allocations: 8.203 kB / 0.5692 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.2788, allocations: 50.48 kB / 0.5692 GB, free: 9.855 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.2788, allocations: 0 / 0.5692 GB, free: 9.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002884/0.2817, allocations: 1.348 MB / 0.5705 GB, free: 8.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.2818, allocations: 81.11 kB / 0.5706 GB, free: 8.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.282, allocations: 262.6 kB / 0.5708 GB, free: 8.027 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.2821, allocations: 33.7 kB / 0.5709 GB, free: 7.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.2822, allocations: 264.1 kB / 0.5711 GB, free: 7.723 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.101e-05/0.2823, allocations: 130.9 kB / 0.5713 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.2824, allocations: 74.09 kB / 0.5713 GB, free: 7.512 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2826, allocations: 346.7 kB / 0.5717 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.2828, allocations: 108.7 kB / 0.5718 GB, free: 7.059 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.2832, allocations: 220.3 kB / 0.572 GB, free: 6.805 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005978/0.2838, allocations: 338 kB / 0.5723 GB, free: 6.434 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2838, allocations: 0 / 0.5723 GB, free: 6.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008296/0.2846, allocations: 425.4 kB / 0.5727 GB, free: 6.012 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2846, allocations: 4 kB / 0.5727 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2846, allocations: 4 kB / 0.5727 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/0.2847, allocations: 37.16 kB / 0.5727 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.2852, allocations: 127.8 kB / 0.5729 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.2863, allocations: 1.434 MB / 0.5743 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.2866, allocations: 19.98 kB / 0.5743 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.2866, allocations: 12 kB / 0.5743 GB, free: 4.234 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.0001857/0.2868, allocations: 173.7 kB / 0.5745 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/0.2868, allocations: 31.81 kB / 0.5745 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.28e-05/0.2869, allocations: 42.11 kB / 0.5745 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2869, allocations: 4 kB / 0.5745 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2869, allocations: 0 / 0.5745 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2869, allocations: 4.125 kB / 0.5745 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.288, allocations: 0.7185 MB / 0.5752 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.288, allocations: 0 / 0.5752 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004059/0.2884, allocations: 87.88 kB / 0.5753 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.511e-05/0.2885, allocations: 32.78 kB / 0.5754 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.2885, allocations: 8 kB / 0.5754 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.2895, allocations: 1.419 MB / 0.5767 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.2895, allocations: 3.984 kB / 0.5768 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009672/0.2905, allocations: 0.6174 MB / 0.5774 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.2906, allocations: 120.9 kB / 0.5775 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.2906, allocations: 8 kB / 0.5775 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.2909, allocations: 23.92 kB / 0.5775 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.291, allocations: 27.91 kB / 0.5775 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.291, allocations: 8 kB / 0.5775 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.2912, allocations: 186 kB / 0.5777 GB, free: 484 kB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2912, allocations: 7.938 kB / 0.5777 GB, free: 476 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004318/0.2916, allocations: 92 kB / 0.5778 GB, free: 384 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.001276/0.2929, allocations: 1.143 MB / 0.5789 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007989/0.2937, allocations: 396.3 kB / 0.5793 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2937, allocations: 0 / 0.5793 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.2941, allocations: 248.7 kB / 0.5795 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.2945, allocations: 54.25 kB / 0.5796 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/0.2992, allocations: 3.476 MB / 0.583 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.2996, allocations: 0.8152 MB / 0.5838 GB, free: 9.992 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.2998, allocations: 34.95 kB / 0.5838 GB, free: 9.953 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.2999, allocations: 139.4 kB / 0.5839 GB, free: 9.816 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2999, allocations: 4 kB / 0.584 GB, free: 9.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03479/0.3347, allocations: 6.568 MB / 0.5904 GB, free: 3.363 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.975/9.31, allocations: 8 kB / 0.5904 GB, free: 3.355 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 & /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 --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: 11.80480688699754]