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.0007997/0.0007997, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0009282/0.0009284, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.4 MB / 222.1 MB, free: 5.621 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.442/0.442, allocations: 39.99 MB / 310.4 MB, free: 9.961 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.0005863/0.0005864, allocations: 19.94 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1579, allocations: 57.96 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003203/0.1612, allocations: 2.525 MB / 439.3 MB, free: 20 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1626, allocations: 0.7415 MB / 440.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.1628, allocations: 11.88 kB / 440.1 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.163, allocations: 47.62 kB / 440.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.1632, allocations: 75.31 kB / 440.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1634, allocations: 91.88 kB / 440.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.1639, allocations: 426.5 kB / 440.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.1641, allocations: 118.6 kB / 440.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.1643, allocations: 159.4 kB / 441 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.1646, allocations: 175.2 kB / 441.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.1646, allocations: 20 kB / 441.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.802e-05/0.1647, allocations: 20 kB / 441.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.1648, allocations: 71.73 kB / 441.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.515e-05/0.1649, allocations: 89.45 kB / 441.3 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.1652, allocations: 343 kB / 441.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1652, allocations: 0 / 441.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1652, allocations: 0 / 441.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1652, allocations: 0 / 441.7 MB, free: 13.64 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.001253/0.1665, allocations: 0.6394 MB / 442.3 MB, free: 12.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1665, allocations: 16.02 kB / 442.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.268e-05/0.1666, allocations: 39.53 kB / 442.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.167, allocations: 270.4 kB / 442.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.167, allocations: 29 kB / 442.7 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.373e-05/0.1671, allocations: 39.95 kB / 442.7 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.1678, allocations: 350.4 kB / 443 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1678, allocations: 0 / 443 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.1678, allocations: 16 kB / 443.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1679, allocations: 12 kB / 443.1 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006052/0.1685, allocations: 307.8 kB / 443.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.1707, allocations: 1.349 MB / 444.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/0.1712, allocations: 276.8 kB / 445 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.1715, allocations: 169.3 kB / 445.2 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.1715, allocations: 8.281 kB / 445.2 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.1716, allocations: 34.84 kB / 445.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.433e-06/0.1716, allocations: 0 / 445.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008373/0.1724, allocations: 402.3 kB / 445.6 MB, free: 9.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.1725, allocations: 55.41 kB / 445.6 MB, free: 9.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.1728, allocations: 258.7 kB / 445.9 MB, free: 9.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.1728, allocations: 29.7 kB / 445.9 MB, free: 9.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.1729, allocations: 211.9 kB / 446.1 MB, free: 8.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.604e-05/0.173, allocations: 110.3 kB / 446.2 MB, free: 8.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.1731, allocations: 12 kB / 446.3 MB, free: 8.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1732, allocations: 342.8 kB / 446.6 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.1735, allocations: 104.8 kB / 446.7 MB, free: 8.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.1738, allocations: 179.4 kB / 446.9 MB, free: 8.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.174, allocations: 137.5 kB / 447 MB, free: 8.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1741, allocations: 4 kB / 447 MB, free: 8.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006488/0.1747, allocations: 370.9 kB / 447.4 MB, free: 7.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1747, allocations: 4.219 kB / 447.4 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1748, allocations: 8 kB / 447.4 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1748, allocations: 4 kB / 447.4 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.1753, allocations: 111.7 kB / 447.5 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1753, allocations: 4 kB / 447.5 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.1755, allocations: 47.52 kB / 447.5 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.1756, allocations: 12 kB / 447.6 MB, free: 7.469 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.1757, allocations: 149.8 kB / 447.7 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.1758, allocations: 31.58 kB / 447.7 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006657/0.1765, allocations: 344.3 kB / 448.1 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.1765, allocations: 4 kB / 448.1 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1765, allocations: 4 kB / 448.1 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.1765, allocations: 3.984 kB / 448.1 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.177, allocations: 393.2 kB / 448.5 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.177, allocations: 0 / 448.5 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.1774, allocations: 87.88 kB / 448.5 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1774, allocations: 4 kB / 448.5 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.1775, allocations: 7.953 kB / 448.6 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1775, allocations: 4 kB / 448.6 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1775, allocations: 0 / 448.6 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008703/0.1784, allocations: 0.526 MB / 449.1 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.1785, allocations: 140.7 kB / 449.2 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.1786, allocations: 7.938 kB / 449.2 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.1788, allocations: 19.94 kB / 449.3 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.1788, allocations: 23.97 kB / 449.3 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1789, allocations: 4 kB / 449.3 MB, free: 5.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.179, allocations: 194 kB / 449.5 MB, free: 5.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1791, allocations: 0 / 449.5 MB, free: 5.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003619/0.1794, allocations: 91.75 kB / 449.6 MB, free: 5.359 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000127/0.1796, allocations: 107.2 kB / 449.7 MB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005669/0.1801, allocations: 291.8 kB / 449.9 MB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1801, allocations: 4.375 kB / 450 MB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.1804, allocations: 139.8 kB / 450.1 MB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.1808, allocations: 28.56 kB / 450.1 MB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.1823, allocations: 0.9388 MB / 451.1 MB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.1827, allocations: 0.7913 MB / 451.8 MB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002024/0.1829, allocations: 38.94 kB / 451.9 MB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.183, allocations: 27.44 kB / 451.9 MB, free: 2.934 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.183, allocations: 0 / 451.9 MB, free: 2.934 MB / 382.1 MB Notification: Performance of Templates: time 0.005769/0.1888, allocations: 2.366 MB / 454.3 MB, free: 0.5781 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: