Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001628/0.001627, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.729/1.729, allocations: 194.3 MB / 207.5 MB, free: 3.383 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001663/0.001663, allocations: 122.3 kB / 252.6 MB, free: 4.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2297/0.2297, allocations: 39.95 MB / 337.5 MB, free: 460 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.181e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4707/0.5882, allocations: 103.8 MB / 0.5458 GB, free: 4.062 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.5884, allocations: 82.31 kB / 0.5459 GB, free: 4.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2311/0.8195, allocations: 91.11 MB / 0.6349 GB, free: 464 kB / 442.7 MB Notification: Performance of FrontEnd: time 6.132e-06/0.8196, allocations: 3.984 kB / 0.6349 GB, free: 460 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002086/0.8198, allocations: 87.94 kB / 0.635 GB, free: 372 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1642 * Number of variables: 1642 Notification: Performance of Generate backend data structure: time 0.01484/0.8346, allocations: 4.144 MB / 0.639 GB, free: 12.15 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.8347, allocations: 11.97 kB / 0.639 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02077/0.8555, allocations: 4.432 MB / 0.6434 GB, free: 7.695 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01636/0.8719, allocations: 4.734 MB / 0.648 GB, free: 2.895 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004366/0.8724, allocations: 357.2 kB / 0.6483 GB, free: 2.543 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002428/0.8748, allocations: 459.8 kB / 0.6488 GB, free: 2.094 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02208/0.8969, allocations: 10.56 MB / 0.6591 GB, free: 6.512 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001608/0.8971, allocations: 67.39 kB / 0.6591 GB, free: 6.445 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006822/0.8978, allocations: 219.9 kB / 0.6594 GB, free: 6.23 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001311/0.8992, allocations: 0.9878 MB / 0.6603 GB, free: 5.238 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3723/1.271, allocations: 8.444 MB / 0.6686 GB, free: 102.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05845/1.33, allocations: 46.87 MB / 0.7143 GB, free: 74.34 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005106/1.335, allocations: 2.924 MB / 0.7172 GB, free: 73.66 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/1.337, allocations: 1.589 MB / 0.7187 GB, free: 73.63 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003526/1.337, allocations: 337.9 kB / 0.7191 GB, free: 73.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/1.337, allocations: 50.16 kB / 0.7191 GB, free: 73.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=176): time 4.92e-06/1.337, allocations: 3.281 kB / 0.7191 GB, free: 73.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=194): time 0.02205/1.359, allocations: 11.27 MB / 0.7301 GB, free: 69.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/1.36, allocations: 201.7 kB / 0.7303 GB, free: 69.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004487/1.364, allocations: 3.346 MB / 0.7336 GB, free: 67.97 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000277/1.364, allocations: 49.2 kB / 0.7336 GB, free: 67.92 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001716/1.366, allocations: 3.219 MB / 0.7368 GB, free: 65.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006693/1.367, allocations: 0.7386 MB / 0.7375 GB, free: 65.06 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/1.367, allocations: 116 kB / 0.7376 GB, free: 64.97 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002652/1.367, allocations: 0.5602 MB / 0.7382 GB, free: 64.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002424/1.37, allocations: 1.999 MB / 0.7401 GB, free: 63.89 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003978/1.374, allocations: 5.646 MB / 0.7456 GB, free: 58.31 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003879/1.378, allocations: 3.332 MB / 0.7489 GB, free: 57.38 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.955e-05/1.378, allocations: 34.75 kB / 0.7489 GB, free: 57.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.0114/1.389, allocations: 7.609 MB / 0.7563 GB, free: 54.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.219e-05/1.389, allocations: 58.94 kB / 0.7564 GB, free: 54.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/1.389, allocations: 131.2 kB / 0.7565 GB, free: 54.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007367/1.39, allocations: 383.7 kB / 0.7569 GB, free: 54.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004453/1.395, allocations: 1.424 MB / 0.7583 GB, free: 54.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003075/1.398, allocations: 3.013 MB / 0.7612 GB, free: 52.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005229/1.403, allocations: 343 kB / 0.7615 GB, free: 52.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/1.404, allocations: 369.7 kB / 0.7619 GB, free: 52.22 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 740 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001005/1.405, allocations: 0.5705 MB / 0.7625 GB, free: 51.74 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007806/1.406, allocations: 338.2 kB / 0.7628 GB, free: 51.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004085/1.41, allocations: 2.614 MB / 0.7653 GB, free: 50.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/1.41, allocations: 19.53 kB / 0.7653 GB, free: 50.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/1.41, allocations: 3.656 kB / 0.7653 GB, free: 50.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/1.41, allocations: 16.81 kB / 0.7654 GB, free: 50.56 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/1.423, allocations: 7.449 MB / 0.7726 GB, free: 47.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/1.423, allocations: 3.188 kB / 0.7726 GB, free: 47.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/1.424, allocations: 351.3 kB / 0.773 GB, free: 47.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005038/1.425, allocations: 187.2 kB / 0.7732 GB, free: 47.76 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/1.425, allocations: 35.02 kB / 0.7732 GB, free: 47.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/1.427, allocations: 2.55 MB / 0.7757 GB, free: 45.87 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.378e-05/1.427, allocations: 7.938 kB / 0.7757 GB, free: 45.87 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006608/1.434, allocations: 5.155 MB / 0.7807 GB, free: 41.28 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/1.436, allocations: 0.6216 MB / 0.7813 GB, free: 40.69 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003632/1.436, allocations: 35.89 kB / 0.7814 GB, free: 40.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/1.438, allocations: 118.4 kB / 0.7815 GB, free: 40.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003036/1.438, allocations: 125.8 kB / 0.7816 GB, free: 40.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/1.438, allocations: 55.03 kB / 0.7816 GB, free: 40.45 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003586/1.442, allocations: 2.325 MB / 0.7839 GB, free: 38.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.442, allocations: 0 / 0.7839 GB, free: 38.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005562/1.447, allocations: 0.9843 MB / 0.7849 GB, free: 37.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004683/1.448, allocations: 166.9 kB / 0.785 GB, free: 37.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007705/1.455, allocations: 4.891 MB / 0.7898 GB, free: 32.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.456, allocations: 0 / 0.7898 GB, free: 32.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001933/1.457, allocations: 1.532 MB / 0.7913 GB, free: 31.45 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/1.46, allocations: 385.8 kB / 0.7917 GB, free: 31.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/1.479, allocations: 7.67 MB / 0.7992 GB, free: 24.28 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00623/1.485, allocations: 3.539 MB / 0.8026 GB, free: 21.58 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005966/1.491, allocations: 1.94 MB / 0.8045 GB, free: 20.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/1.493, allocations: 258.8 kB / 0.8048 GB, free: 20.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.523e-06/1.493, allocations: 0 / 0.8048 GB, free: 20.12 MB / 474.7 MB Notification: Performance of Templates: time 0.0689/1.562, allocations: 32.48 MB / 0.8365 GB, free: 8.508 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1)