Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001597/0.001597, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.36/1.36, allocations: 170.6 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001688/0.001688, allocations: 109.2 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2866/0.2866, allocations: 37.98 MB / 295.1 MB, free: 9.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.645e-05/1.648e-05, allocations: 3.594 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09077/0.0908, allocations: 48.73 MB / 398.7 MB, free: 5.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3862/0.4771, allocations: 96.31 MB / 495 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.4774, allocations: 79.34 kB / 495.1 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.231/0.7084, allocations: 89.17 MB / 0.5706 GB, free: 2.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.7085, allocations: 0 / 0.5706 GB, free: 2.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000336/0.7088, allocations: 84 kB / 0.5707 GB, free: 2.82 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01939/0.7283, allocations: 4.152 MB / 0.5747 GB, free: 14.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.84e-05/0.7283, allocations: 8.031 kB / 0.5747 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03726/0.7656, allocations: 4.432 MB / 0.5791 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02264/0.7883, allocations: 4.726 MB / 0.5837 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004688/0.7888, allocations: 148 kB / 0.5838 GB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002848/0.7917, allocations: 271.9 kB / 0.5841 GB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02234/0.8141, allocations: 6.308 MB / 0.5903 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03625/0.8504, allocations: 9.706 MB / 0.5997 GB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003163/0.8507, allocations: 59.41 kB / 0.5998 GB, free: 3.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00177/0.8525, allocations: 32 kB / 0.5998 GB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00235/0.8549, allocations: 0.9953 MB / 0.6008 GB, free: 2.812 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3342/1.189, allocations: 44.73 MB / 0.6445 GB, free: 62.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003861/1.193, allocations: 2.703 MB / 0.6471 GB, free: 61.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002273/1.195, allocations: 1.54 MB / 0.6486 GB, free: 61.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004892/1.196, allocations: 337.5 kB / 0.6489 GB, free: 61.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/1.196, allocations: 52.8 kB / 0.649 GB, free: 61.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 6.352e-06/1.196, allocations: 0 / 0.649 GB, free: 61.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=194): time 0.02583/1.222, allocations: 12.36 MB / 0.6611 GB, free: 58.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/1.222, allocations: 199.8 kB / 0.6612 GB, free: 58.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004088/1.226, allocations: 2.976 MB / 0.6641 GB, free: 57.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002612/1.226, allocations: 29.52 kB / 0.6642 GB, free: 57.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001591/1.228, allocations: 3.292 MB / 0.6674 GB, free: 56.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006493/1.229, allocations: 0.7223 MB / 0.6681 GB, free: 55.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/1.229, allocations: 0 / 0.6681 GB, free: 55.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002637/1.229, allocations: 0.57 MB / 0.6687 GB, free: 55.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002254/1.231, allocations: 1.935 MB / 0.6705 GB, free: 55.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003806/1.235, allocations: 5.764 MB / 0.6762 GB, free: 50.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003939/1.239, allocations: 3.311 MB / 0.6794 GB, free: 50.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.033e-05/1.239, allocations: 39.44 kB / 0.6794 GB, free: 50.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.0104/1.25, allocations: 7.021 MB / 0.6863 GB, free: 48.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.7e-05/1.25, allocations: 67.7 kB / 0.6864 GB, free: 48.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/1.25, allocations: 141.4 kB / 0.6865 GB, free: 48.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006936/1.251, allocations: 392.4 kB / 0.6869 GB, free: 48.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004437/1.255, allocations: 1.493 MB / 0.6883 GB, free: 48.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/1.258, allocations: 2.904 MB / 0.6912 GB, free: 46.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004819/1.263, allocations: 230.5 kB / 0.6914 GB, free: 46.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/1.264, allocations: 388 kB / 0.6918 GB, free: 46.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * 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 (780): * Single equations (assignments): 776 * 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.0009394/1.265, allocations: 447.9 kB / 0.6922 GB, free: 46.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008255/1.265, allocations: 316.8 kB / 0.6925 GB, free: 45.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003593/1.269, allocations: 2.491 MB / 0.6949 GB, free: 44.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/1.269, allocations: 29.36 kB / 0.6949 GB, free: 44.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.269, allocations: 3.438 kB / 0.6949 GB, free: 44.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/1.269, allocations: 7.172 kB / 0.695 GB, free: 44.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/1.28, allocations: 6.527 MB / 0.7013 GB, free: 42.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/1.28, allocations: 3.703 kB / 0.7013 GB, free: 42.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/1.282, allocations: 349.2 kB / 0.7017 GB, free: 42.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005162/1.282, allocations: 181 kB / 0.7018 GB, free: 42.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/1.282, allocations: 15.38 kB / 0.7019 GB, free: 42.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/1.285, allocations: 2.456 MB / 0.7043 GB, free: 40.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.285, allocations: 2.812 kB / 0.7043 GB, free: 40.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005786/1.291, allocations: 5 MB / 0.7091 GB, free: 38.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.292, allocations: 0.5995 MB / 0.7097 GB, free: 38.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003206/1.292, allocations: 3.062 kB / 0.7097 GB, free: 38.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/1.293, allocations: 94.53 kB / 0.7098 GB, free: 38.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/1.294, allocations: 132.3 kB / 0.7099 GB, free: 38.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/1.294, allocations: 52.09 kB / 0.71 GB, free: 38.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002901/1.297, allocations: 1.983 MB / 0.7119 GB, free: 37.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.7e-07/1.297, allocations: 0 / 0.7119 GB, free: 37.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004752/1.302, allocations: 0.8496 MB / 0.7128 GB, free: 37.4 MB / 426.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.0004001/1.302, allocations: 142.1 kB / 0.7129 GB, free: 37.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006426/1.308, allocations: 4.67 MB / 0.7175 GB, free: 35.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.308, allocations: 0 / 0.7175 GB, free: 35.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001614/1.31, allocations: 1.492 MB / 0.7189 GB, free: 34.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/1.312, allocations: 303.8 kB / 0.7192 GB, free: 33.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/1.326, allocations: 7.6 MB / 0.7266 GB, free: 27.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003646/1.329, allocations: 3.549 MB / 0.7301 GB, free: 24.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005533/1.335, allocations: 2.011 MB / 0.7321 GB, free: 23.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007835/1.336, allocations: 241.4 kB / 0.7323 GB, free: 22.93 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/1.336, allocations: 0 / 0.7323 GB, free: 22.93 MB / 426.7 MB Notification: Performance of Templates: time 0.04953/1.385, allocations: 28.54 MB / 0.7602 GB, free: 3.406 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1)