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.0008698/0.0008698, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00527/0.00527, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.817/1.817, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3778/0.3778, allocations: 40 MB / 310.7 MB, free: 9.586 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.0006417/0.0006416, allocations: 16 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1623, allocations: 57.96 MB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.004256/0.1666, allocations: 2.64 MB / 440.1 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.1686, allocations: 0.7491 MB / 440.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004597/0.1691, allocations: 4 kB / 440.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.1695, allocations: 43.62 kB / 440.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004947/0.17, allocations: 83.31 kB / 440.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.1705, allocations: 107.9 kB / 441 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008209/0.1713, allocations: 454.4 kB / 441.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003407/0.1716, allocations: 132.4 kB / 441.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004235/0.1721, allocations: 159.3 kB / 441.8 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.1725, allocations: 183.1 kB / 441.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.62e-05/0.1726, allocations: 20 kB / 442 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.019e-05/0.1727, allocations: 20 kB / 442 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.494e-05/0.1727, allocations: 67.62 kB / 442 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.173, allocations: 208.7 kB / 442.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.1735, allocations: 430.2 kB / 442.7 MB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1735, allocations: 0 / 442.7 MB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1735, allocations: 0 / 442.7 MB, free: 12.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.1735, allocations: 0 / 442.7 MB, free: 12.61 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.001559/0.1751, allocations: 0.6474 MB / 443.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.1752, allocations: 8.031 kB / 443.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.1754, allocations: 40.47 kB / 443.4 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.1759, allocations: 291.3 kB / 443.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.1759, allocations: 33.36 kB / 443.7 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-05/0.176, allocations: 44.28 kB / 443.7 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007723/0.1768, allocations: 346.8 kB / 444.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.1768, allocations: 3.984 kB / 444.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.1769, allocations: 16 kB / 444.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.1769, allocations: 8 kB / 444.1 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007292/0.1777, allocations: 315.8 kB / 444.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.1805, allocations: 1.349 MB / 445.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005828/0.1811, allocations: 280.8 kB / 446 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/0.1814, allocations: 173.4 kB / 446.2 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.1815, allocations: 12.16 kB / 446.2 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.1815, allocations: 30.84 kB / 446.2 MB, free: 8.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.883e-06/0.1815, allocations: 0 / 446.2 MB, free: 8.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009798/0.1825, allocations: 398.4 kB / 446.6 MB, free: 8.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.1826, allocations: 55.41 kB / 446.7 MB, free: 8.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/0.183, allocations: 262.7 kB / 446.9 MB, free: 8.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.183, allocations: 29.7 kB / 447 MB, free: 8.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.1832, allocations: 207.9 kB / 447.2 MB, free: 7.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.1833, allocations: 122.3 kB / 447.3 MB, free: 7.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/0.1834, allocations: 37.7 kB / 447.3 MB, free: 7.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.1836, allocations: 334.8 kB / 447.6 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.1839, allocations: 108.8 kB / 447.8 MB, free: 7.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.1842, allocations: 183.4 kB / 447.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005655/0.1848, allocations: 300.6 kB / 448.2 MB, free: 6.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1848, allocations: 4 kB / 448.2 MB, free: 6.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007329/0.1856, allocations: 378.1 kB / 448.6 MB, free: 6.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1856, allocations: 8.219 kB / 448.6 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1856, allocations: 4 kB / 448.6 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1856, allocations: 4 kB / 448.6 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.1861, allocations: 111.8 kB / 448.7 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.1862, allocations: 7.984 kB / 448.7 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.1865, allocations: 39.61 kB / 448.8 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.1865, allocations: 19.94 kB / 448.8 MB, free: 6.172 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.0002264/0.1868, allocations: 153.7 kB / 448.9 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.733e-05/0.1868, allocations: 31.62 kB / 449 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007968/0.1876, allocations: 332.3 kB / 449.3 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.1877, allocations: 4 kB / 449.3 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1877, allocations: 4 kB / 449.3 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.1877, allocations: 3.984 kB / 449.3 MB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/0.1883, allocations: 401.1 kB / 449.7 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.1883, allocations: 0 / 449.7 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.1887, allocations: 83.88 kB / 449.8 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1887, allocations: 4 kB / 449.8 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.1888, allocations: 7.984 kB / 449.8 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1888, allocations: 4 kB / 449.8 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1888, allocations: 0 / 449.8 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009687/0.1898, allocations: 0.5418 MB / 450.3 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.1899, allocations: 128.6 kB / 450.5 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.19, allocations: 12 kB / 450.5 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.1902, allocations: 15.98 kB / 450.5 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.1903, allocations: 19.97 kB / 450.5 MB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.1903, allocations: 12 kB / 450.5 MB, free: 4.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.1905, allocations: 197.8 kB / 450.7 MB, free: 4.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1905, allocations: 0 / 450.7 MB, free: 4.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003926/0.1909, allocations: 87.84 kB / 450.8 MB, free: 4.062 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.0001267/0.1911, allocations: 99.31 kB / 450.9 MB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006305/0.1917, allocations: 287.9 kB / 451.2 MB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.1917, allocations: 4.062 kB / 451.2 MB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.192, allocations: 139.8 kB / 451.3 MB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.1924, allocations: 36.3 kB / 451.4 MB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.194, allocations: 0.9662 MB / 452.3 MB, free: 2.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.1944, allocations: 0.7912 MB / 453.1 MB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001997/0.1946, allocations: 34.95 kB / 453.1 MB, free: 1.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.1947, allocations: 27.42 kB / 453.2 MB, free: 1.625 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1947, allocations: 0 / 453.2 MB, free: 1.625 MB / 382.1 MB Notification: Performance of Templates: time 0.2543/0.449, allocations: 2.422 MB / 455.6 MB, free: 47.74 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: