Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force") translateModel(ModelicaTest.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007896/0.007896, allocations: 100 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 196.7 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4202/0.4202, allocations: 39.94 MB / 309.8 MB, free: 9.379 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 71.91 kB / 435.8 MB, free: 2.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.465, allocations: 56.88 MB / 492.6 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.005058/0.4701, allocations: 2.968 MB / 495.6 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.4724, allocations: 0.7744 MB / 496.4 MB, free: 16.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.4727, allocations: 5.656 kB / 496.4 MB, free: 16.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.4731, allocations: 60.19 kB / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.4735, allocations: 101.7 kB / 496.6 MB, free: 16.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.4741, allocations: 119 kB / 496.7 MB, free: 16.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.4751, allocations: 480.7 kB / 497.1 MB, free: 16.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005012/0.4756, allocations: 147.1 kB / 497.3 MB, free: 16.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000519/0.4761, allocations: 187.4 kB / 497.5 MB, free: 16.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004599/0.4766, allocations: 203.8 kB / 497.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.4767, allocations: 42.91 kB / 497.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.4769, allocations: 39.62 kB / 497.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.477, allocations: 92.88 kB / 497.8 MB, free: 16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.4774, allocations: 200.6 kB / 498 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.4785, allocations: 470 kB / 498.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.4786, allocations: 0 / 498.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.4786, allocations: 0 / 498.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.4786, allocations: 0 / 498.5 MB, free: 15.7 MB / 382.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.00218/0.4808, allocations: 0.7059 MB / 499.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.266e-05/0.4809, allocations: 13.05 kB / 499.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.481, allocations: 48.58 kB / 499.3 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007306/0.4818, allocations: 298.1 kB / 499.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.098e-05/0.4818, allocations: 29.09 kB / 499.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.4819, allocations: 37.38 kB / 499.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009962/0.4829, allocations: 351.7 kB / 500 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.483, allocations: 0 / 500 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.483, allocations: 15.47 kB / 500 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/0.4831, allocations: 9.562 kB / 500 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008437/0.4839, allocations: 301.6 kB / 0.4885 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/0.4866, allocations: 1.333 MB / 0.4898 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.4873, allocations: 281.1 kB / 0.4901 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003836/0.4877, allocations: 156.8 kB / 0.4903 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.4878, allocations: 3.938 kB / 0.4903 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.4878, allocations: 44.77 kB / 0.4903 GB, free: 13.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.4878, allocations: 0 / 0.4903 GB, free: 13.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001067/0.4889, allocations: 381.5 kB / 0.4907 GB, free: 13.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.4889, allocations: 55.06 kB / 0.4907 GB, free: 13.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/0.4894, allocations: 265.3 kB / 0.491 GB, free: 13.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.4894, allocations: 31.08 kB / 0.491 GB, free: 13.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.4896, allocations: 204.7 kB / 0.4912 GB, free: 12.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.4897, allocations: 114.4 kB / 0.4913 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.4899, allocations: 76.53 kB / 0.4914 GB, free: 12.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4901, allocations: 338.4 kB / 0.4917 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.4904, allocations: 102.4 kB / 0.4918 GB, free: 12.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.4908, allocations: 173.6 kB / 0.492 GB, free: 12.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006259/0.4914, allocations: 297.7 kB / 0.4923 GB, free: 12.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4914, allocations: 1.375 kB / 0.4923 GB, free: 12.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000827/0.4923, allocations: 369.8 kB / 0.4926 GB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.4923, allocations: 7.25 kB / 0.4926 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.4923, allocations: 2.125 kB / 0.4926 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/0.4923, allocations: 8.719 kB / 0.4926 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.4929, allocations: 108.2 kB / 0.4927 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.4929, allocations: 4.922 kB / 0.4927 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.4932, allocations: 38.25 kB / 0.4928 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.4932, allocations: 16.86 kB / 0.4928 GB, free: 11.9 MB / 382.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.0001485/0.4934, allocations: 152.4 kB / 0.4929 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.4934, allocations: 30.3 kB / 0.493 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007695/0.4942, allocations: 327.5 kB / 0.4933 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4942, allocations: 2.75 kB / 0.4933 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.4943, allocations: 1.375 kB / 0.4933 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.4943, allocations: 1.969 kB / 0.4933 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000622/0.4949, allocations: 411.9 kB / 0.4937 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4949, allocations: 0 / 0.4937 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/0.4954, allocations: 84.45 kB / 0.4938 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4954, allocations: 1.188 kB / 0.4938 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.4954, allocations: 10.45 kB / 0.4938 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4954, allocations: 1.438 kB / 0.4938 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4954, allocations: 1.578 kB / 0.4938 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.4965, allocations: 0.5118 MB / 0.4943 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.4967, allocations: 129 kB / 0.4944 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.4967, allocations: 6.156 kB / 0.4944 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.4969, allocations: 16.14 kB / 0.4944 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.4971, allocations: 22.12 kB / 0.4944 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.4971, allocations: 10.48 kB / 0.4944 GB, free: 10.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002586/0.4974, allocations: 190.5 kB / 0.4946 GB, free: 10.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.763e-06/0.4974, allocations: 0 / 0.4946 GB, free: 10.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004511/0.4978, allocations: 98.69 kB / 0.4947 GB, free: 10.7 MB / 382.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.0001363/0.498, allocations: 97.7 kB / 0.4948 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007321/0.4987, allocations: 277.8 kB / 0.4951 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4987, allocations: 5.062 kB / 0.4951 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.4991, allocations: 133.7 kB / 0.4952 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.4995, allocations: 43.22 kB / 0.4953 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.5014, allocations: 0.7447 MB / 0.496 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.5018, allocations: 0.7859 MB / 0.4967 GB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.502, allocations: 34.36 kB / 0.4968 GB, free: 9.242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.5021, allocations: 27.58 kB / 0.4968 GB, free: 9.234 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.5021, allocations: 4 kB / 0.4968 GB, free: 9.23 MB / 382.1 MB Notification: Performance of Templates: time 0.00861/0.5107, allocations: 2.757 MB / 0.4995 GB, free: 7.84 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1)