Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.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.001392/0.001392, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001526/0.001526, allocations: 218.8 kB / 22.92 MB, free: 5.195 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.285/1.285, allocations: 230.2 MB / 256.2 MB, free: 8.582 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.1989/0.1989, 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.Sources,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sources",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.002078/0.002078, allocations: 75.86 kB / 0.494 GB, free: 9.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2604, allocations: 65.99 MB / 0.5584 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003931/0.2643, allocations: 2.723 MB / 0.5611 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.2656, allocations: 0.7944 MB / 0.5618 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.2658, allocations: 4 kB / 0.5618 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.266, allocations: 75.38 kB / 0.5619 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.2663, allocations: 107.2 kB / 0.562 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.2666, allocations: 115.8 kB / 0.5621 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004408/0.267, allocations: 422.3 kB / 0.5625 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.2672, allocations: 100 kB / 0.5626 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.2674, allocations: 155.4 kB / 0.5628 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.2676, allocations: 167.2 kB / 0.5629 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.2676, allocations: 36 kB / 0.563 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.504e-05/0.2677, allocations: 35.94 kB / 0.563 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.2678, allocations: 75.69 kB / 0.5631 GB, free: 440 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.2679, allocations: 187 kB / 0.5632 GB, free: 252 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.2684, allocations: 432.1 kB / 0.5637 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2684, allocations: 0 / 0.5637 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2684, allocations: 0 / 0.5637 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2684, allocations: 0 / 0.5637 GB, free: 15.82 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0009982/0.2694, allocations: 0.6819 MB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2694, allocations: 16.02 kB / 0.5643 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.41e-05/0.2695, allocations: 66.72 kB / 0.5644 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.2695, allocations: 40.7 kB / 0.5644 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.2699, allocations: 282.7 kB / 0.5647 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.2699, allocations: 29.31 kB / 0.5647 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.2699, allocations: 36.38 kB / 0.5648 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.2706, allocations: 366 kB / 0.5651 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2706, allocations: 0 / 0.5651 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.2706, allocations: 16 kB / 0.5651 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.2706, allocations: 8 kB / 0.5651 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005931/0.2712, allocations: 263.8 kB / 0.5654 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.2731, allocations: 1.343 MB / 0.5667 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004679/0.2735, allocations: 194.6 kB / 0.5669 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.2738, allocations: 79.52 kB / 0.567 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.2738, allocations: 7.938 kB / 0.567 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.2738, allocations: 34.56 kB / 0.567 GB, free: 12.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.2738, allocations: 0 / 0.567 GB, free: 12.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007711/0.2746, allocations: 257.2 kB / 0.5673 GB, free: 11.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/0.2747, allocations: 136.5 kB / 0.5674 GB, free: 11.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.275, allocations: 337.7 kB / 0.5677 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.275, allocations: 29.83 kB / 0.5677 GB, free: 11.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.2752, allocations: 244.2 kB / 0.568 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.2752, allocations: 55.58 kB / 0.568 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.874e-05/0.2753, allocations: 57.94 kB / 0.5681 GB, free: 10.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2755, allocations: 342.7 kB / 0.5684 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.2757, allocations: 80.5 kB / 0.5685 GB, free: 10.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.276, allocations: 169 kB / 0.5686 GB, free: 10.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/0.2765, allocations: 247 kB / 0.5689 GB, free: 10.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.2765, allocations: 7.938 kB / 0.5689 GB, free: 10.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006722/0.2772, allocations: 313.2 kB / 0.5692 GB, free: 9.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2772, allocations: 4 kB / 0.5692 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2772, allocations: 4 kB / 0.5692 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2772, allocations: 4 kB / 0.5692 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.2776, allocations: 87.86 kB / 0.5693 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2776, allocations: 11.94 kB / 0.5693 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.2779, allocations: 59.72 kB / 0.5693 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.2779, allocations: 11.98 kB / 0.5694 GB, free: 9.559 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.2781, allocations: 153.7 kB / 0.5695 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.673e-05/0.2781, allocations: 31.81 kB / 0.5695 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.968e-05/0.2782, allocations: 34.41 kB / 0.5696 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2782, allocations: 4 kB / 0.5696 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2782, allocations: 0 / 0.5696 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2782, allocations: 0 / 0.5696 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007612/0.279, allocations: 0.5959 MB / 0.5702 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.279, allocations: 0 / 0.5702 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.2793, allocations: 56.23 kB / 0.5702 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.2793, allocations: 8.156 kB / 0.5702 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.2793, allocations: 11.92 kB / 0.5702 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.2793, allocations: 7.938 kB / 0.5702 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2793, allocations: 0 / 0.5702 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005441/0.2798, allocations: 401.3 kB / 0.5706 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.2799, allocations: 108.9 kB / 0.5707 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.28, allocations: 11.88 kB / 0.5707 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.2802, allocations: 15.98 kB / 0.5707 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.2802, allocations: 23.97 kB / 0.5708 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.2802, allocations: 4 kB / 0.5708 GB, free: 7.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002255/0.2805, allocations: 235.2 kB / 0.571 GB, free: 7.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2805, allocations: 0 / 0.571 GB, free: 7.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003622/0.2808, allocations: 71.89 kB / 0.5711 GB, free: 7.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000803/0.2816, allocations: 0.9304 MB / 0.572 GB, free: 6.703 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005055/0.2821, allocations: 184 kB / 0.5721 GB, free: 6.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2821, allocations: 0.5 kB / 0.5721 GB, free: 6.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.2824, allocations: 83.81 kB / 0.5722 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.2827, allocations: 25.53 kB / 0.5723 GB, free: 6.418 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.2865, allocations: 2.999 MB / 0.5752 GB, free: 3.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.2869, allocations: 0.7791 MB / 0.5759 GB, free: 2.426 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.624e-05/0.287, allocations: 25.94 kB / 0.576 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.2872, allocations: 103.4 kB / 0.5761 GB, free: 2.297 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2872, allocations: 3.938 kB / 0.5761 GB, free: 2.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.3129, allocations: 4.996 MB / 0.5809 GB, free: 13.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.64, allocations: 10.72 kB / 0.581 GB, free: 13.36 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sources.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.08779505599523]