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.001132/0.001132, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001373/0.001373, allocations: 192.2 kB / 16.13 MB, free: 6.707 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.624/1.624, allocations: 205.1 MB / 222 MB, free: 4.766 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.4207/0.4207, allocations: 39.94 MB / 309.3 MB, free: 9.352 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.001378/0.001378, allocations: 70.56 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1414, allocations: 56.88 MB / 433.8 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.006659/0.1481, allocations: 3.022 MB / 436.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.1506, allocations: 0.7568 MB / 437.6 MB, free: 344 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002712/0.151, allocations: 8 kB / 437.6 MB, free: 336 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.1513, allocations: 43.62 kB / 437.6 MB, free: 292 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.1517, allocations: 87.3 kB / 437.7 MB, free: 204 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.1522, allocations: 103.9 kB / 437.8 MB, free: 100 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000598/0.1528, allocations: 454.4 kB / 438.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.1531, allocations: 140.4 kB / 438.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/0.1535, allocations: 163.3 kB / 438.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003434/0.1538, allocations: 199.1 kB / 438.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.45e-05/0.1539, allocations: 24 kB / 438.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/0.154, allocations: 28 kB / 438.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1541, allocations: 79.61 kB / 438.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002817/0.1544, allocations: 187 kB / 439.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.155, allocations: 446.3 kB / 439.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.155, allocations: 0 / 439.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1551, allocations: 0 / 439.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1551, allocations: 0 / 439.5 MB, free: 14.41 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.002105/0.1572, allocations: 0.7098 MB / 440.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.019e-05/0.1573, allocations: 12.02 kB / 440.2 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.1575, allocations: 44.38 kB / 440.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/0.158, allocations: 287.3 kB / 440.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.1581, allocations: 29.38 kB / 440.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.1582, allocations: 40.38 kB / 440.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009387/0.1592, allocations: 342.8 kB / 440.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.1592, allocations: 0 / 440.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-05/0.1593, allocations: 16 kB / 441 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.1593, allocations: 12 kB / 441 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000927/0.1602, allocations: 299.8 kB / 441.3 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.1633, allocations: 1.345 MB / 442.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007417/0.1641, allocations: 284.8 kB / 442.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/0.1645, allocations: 161.4 kB / 443 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.1646, allocations: 4.281 kB / 443.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.1646, allocations: 38.83 kB / 443.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.384e-06/0.1646, allocations: 3.938 kB / 443.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001261/0.1659, allocations: 382.4 kB / 443.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.166, allocations: 59.41 kB / 443.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.1664, allocations: 258.7 kB / 443.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.1664, allocations: 33.7 kB / 443.8 MB, free: 9.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.1666, allocations: 203.9 kB / 444 MB, free: 9.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.1668, allocations: 118.3 kB / 444.1 MB, free: 9.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.167, allocations: 77.95 kB / 444.2 MB, free: 9.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.1672, allocations: 338.8 kB / 444.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.1676, allocations: 104.8 kB / 444.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/0.168, allocations: 179.4 kB / 444.8 MB, free: 8.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007561/0.1688, allocations: 284.7 kB / 445.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1688, allocations: 0 / 445.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009553/0.1698, allocations: 377.8 kB / 445.5 MB, free: 8.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.1698, allocations: 8 kB / 445.5 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1698, allocations: 0 / 445.5 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.1698, allocations: 4 kB / 445.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006751/0.1705, allocations: 99.88 kB / 445.6 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.1706, allocations: 11.92 kB / 445.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.171, allocations: 43.84 kB / 445.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.171, allocations: 15.98 kB / 445.6 MB, free: 7.949 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.0002282/0.1713, allocations: 149.7 kB / 445.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.536e-05/0.1714, allocations: 31.62 kB / 445.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.1724, allocations: 324.2 kB / 446.1 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.1725, allocations: 4 kB / 446.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.1725, allocations: 4 kB / 446.1 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.1725, allocations: 3.984 kB / 446.1 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007489/0.1733, allocations: 405.1 kB / 446.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1733, allocations: 0 / 446.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/0.1739, allocations: 83.88 kB / 446.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1739, allocations: 0 / 446.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.1739, allocations: 8 kB / 446.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1739, allocations: 0 / 446.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1739, allocations: 0 / 446.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.1752, allocations: 0.5184 MB / 447.1 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.1754, allocations: 128.6 kB / 447.3 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.1755, allocations: 12 kB / 447.3 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.1758, allocations: 8 kB / 447.3 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.1759, allocations: 19.97 kB / 447.3 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.176, allocations: 11.98 kB / 447.3 MB, free: 6.164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002802/0.1763, allocations: 190 kB / 447.5 MB, free: 5.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1763, allocations: 0 / 447.5 MB, free: 5.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005367/0.1768, allocations: 91.84 kB / 447.6 MB, free: 5.891 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.0001782/0.177, allocations: 103.2 kB / 447.7 MB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009092/0.1779, allocations: 271.9 kB / 448 MB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1779, allocations: 8.062 kB / 448 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.1783, allocations: 131.9 kB / 448.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.1789, allocations: 40.42 kB / 448.1 MB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.1808, allocations: 0.8999 MB / 449 MB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.1812, allocations: 0.7873 MB / 449.8 MB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.1814, allocations: 38.95 kB / 449.9 MB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.534e-05/0.1815, allocations: 27.42 kB / 449.9 MB, free: 3.523 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1815, allocations: 0 / 449.9 MB, free: 3.523 MB / 382.1 MB Notification: Performance of Templates: time 0.006194/0.1877, allocations: 2.475 MB / 452.4 MB, free: 1.059 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)