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.00138/0.00138, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.001871/0.001871, allocations: 189.3 kB / 16.25 MB, free: 6.148 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.675/1.675, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.4149/0.4149, allocations: 39.92 MB / 309.4 MB, free: 9.371 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.001775/0.001775, allocations: 67.91 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1679, allocations: 56.88 MB / 434 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.007269/0.1753, allocations: 3.022 MB / 437 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.178, allocations: 0.7607 MB / 437.8 MB, free: 228 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006198/0.1786, allocations: 8 kB / 437.8 MB, free: 220 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003907/0.1791, allocations: 39.62 kB / 437.8 MB, free: 180 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005751/0.1797, allocations: 91.3 kB / 437.9 MB, free: 88 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.1802, allocations: 99.97 kB / 438 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005581/0.1808, allocations: 470.5 kB / 438.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.1811, allocations: 151.9 kB / 438.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.1814, allocations: 195.3 kB / 438.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.1817, allocations: 203.1 kB / 439 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-05/0.1817, allocations: 40 kB / 439 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.436e-05/0.1818, allocations: 40 kB / 439.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.1819, allocations: 91.67 kB / 439.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.1821, allocations: 202.9 kB / 439.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005207/0.1826, allocations: 458.3 kB / 439.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.1826, allocations: 3.984 kB / 439.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1826, allocations: 0 / 439.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1827, allocations: 0 / 439.8 MB, free: 14.16 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.001478/0.1841, allocations: 0.7097 MB / 440.5 MB, free: 13.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.1842, allocations: 11.89 kB / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.701e-05/0.1843, allocations: 44.38 kB / 440.6 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.1847, allocations: 283.4 kB / 440.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.1848, allocations: 29.38 kB / 440.9 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-05/0.1848, allocations: 40.38 kB / 440.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007137/0.1856, allocations: 350.7 kB / 441.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1856, allocations: 4 kB / 441.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.1856, allocations: 12 kB / 441.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.1857, allocations: 12 kB / 441.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006206/0.1863, allocations: 307.8 kB / 441.6 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.189, allocations: 1.341 MB / 442.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.1897, allocations: 280.8 kB / 443.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.19, allocations: 157.4 kB / 443.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.261e-05/0.1901, allocations: 8.266 kB / 443.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.111e-05/0.1902, allocations: 34.84 kB / 443.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.334e-06/0.1902, allocations: 4 kB / 443.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001024/0.1912, allocations: 386.3 kB / 443.8 MB, free: 9.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.888e-05/0.1913, allocations: 55.41 kB / 443.8 MB, free: 9.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.1917, allocations: 258.7 kB / 444.1 MB, free: 9.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.1917, allocations: 29.7 kB / 444.1 MB, free: 9.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.192, allocations: 203.9 kB / 444.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.1921, allocations: 122.3 kB / 444.4 MB, free: 9.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.1923, allocations: 78.03 kB / 444.5 MB, free: 9.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002876/0.1926, allocations: 334.8 kB / 444.8 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.1929, allocations: 104.8 kB / 444.9 MB, free: 8.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.1932, allocations: 175.5 kB / 445.1 MB, free: 8.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.1938, allocations: 292.6 kB / 445.4 MB, free: 8.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1938, allocations: 0 / 445.4 MB, free: 8.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006986/0.1945, allocations: 373.8 kB / 445.8 MB, free: 7.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.1945, allocations: 8.219 kB / 445.8 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.1945, allocations: 4 kB / 445.8 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.741e-05/0.1946, allocations: 4 kB / 445.8 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/0.1951, allocations: 103.8 kB / 445.9 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.1951, allocations: 7.984 kB / 445.9 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.1954, allocations: 35.62 kB / 445.9 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.1954, allocations: 15.98 kB / 445.9 MB, free: 7.711 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.0002229/0.1956, allocations: 157.7 kB / 446.1 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.1957, allocations: 27.62 kB / 446.1 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006845/0.1964, allocations: 324.4 kB / 446.4 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1964, allocations: 4 kB / 446.4 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1964, allocations: 0 / 446.4 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1965, allocations: 3.984 kB / 446.5 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.197, allocations: 401.1 kB / 446.8 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.197, allocations: 0 / 446.8 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.1974, allocations: 83.88 kB / 446.9 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1974, allocations: 4 kB / 446.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.1974, allocations: 16 kB / 446.9 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1975, allocations: 3.938 kB / 446.9 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1975, allocations: 0 / 446.9 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008901/0.1984, allocations: 0.5144 MB / 447.5 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.1985, allocations: 136.7 kB / 447.6 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.1986, allocations: 8 kB / 447.6 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.1988, allocations: 12 kB / 447.6 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.1989, allocations: 15.97 kB / 447.6 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.1989, allocations: 15.98 kB / 447.6 MB, free: 5.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.1991, allocations: 186 kB / 447.8 MB, free: 5.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1991, allocations: 0 / 447.8 MB, free: 5.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003534/0.1995, allocations: 91.84 kB / 447.9 MB, free: 5.641 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.0001499/0.1997, allocations: 107.2 kB / 448 MB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006573/0.2003, allocations: 287.5 kB / 448.3 MB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2003, allocations: 3.938 kB / 448.3 MB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.2006, allocations: 135.8 kB / 448.4 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.201, allocations: 36.92 kB / 448.5 MB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.2027, allocations: 0.9001 MB / 449.4 MB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.2033, allocations: 0.7913 MB / 450.2 MB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001995/0.2035, allocations: 34.95 kB / 450.2 MB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.2036, allocations: 31.44 kB / 450.2 MB, free: 3.258 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2036, allocations: 0 / 450.2 MB, free: 3.258 MB / 382.1 MB Notification: Performance of Templates: time 0.007071/0.2107, allocations: 2.588 MB / 452.8 MB, free: 0.6797 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)