Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001144/0.001144, 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.001277/0.001277, allocations: 213.4 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.291/1.291, allocations: 230.2 MB / 256.1 MB, free: 8.758 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.2035/0.2035, allocations: 46.89 MB / 359.3 MB, free: 4.988 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.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",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.002235/0.002235, allocations: 83.84 kB / 0.494 GB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2618, allocations: 65.97 MB / 0.5584 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006561/0.2684, allocations: 5.374 MB / 0.5637 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003342/0.2717, allocations: 1.67 MB / 0.5653 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.272, allocations: 19.94 kB / 0.5653 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003306/0.2753, allocations: 1.598 MB / 0.5669 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007584/0.2761, allocations: 313.6 kB / 0.5672 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.2771, allocations: 0.5213 MB / 0.5677 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008141/0.2779, allocations: 0.8045 MB / 0.5685 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008264/0.2788, allocations: 0.5589 MB / 0.569 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004034/0.2792, allocations: 334.8 kB / 0.5693 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005263/0.2797, allocations: 470.1 kB / 0.5698 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.718e-05/0.2798, allocations: 72 kB / 0.5698 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003875/0.2802, allocations: 199.8 kB / 0.57 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.2803, allocations: 175.4 kB / 0.5702 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.2807, allocations: 433.9 kB / 0.5706 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.2819, allocations: 1.175 MB / 0.5718 GB, free: 7.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2819, allocations: 0 / 0.5718 GB, free: 7.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2819, allocations: 3.938 kB / 0.5718 GB, free: 7.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.2819, allocations: 0 / 0.5718 GB, free: 7.461 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003212/0.2851, allocations: 1.376 MB / 0.5731 GB, free: 6.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2852, allocations: 12.03 kB / 0.5731 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.2853, allocations: 152.4 kB / 0.5733 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.2868, allocations: 232.2 kB / 0.5735 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.2871, allocations: 258.8 kB / 0.5737 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.012e-05/0.2872, allocations: 78.38 kB / 0.5738 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.2873, allocations: 111.9 kB / 0.5739 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.2888, allocations: 0.9321 MB / 0.5748 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.2888, allocations: 7.891 kB / 0.5748 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-05/0.2889, allocations: 43.98 kB / 0.5749 GB, free: 4.164 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.2889, allocations: 24 kB / 0.5749 GB, free: 4.141 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.2901, allocations: 0.7262 MB / 0.5756 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004835/0.2949, allocations: 4.084 MB / 0.5796 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/0.2976, allocations: 3.325 MB / 0.5828 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/0.298, allocations: 260.5 kB / 0.5831 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.2982, allocations: 174.5 kB / 0.5833 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.2982, allocations: 46.83 kB / 0.5833 GB, free: 10.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 1.963e-06/0.2982, allocations: 3.938 kB / 0.5833 GB, free: 10.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002628/0.3008, allocations: 1.324 MB / 0.5846 GB, free: 9.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/0.3009, allocations: 144.5 kB / 0.5847 GB, free: 8.867 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.3013, allocations: 306.9 kB / 0.585 GB, free: 8.555 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.3013, allocations: 37.7 kB / 0.5851 GB, free: 8.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.3016, allocations: 411.8 kB / 0.5855 GB, free: 8.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.3018, allocations: 242 kB / 0.5857 GB, free: 7.863 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.302, allocations: 150.6 kB / 0.5858 GB, free: 7.711 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.3021, allocations: 358.7 kB / 0.5862 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.3025, allocations: 193.9 kB / 0.5864 GB, free: 7.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/0.303, allocations: 404.6 kB / 0.5867 GB, free: 6.691 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008732/0.3039, allocations: 0.6298 MB / 0.5874 GB, free: 5.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3039, allocations: 0 / 0.5874 GB, free: 5.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001448/0.3053, allocations: 0.8773 MB / 0.5882 GB, free: 5.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3053, allocations: 8.5 kB / 0.5882 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.3053, allocations: 4 kB / 0.5882 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006045/0.3059, allocations: 235.2 kB / 0.5885 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.3064, allocations: 135.8 kB / 0.5886 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00612/0.3125, allocations: 6.707 MB / 0.5951 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.313, allocations: 83.3 kB / 0.5952 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.313, allocations: 39.98 kB / 0.5952 GB, free: 13.31 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003044/0.3133, allocations: 229.6 kB / 0.5955 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.3135, allocations: 39.77 kB / 0.5955 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.3147, allocations: 0.6831 MB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.3147, allocations: 8 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.3147, allocations: 8 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3147, allocations: 0 / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.3171, allocations: 1.57 MB / 0.5977 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3171, allocations: 4 kB / 0.5977 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.3174, allocations: 63.91 kB / 0.5978 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005139/0.3179, allocations: 215.2 kB / 0.598 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.3179, allocations: 16 kB / 0.598 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005647/0.3236, allocations: 6.702 MB / 0.6045 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3236, allocations: 3.938 kB / 0.6046 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.3252, allocations: 1.187 MB / 0.6057 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.3253, allocations: 132.7 kB / 0.6058 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.3254, allocations: 19.92 kB / 0.6059 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.3257, allocations: 16 kB / 0.6059 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.3258, allocations: 59.8 kB / 0.6059 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.3258, allocations: 16 kB / 0.6059 GB, free: 1.633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002507/0.326, allocations: 210 kB / 0.6061 GB, free: 1.422 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.326, allocations: 0 / 0.6061 GB, free: 1.422 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008983/0.3269, allocations: 279.4 kB / 0.6064 GB, free: 1.148 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001997/0.3289, allocations: 1.77 MB / 0.6081 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.3305, allocations: 1.028 MB / 0.6091 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3305, allocations: 0 / 0.6091 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008962/0.3314, allocations: 0.7767 MB / 0.6099 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006091/0.332, allocations: 46.84 kB / 0.6099 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006849/0.3389, allocations: 5.126 MB / 0.615 GB, free: 7.973 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/0.3394, allocations: 0.915 MB / 0.6158 GB, free: 7.027 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.3397, allocations: 64.53 kB / 0.6159 GB, free: 6.965 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.3399, allocations: 231.3 kB / 0.6161 GB, free: 6.738 MB / 462.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3399, allocations: 0 / 0.6161 GB, free: 6.738 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0469/0.3868, allocations: 12 MB / 0.6279 GB, free: 10.86 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.383/9.769, allocations: 14.23 kB / 0.6279 GB, free: 10.84 MB / 478.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.305114287009928]