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.001177/0.001177, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.733/1.733, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.3554/0.3554, allocations: 39.95 MB / 309.7 MB, free: 9.324 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.001808/0.001808, allocations: 75.83 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1696, allocations: 56.88 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.005987/0.1757, allocations: 2.972 MB / 437.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1774, allocations: 0.7685 MB / 438.2 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.1777, allocations: 8 kB / 438.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.1779, allocations: 55.39 kB / 438.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.1782, allocations: 107 kB / 438.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.1786, allocations: 115.8 kB / 438.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005488/0.1791, allocations: 470.5 kB / 439 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.1795, allocations: 160 kB / 439.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.1798, allocations: 183.3 kB / 439.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.18, allocations: 211.1 kB / 439.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.872e-05/0.1801, allocations: 36 kB / 439.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.161e-05/0.1802, allocations: 40 kB / 439.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.1803, allocations: 95.66 kB / 439.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.1805, allocations: 199 kB / 439.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006013/0.1811, allocations: 458.3 kB / 440.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.1812, allocations: 0 / 440.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1812, allocations: 0 / 440.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.1812, allocations: 4 kB / 440.3 MB, free: 13.81 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.001619/0.1828, allocations: 0.7058 MB / 441 MB, free: 13.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/0.1829, allocations: 11.89 kB / 441 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.183, allocations: 44.38 kB / 441.1 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.1834, allocations: 287.3 kB / 441.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.1835, allocations: 33.38 kB / 441.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.218e-05/0.1836, allocations: 36.38 kB / 441.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.1842, allocations: 350.8 kB / 441.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.1842, allocations: 0 / 441.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.1843, allocations: 12 kB / 441.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.1843, allocations: 12 kB / 441.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006244/0.1849, allocations: 303.8 kB / 442.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.1872, allocations: 1.349 MB / 443.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005374/0.1878, allocations: 284.8 kB / 443.7 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.1881, allocations: 157.4 kB / 443.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.1881, allocations: 4.281 kB / 443.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.1882, allocations: 38.84 kB / 443.9 MB, free: 10.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.413e-06/0.1882, allocations: 0 / 443.9 MB, free: 10.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008991/0.1891, allocations: 378.4 kB / 444.3 MB, free: 9.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.1892, allocations: 55.41 kB / 444.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.1895, allocations: 266.6 kB / 444.6 MB, free: 9.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.1895, allocations: 29.7 kB / 444.6 MB, free: 9.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.1897, allocations: 203.9 kB / 444.8 MB, free: 9.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.1898, allocations: 122.3 kB / 445 MB, free: 8.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.1899, allocations: 77.97 kB / 445 MB, free: 8.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1901, allocations: 338.8 kB / 445.4 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.1903, allocations: 100.8 kB / 445.5 MB, free: 8.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.1906, allocations: 175.5 kB / 445.6 MB, free: 8.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005463/0.1912, allocations: 292.6 kB / 445.9 MB, free: 7.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1912, allocations: 0 / 445.9 MB, free: 7.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006758/0.1919, allocations: 365.8 kB / 446.3 MB, free: 7.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.1919, allocations: 8.219 kB / 446.3 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.1919, allocations: 4 kB / 446.3 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.4e-05/0.192, allocations: 4 kB / 446.3 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.1925, allocations: 111.7 kB / 446.4 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.1925, allocations: 4 kB / 446.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.1928, allocations: 43.61 kB / 446.4 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.1929, allocations: 12 kB / 446.5 MB, free: 7.367 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.0001943/0.1931, allocations: 149.7 kB / 446.6 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.1931, allocations: 35.62 kB / 446.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007372/0.1939, allocations: 328.3 kB / 447 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.1939, allocations: 4 kB / 447 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1939, allocations: 0 / 447 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1939, allocations: 0 / 447 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.1945, allocations: 409.1 kB / 447.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1945, allocations: 0 / 447.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/0.195, allocations: 87.89 kB / 447.5 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.195, allocations: 4 kB / 447.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.195, allocations: 11.98 kB / 447.5 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.195, allocations: 0 / 447.5 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.1951, allocations: 3.984 kB / 447.5 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009825/0.196, allocations: 0.5106 MB / 448 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.1962, allocations: 136.7 kB / 448.1 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.1963, allocations: 8 kB / 448.1 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.1965, allocations: 15.92 kB / 448.1 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-05/0.1966, allocations: 19.97 kB / 448.2 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.1966, allocations: 8 kB / 448.2 MB, free: 5.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.1969, allocations: 190 kB / 448.4 MB, free: 5.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1969, allocations: 0 / 448.4 MB, free: 5.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004254/0.1973, allocations: 91.84 kB / 448.4 MB, free: 5.289 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.0001992/0.1975, allocations: 103.2 kB / 448.5 MB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007675/0.1983, allocations: 291.5 kB / 448.8 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.1983, allocations: 3.938 kB / 448.8 MB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.1986, allocations: 131.8 kB / 449 MB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.1992, allocations: 40.86 kB / 449 MB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.2008, allocations: 0.7555 MB / 449.8 MB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.2013, allocations: 0.7835 MB / 450.5 MB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001891/0.2015, allocations: 34.95 kB / 450.6 MB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.118e-05/0.2016, allocations: 31.42 kB / 450.6 MB, free: 3.059 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2016, allocations: 0 / 450.6 MB, free: 3.059 MB / 382.1 MB Notification: Performance of Templates: time 0.007054/0.2086, allocations: 2.63 MB / 453.2 MB, free: 444 kB / 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)