Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.001457/0.001457, allocations: 106.5 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.001654/0.001654, allocations: 221.1 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.278/1.278, allocations: 230.2 MB / 256.2 MB, free: 8.633 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.1962/0.1962, allocations: 46.89 MB / 359.3 MB, free: 5.016 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.Force,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",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.002113/0.002113, allocations: 87.84 kB / 0.494 GB, free: 9.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2669, allocations: 65.98 MB / 0.5584 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003952/0.2708, allocations: 3.036 MB / 0.5614 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.2721, allocations: 0.7867 MB / 0.5621 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.2722, allocations: 7.938 kB / 0.5621 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.2724, allocations: 63.38 kB / 0.5622 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.2725, allocations: 103.1 kB / 0.5623 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.2728, allocations: 115.8 kB / 0.5624 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004737/0.2733, allocations: 470.6 kB / 0.5629 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.2735, allocations: 120 kB / 0.563 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.2738, allocations: 183.3 kB / 0.5632 GB, free: 388 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.2741, allocations: 207.1 kB / 0.5634 GB, free: 180 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.217e-05/0.2741, allocations: 40 kB / 0.5634 GB, free: 140 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.293e-05/0.2742, allocations: 40 kB / 0.5634 GB, free: 100 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.889e-05/0.2743, allocations: 99.66 kB / 0.5635 GB, free: 0 / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.2745, allocations: 203 kB / 0.5637 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005216/0.275, allocations: 474 kB / 0.5642 GB, free: 15.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.275, allocations: 0 / 0.5642 GB, free: 15.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.275, allocations: 0 / 0.5642 GB, free: 15.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.275, allocations: 0 / 0.5642 GB, free: 15.33 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00141/0.2764, allocations: 0.7132 MB / 0.5649 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2765, allocations: 12.03 kB / 0.5649 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.2766, allocations: 78.66 kB / 0.565 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.2768, allocations: 56.64 kB / 0.565 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.2773, allocations: 291.5 kB / 0.5653 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.2773, allocations: 29.38 kB / 0.5653 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/0.2773, allocations: 36.38 kB / 0.5653 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006397/0.278, allocations: 350.6 kB / 0.5657 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.278, allocations: 4 kB / 0.5657 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.278, allocations: 12 kB / 0.5657 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.2781, allocations: 12 kB / 0.5657 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006188/0.2787, allocations: 307.8 kB / 0.566 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.2808, allocations: 1.33 MB / 0.5673 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005158/0.2813, allocations: 265.7 kB / 0.5676 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.2816, allocations: 137.4 kB / 0.5677 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.2816, allocations: 4.266 kB / 0.5677 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.2817, allocations: 38.84 kB / 0.5677 GB, free: 11.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.442e-06/0.2817, allocations: 0 / 0.5677 GB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.00081/0.2825, allocations: 375.5 kB / 0.5681 GB, free: 11.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.2825, allocations: 59.34 kB / 0.5681 GB, free: 11.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.2828, allocations: 274.5 kB / 0.5684 GB, free: 10.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.2828, allocations: 29.7 kB / 0.5684 GB, free: 10.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.283, allocations: 208.3 kB / 0.5686 GB, free: 10.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.119e-05/0.2831, allocations: 126.9 kB / 0.5688 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.2832, allocations: 74.08 kB / 0.5688 GB, free: 10.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2833, allocations: 338.8 kB / 0.5691 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.2836, allocations: 104.8 kB / 0.5692 GB, free: 9.871 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.2839, allocations: 167.5 kB / 0.5694 GB, free: 9.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005311/0.2844, allocations: 304.6 kB / 0.5697 GB, free: 9.359 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2844, allocations: 7.875 kB / 0.5697 GB, free: 9.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006557/0.2851, allocations: 358.5 kB / 0.57 GB, free: 8.996 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2851, allocations: 4 kB / 0.57 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2851, allocations: 4 kB / 0.5701 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2851, allocations: 12.16 kB / 0.5701 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.2856, allocations: 95.88 kB / 0.5702 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.2856, allocations: 7.984 kB / 0.5702 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.2858, allocations: 43.73 kB / 0.5702 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.2859, allocations: 15.98 kB / 0.5702 GB, free: 8.816 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * 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.0001532/0.286, allocations: 149.7 kB / 0.5704 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.2861, allocations: 27.81 kB / 0.5704 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006546/0.2867, allocations: 333 kB / 0.5707 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.2867, allocations: 4 kB / 0.5707 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2867, allocations: 4 kB / 0.5707 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.2868, allocations: 3.984 kB / 0.5707 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.2872, allocations: 409 kB / 0.5711 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2872, allocations: 0 / 0.5711 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.2876, allocations: 83.88 kB / 0.5712 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2876, allocations: 4 kB / 0.5712 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.2877, allocations: 8 kB / 0.5712 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.2877, allocations: 4 kB / 0.5712 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2877, allocations: 0 / 0.5712 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008414/0.2885, allocations: 0.5106 MB / 0.5717 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.2886, allocations: 136.8 kB / 0.5718 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.2887, allocations: 4 kB / 0.5718 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.2889, allocations: 16.06 kB / 0.5719 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.2889, allocations: 19.97 kB / 0.5719 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.289, allocations: 11.98 kB / 0.5719 GB, free: 7.008 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001863/0.2892, allocations: 193.9 kB / 0.5721 GB, free: 6.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2892, allocations: 0 / 0.5721 GB, free: 6.816 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003333/0.2895, allocations: 95.84 kB / 0.5722 GB, free: 6.723 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * 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.001125/0.2906, allocations: 1.056 MB / 0.5732 GB, free: 5.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005805/0.2912, allocations: 263.9 kB / 0.5734 GB, free: 5.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2912, allocations: 0.5 kB / 0.5734 GB, free: 5.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.2914, allocations: 131.8 kB / 0.5736 GB, free: 5.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.2918, allocations: 30.75 kB / 0.5736 GB, free: 5.227 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.2959, allocations: 3.14 MB / 0.5767 GB, free: 1.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.2963, allocations: 0.7874 MB / 0.5774 GB, free: 1.148 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.2965, allocations: 38.95 kB / 0.5775 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.2967, allocations: 115.4 kB / 0.5776 GB, free: 1 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2967, allocations: 0 / 0.5776 GB, free: 1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.325, allocations: 5.761 MB / 0.5832 GB, free: 11.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/7.873, allocations: 7.984 kB / 0.5832 GB, free: 11.32 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_Force.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.319587546007824]