Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.001435/0.001435, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001571/0.001571, allocations: 218.5 kB / 22.92 MB, free: 5.559 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.289/1.289, allocations: 230.2 MB / 256.1 MB, free: 8.641 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.203/0.203, allocations: 46.89 MB / 359.3 MB, free: 4.992 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.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",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.00211/0.00211, allocations: 75.88 kB / 0.494 GB, free: 9.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2554, allocations: 65.98 MB / 0.5584 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003419/0.2588, allocations: 2.516 MB / 0.5609 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.26, allocations: 0.849 MB / 0.5617 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.2601, allocations: 4 kB / 0.5617 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.2602, allocations: 55.5 kB / 0.5617 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.2605, allocations: 109.1 kB / 0.5618 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.2607, allocations: 107.8 kB / 0.562 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.261, allocations: 358.5 kB / 0.5623 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.2612, allocations: 68.7 kB / 0.5624 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.2614, allocations: 139.5 kB / 0.5625 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.2616, allocations: 163.2 kB / 0.5626 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.2616, allocations: 28 kB / 0.5627 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.716e-05/0.2617, allocations: 36 kB / 0.5627 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.2617, allocations: 71.75 kB / 0.5628 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.2619, allocations: 155.2 kB / 0.5629 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.2622, allocations: 378.4 kB / 0.5633 GB, free: 240 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2622, allocations: 0 / 0.5633 GB, free: 240 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2622, allocations: 0 / 0.5633 GB, free: 240 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.2622, allocations: 0 / 0.5633 GB, free: 240 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001017/0.2633, allocations: 0.6349 MB / 0.5639 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.2633, allocations: 8.031 kB / 0.5639 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.383e-05/0.2634, allocations: 62.72 kB / 0.564 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.2635, allocations: 48.64 kB / 0.564 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.2638, allocations: 270.8 kB / 0.5643 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.2638, allocations: 16.94 kB / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.2638, allocations: 24.38 kB / 0.5643 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.2643, allocations: 256.9 kB / 0.5646 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2643, allocations: 0 / 0.5646 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.2643, allocations: 8 kB / 0.5646 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2643, allocations: 12 kB / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.2648, allocations: 230.1 kB / 0.5648 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.2661, allocations: 0.8755 MB / 0.5657 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.2666, allocations: 290.6 kB / 0.5659 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.2669, allocations: 120.8 kB / 0.566 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.2669, allocations: 4 kB / 0.5661 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.2669, allocations: 38.56 kB / 0.5661 GB, free: 13.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.353e-06/0.2669, allocations: 4 kB / 0.5661 GB, free: 13.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004351/0.2713, allocations: 1.25 MB / 0.5673 GB, free: 11.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.2713, allocations: 55.41 kB / 0.5674 GB, free: 11.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.2716, allocations: 237 kB / 0.5676 GB, free: 11.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.2716, allocations: 29.7 kB / 0.5676 GB, free: 11.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.2717, allocations: 169.3 kB / 0.5678 GB, free: 11.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/0.2718, allocations: 111 kB / 0.5679 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.761e-05/0.2719, allocations: 53.64 kB / 0.5679 GB, free: 11.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.272, allocations: 338.8 kB / 0.5683 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.2722, allocations: 91.95 kB / 0.5684 GB, free: 10.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.2725, allocations: 126.7 kB / 0.5685 GB, free: 10.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/0.2729, allocations: 232.1 kB / 0.5687 GB, free: 10.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2729, allocations: 0 / 0.5687 GB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001706/0.2746, allocations: 0.5451 MB / 0.5692 GB, free: 9.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2746, allocations: 11.94 kB / 0.5692 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2746, allocations: 0 / 0.5692 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.2762, allocations: 315.1 kB / 0.5695 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.2763, allocations: 23.98 kB / 0.5696 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007155/0.2835, allocations: 6.848 MB / 0.5762 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.2837, allocations: 23.88 kB / 0.5763 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.2837, allocations: 8 kB / 0.5763 GB, free: 1.988 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 11 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.2839, allocations: 145.8 kB / 0.5764 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.2839, allocations: 27.81 kB / 0.5764 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.2856, allocations: 0.5478 MB / 0.577 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2856, allocations: 4.188 kB / 0.577 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2856, allocations: 7.938 kB / 0.577 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2856, allocations: 0 / 0.577 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.286, allocations: 361.3 kB / 0.5773 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.286, allocations: 3.984 kB / 0.5773 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.2861, allocations: 19.98 kB / 0.5774 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.2876, allocations: 307.2 kB / 0.5777 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.2876, allocations: 8 kB / 0.5777 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007411/0.295, allocations: 6.913 MB / 0.5844 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.295, allocations: 0 / 0.5844 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.2967, allocations: 0.6157 MB / 0.585 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/0.2967, allocations: 112.8 kB / 0.5851 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.2968, allocations: 4 kB / 0.5851 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.297, allocations: 8.25 kB / 0.5851 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.306e-05/0.297, allocations: 31.95 kB / 0.5852 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.2971, allocations: 8 kB / 0.5852 GB, free: 8.188 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.2972, allocations: 182 kB / 0.5853 GB, free: 8.008 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2972, allocations: 3.938 kB / 0.5853 GB, free: 8.004 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00046/0.2977, allocations: 123.9 kB / 0.5855 GB, free: 7.883 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 7 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001945/0.2996, allocations: 1.156 MB / 0.5866 GB, free: 6.688 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.3007, allocations: 0.7491 MB / 0.5873 GB, free: 5.887 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3007, allocations: 0 / 0.5873 GB, free: 5.887 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.3018, allocations: 0.7289 MB / 0.588 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.3021, allocations: 23.22 kB / 0.5881 GB, free: 5.082 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00583/0.3079, allocations: 3.167 MB / 0.5912 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.3084, allocations: 0.7756 MB / 0.5919 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.528e-05/0.3084, allocations: 17.94 kB / 0.5919 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.3085, allocations: 83.34 kB / 0.592 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3085, allocations: 0 / 0.592 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04453/0.3531, allocations: 11.13 MB / 0.6029 GB, free: 5.895 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.27, allocations: 11.62 kB / 0.6029 GB, free: 5.887 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.783758821999072]