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.001082/0.001081, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001009/0.001009, allocations: 177.3 kB / 15.94 MB, free: 228 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.801/1.801, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.4861/0.4861, allocations: 40 MB / 310.4 MB, free: 9.734 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.0006589/0.0006589, allocations: 16 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1732, allocations: 57.96 MB / 436.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003308/0.1765, allocations: 2.385 MB / 439.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1781, allocations: 0.7612 MB / 439.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.1783, allocations: 4 kB / 439.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.302e-05/0.1784, allocations: 43.62 kB / 440 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.1787, allocations: 119.7 kB / 440.1 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.179, allocations: 75.89 kB / 440.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003969/0.1794, allocations: 303.6 kB / 440.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002843/0.1797, allocations: 134.6 kB / 440.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.18, allocations: 155.3 kB / 440.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.1802, allocations: 179.2 kB / 440.9 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.1803, allocations: 20 kB / 440.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.063e-05/0.1803, allocations: 20 kB / 440.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.586e-05/0.1804, allocations: 63.75 kB / 441 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.974e-05/0.1805, allocations: 97.44 kB / 441.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.1808, allocations: 335 kB / 441.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1809, allocations: 4 kB / 441.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1809, allocations: 0 / 441.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1809, allocations: 0 / 441.4 MB, free: 13.6 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.001368/0.1822, allocations: 0.6433 MB / 442.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.1823, allocations: 8.031 kB / 442.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.1824, allocations: 39.53 kB / 442.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.1829, allocations: 278.4 kB / 442.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.1829, allocations: 29 kB / 442.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.598e-05/0.183, allocations: 39.95 kB / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006722/0.1837, allocations: 338.5 kB / 442.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.1837, allocations: 3.984 kB / 442.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/0.1838, allocations: 19.94 kB / 442.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1838, allocations: 12 kB / 442.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005964/0.1844, allocations: 307.8 kB / 443.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.1868, allocations: 1.353 MB / 444.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.1873, allocations: 280.8 kB / 444.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.1873, allocations: 4.281 kB / 444.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1874, allocations: 38.8 kB / 444.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.492e-06/0.1874, allocations: 0 / 444.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008682/0.1883, allocations: 395 kB / 445.2 MB, free: 9.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1883, allocations: 59.34 kB / 445.2 MB, free: 9.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.1886, allocations: 262.7 kB / 445.5 MB, free: 9.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.1887, allocations: 29.7 kB / 445.5 MB, free: 9.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.1888, allocations: 211.9 kB / 445.7 MB, free: 9.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.1889, allocations: 114.3 kB / 445.8 MB, free: 8.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.189, allocations: 8 kB / 445.9 MB, free: 8.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1891, allocations: 334.8 kB / 446.2 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.1894, allocations: 108.8 kB / 446.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.1897, allocations: 175.5 kB / 446.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.19, allocations: 133.5 kB / 446.6 MB, free: 8.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.19, allocations: 3.938 kB / 446.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006632/0.1906, allocations: 371.1 kB / 447 MB, free: 7.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1907, allocations: 7.953 kB / 447 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1907, allocations: 4 kB / 447 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1907, allocations: 4 kB / 447 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/0.1912, allocations: 107.8 kB / 447.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1912, allocations: 7.984 kB / 447.1 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.1915, allocations: 55.62 kB / 447.1 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.1915, allocations: 11.98 kB / 447.1 MB, free: 7.594 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.0001743/0.1917, allocations: 149.8 kB / 447.3 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.699e-05/0.1918, allocations: 31.56 kB / 447.3 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006594/0.1924, allocations: 340.2 kB / 447.7 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.1925, allocations: 4 kB / 447.7 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1925, allocations: 0 / 447.7 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1925, allocations: 3.984 kB / 447.7 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005032/0.193, allocations: 397.2 kB / 448.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.193, allocations: 0 / 448.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.1934, allocations: 87.88 kB / 448.1 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1934, allocations: 8 kB / 448.1 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.1935, allocations: 4 kB / 448.2 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.1935, allocations: 3.953 kB / 448.2 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1935, allocations: 4 kB / 448.2 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.1943, allocations: 0.5299 MB / 448.7 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.1945, allocations: 132.6 kB / 448.8 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.1945, allocations: 8 kB / 448.8 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.1947, allocations: 12 kB / 448.8 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.1948, allocations: 27.91 kB / 448.9 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.1949, allocations: 12.06 kB / 448.9 MB, free: 5.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.195, allocations: 193.9 kB / 449.1 MB, free: 5.574 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.195, allocations: 0 / 449.1 MB, free: 5.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00037/0.1954, allocations: 95.75 kB / 449.2 MB, free: 5.48 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.000136/0.1956, allocations: 99.23 kB / 449.3 MB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006172/0.1962, allocations: 295.8 kB / 449.5 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1962, allocations: 0 / 449.5 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002498/0.1965, allocations: 135.8 kB / 449.7 MB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.1968, allocations: 24.98 kB / 449.7 MB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.1983, allocations: 0.9466 MB / 450.6 MB, free: 3.949 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.1987, allocations: 0.7952 MB / 451.4 MB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.1989, allocations: 38.95 kB / 451.5 MB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.002e-05/0.199, allocations: 27.42 kB / 451.5 MB, free: 3.059 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.199, allocations: 0 / 451.5 MB, free: 3.059 MB / 382.1 MB Notification: Performance of Templates: time 0.006148/0.2051, allocations: 2.35 MB / 453.9 MB, free: 0.7188 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: