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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007899/0.007899, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.895/1.895, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.4152/0.4152, allocations: 40 MB / 310.7 MB, free: 9.531 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.0005935/0.0005935, allocations: 16 kB / 379.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1348, allocations: 57.96 MB / 437.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3173/0.4521, allocations: 51.84 MB / 489.2 MB, free: 20.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03038/0.4826, allocations: 11.07 MB / 0.4886 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01524/0.4979, allocations: 219.1 kB / 0.4888 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.4999, allocations: 426.6 kB / 0.4892 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00582/0.5058, allocations: 1.776 MB / 0.4909 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.5078, allocations: 0.6518 MB / 0.4916 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008067/0.5159, allocations: 6.133 MB / 0.4976 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00915/0.5251, allocations: 5.047 MB / 0.5025 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003291/0.5285, allocations: 1.155 MB / 0.5036 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0045/0.533, allocations: 2.065 MB / 0.5056 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001521/0.5346, allocations: 158.5 kB / 0.5058 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003661/0.5382, allocations: 1.091 MB / 0.5069 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00357/0.5418, allocations: 1.827 MB / 0.5086 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005358/0.5472, allocations: 2.122 MB / 0.5107 GB, free: 5.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.5601, allocations: 7.31 MB / 0.5179 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5601, allocations: 0 / 0.5179 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5601, allocations: 0 / 0.5179 GB, free: 1.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004477/0.5606, allocations: 0 / 0.5179 GB, free: 1.688 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: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.016/0.5766, allocations: 4.063 MB / 0.5218 GB, free: 14.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.5767, allocations: 13.94 kB / 0.5218 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01942/0.5961, allocations: 2.6 MB / 0.5244 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008296/0.6045, allocations: 2.691 MB / 0.527 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003212/0.6048, allocations: 258.3 kB / 0.5273 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001781/0.6066, allocations: 335.8 kB / 0.5276 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02316/0.6298, allocations: 10.46 MB / 0.5378 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002427/0.6301, allocations: 43.66 kB / 0.5378 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001429/0.6315, allocations: 159.8 kB / 0.538 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003764/0.6353, allocations: 2.096 MB / 0.54 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/0.6548, allocations: 8.768 MB / 0.5486 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05504/0.7099, allocations: 38.69 MB / 0.5864 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00625/0.7162, allocations: 3.06 MB / 0.5894 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00264/0.7188, allocations: 1.752 MB / 0.5911 GB, free: 8.035 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004274/0.7193, allocations: 344.2 kB / 0.5914 GB, free: 7.645 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.6e-05/0.7193, allocations: 47.56 kB / 0.5914 GB, free: 7.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=176): time 4.519e-06/0.7194, allocations: 3.938 kB / 0.5915 GB, free: 7.586 MB / 462.1 MB Notification: Performance of matching and sorting (n=194): time 0.0381/0.7575, allocations: 15.04 MB / 0.6061 GB, free: 8.402 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.7576, allocations: 197.2 kB / 0.6063 GB, free: 8.168 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007158/0.7648, allocations: 3.843 MB / 0.6101 GB, free: 4.336 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004364/0.7653, allocations: 57.7 kB / 0.6101 GB, free: 4.273 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002649/0.7679, allocations: 3.19 MB / 0.6133 GB, free: 1.035 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001073/0.769, allocations: 0.7404 MB / 0.614 GB, free: 292 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/0.7703, allocations: 0.523 MB / 0.6145 GB, free: 15.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.7705, allocations: 305.1 kB / 0.6148 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004566/0.775, allocations: 2.28 MB / 0.617 GB, free: 13.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007029/0.7821, allocations: 5.973 MB / 0.6228 GB, free: 5.355 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2339/1.016, allocations: 8.885 MB / 0.6315 GB, free: 135.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001017/1.016, allocations: 39.84 kB / 0.6316 GB, free: 135.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.0163/1.032, allocations: 8.524 MB / 0.6399 GB, free: 134.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.811e-05/1.033, allocations: 61.41 kB / 0.6399 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/1.033, allocations: 133.7 kB / 0.6401 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/1.034, allocations: 0.6806 MB / 0.6407 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004809/1.039, allocations: 1.461 MB / 0.6422 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/1.043, allocations: 4.081 MB / 0.6461 GB, free: 132.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005639/1.049, allocations: 374.5 kB / 0.6465 GB, free: 132 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/1.05, allocations: 372.9 kB / 0.6469 GB, free: 132 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 30 (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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (764): * Single equations (assignments): 760 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005252/1.056, allocations: 2.237 MB / 0.649 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007646/1.056, allocations: 339.5 kB / 0.6494 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005733/1.062, allocations: 3.299 MB / 0.6526 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.284e-05/1.062, allocations: 22.16 kB / 0.6526 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/1.062, allocations: 13.67 kB / 0.6526 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/1.062, allocations: 6.797 kB / 0.6526 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/1.079, allocations: 8.196 MB / 0.6606 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/1.079, allocations: 1.312 kB / 0.6606 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/1.081, allocations: 356.5 kB / 0.661 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/1.082, allocations: 0.5069 MB / 0.6615 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001967/1.082, allocations: 40.86 kB / 0.6615 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004155/1.087, allocations: 3.637 MB / 0.6651 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.087, allocations: 1.25 kB / 0.6651 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/1.098, allocations: 6.011 MB / 0.6709 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00202/1.1, allocations: 0.6508 MB / 0.6716 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/1.101, allocations: 32.66 kB / 0.6716 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/1.103, allocations: 134.4 kB / 0.6717 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004787/1.104, allocations: 131.5 kB / 0.6718 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002321/1.104, allocations: 51.02 kB / 0.6719 GB, free: 122 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006093/1.11, allocations: 2.391 MB / 0.6742 GB, free: 121.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.41e-07/1.11, allocations: 0 / 0.6742 GB, free: 121.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007425/1.117, allocations: 1.024 MB / 0.6752 GB, free: 121 MB / 494.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000892/1.118, allocations: 170.3 kB / 0.6754 GB, free: 120.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00973/1.128, allocations: 5.397 MB / 0.6807 GB, free: 119.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.128, allocations: 0 / 0.6807 GB, free: 119.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003111/1.131, allocations: 1.746 MB / 0.6824 GB, free: 118.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004109/1.135, allocations: 403.1 kB / 0.6828 GB, free: 118.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/1.158, allocations: 11.9 MB / 0.6944 GB, free: 109.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00633/1.164, allocations: 3.455 MB / 0.6977 GB, free: 106.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005026/1.169, allocations: 1.95 MB / 0.6997 GB, free: 105.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008268/1.17, allocations: 250.6 kB / 0.6999 GB, free: 104.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.143e-06/1.17, allocations: 0 / 0.6999 GB, free: 104.9 MB / 494.1 MB Notification: Performance of Templates: time 0.06055/1.231, allocations: 34.75 MB / 0.7338 GB, free: 71.44 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: