Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009883/0.0009882, allocations: 95.72 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 204.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 227.2 MB / 245.9 MB, free: 12.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2533/0.2533, allocations: 45.91 MB / 344 MB, free: 12.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002743, allocations: 11.98 kB / 417.9 MB, free: 20.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1445, allocations: 63.46 MB / 481.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3056/0.4501, allocations: 44.41 MB / 0.5135 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02867/0.4788, allocations: 10.83 MB / 0.524 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0124/0.4913, allocations: 218.4 kB / 0.5243 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009939/0.5013, allocations: 2.232 MB / 0.5264 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02534/0.5266, allocations: 6.432 MB / 0.5327 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005085/0.5317, allocations: 0.5936 MB / 0.5333 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0358/0.5676, allocations: 24.82 MB / 0.5575 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006638/0.5742, allocations: 4.186 MB / 0.5616 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002016/0.5763, allocations: 0.9265 MB / 0.5625 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/0.5781, allocations: 1.207 MB / 0.5637 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003792/0.5785, allocations: 139.9 kB / 0.5638 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.5803, allocations: 0.8934 MB / 0.5647 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001406/0.5817, allocations: 1.469 MB / 0.5661 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008935/0.5826, allocations: 0.8 MB / 0.5669 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006018/0.5886, allocations: 5.545 MB / 0.5723 GB, free: 10.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5887, allocations: 0 / 0.5723 GB, free: 10.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5887, allocations: 0 / 0.5723 GB, free: 10.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001778/0.5889, allocations: 0 / 0.5723 GB, free: 10.38 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.009854/0.5987, allocations: 3.932 MB / 0.5762 GB, free: 6.383 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5988, allocations: 8.031 kB / 0.5762 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08258/0.6814, allocations: 8.414 MB / 0.5844 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006235/0.6876, allocations: 2.543 MB / 0.5869 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.6879, allocations: 233.8 kB / 0.5871 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008092/0.6887, allocations: 295.8 kB / 0.5874 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01616/0.7048, allocations: 9.255 MB / 0.5964 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001325/0.705, allocations: 47.58 kB / 0.5965 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003765/0.7054, allocations: 139.9 kB / 0.5966 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002959/0.7084, allocations: 1.845 MB / 0.5984 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/0.7223, allocations: 7.588 MB / 0.6058 GB, free: 7.281 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04426/0.7666, allocations: 34.74 MB / 0.6397 GB, free: 3.465 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004831/0.7715, allocations: 2.407 MB / 0.6421 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004019/0.7719, allocations: 331.6 kB / 0.6424 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.772, allocations: 55.12 kB / 0.6425 GB, free: 484 kB / 478.1 MB Notification: Performance of pre-optimization done (n=122): time 5.079e-06/0.772, allocations: 0 / 0.6425 GB, free: 484 kB / 478.1 MB Notification: Performance of matching and sorting (n=140): time 0.02615/0.7982, allocations: 11.18 MB / 0.6534 GB, free: 5.109 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.368e-05/0.7983, allocations: 200.5 kB / 0.6536 GB, free: 4.871 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004615/0.8029, allocations: 3.741 MB / 0.6572 GB, free: 1.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002014/0.8031, allocations: 45.7 kB / 0.6573 GB, free: 1.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001765/0.8049, allocations: 2.958 MB / 0.6602 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005467/0.8054, allocations: 0.5556 MB / 0.6607 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.8056, allocations: 104 kB / 0.6608 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002848/0.8059, allocations: 0.5253 MB / 0.6613 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002517/0.8085, allocations: 1.716 MB / 0.663 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004309/0.8128, allocations: 5.119 MB / 0.668 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003763/0.8166, allocations: 2.899 MB / 0.6708 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.798e-05/0.8166, allocations: 36 kB / 0.6709 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.009916/0.8265, allocations: 6.817 MB / 0.6775 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.747e-05/0.8266, allocations: 58.5 kB / 0.6776 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/0.8267, allocations: 120 kB / 0.6777 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008929/0.8276, allocations: 448.6 kB / 0.6781 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003445/0.8311, allocations: 1.236 MB / 0.6793 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003926/0.835, allocations: 3.383 MB / 0.6826 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003345/0.8384, allocations: 311.6 kB / 0.6829 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000483/0.8389, allocations: 332 kB / 0.6832 GB, free: 4.559 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (653): * Single equations (assignments): 649 * 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.00287/0.8418, allocations: 2.037 MB / 0.6852 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005044/0.8423, allocations: 308 kB / 0.6855 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003204/0.8455, allocations: 1.929 MB / 0.6874 GB, free: 264 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/0.8455, allocations: 16 kB / 0.6874 GB, free: 248 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.8455, allocations: 4.656 kB / 0.6874 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.8456, allocations: 3.984 kB / 0.6874 GB, free: 240 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.8557, allocations: 5.979 MB / 0.6933 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.8558, allocations: 4 kB / 0.6933 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.8568, allocations: 231.7 kB / 0.6935 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007058/0.8575, allocations: 252.6 kB / 0.6937 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.8577, allocations: 23.98 kB / 0.6937 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/0.8609, allocations: 2.98 MB / 0.6967 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.861, allocations: 4.031 kB / 0.6967 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005771/0.8667, allocations: 4.084 MB / 0.7007 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.8679, allocations: 368.9 kB / 0.701 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000354/0.8683, allocations: 20 kB / 0.701 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.8695, allocations: 87.97 kB / 0.7011 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.8697, allocations: 100.5 kB / 0.7012 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.175e-05/0.8698, allocations: 39.98 kB / 0.7012 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003583/0.8734, allocations: 2.344 MB / 0.7035 GB, free: 15.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.613e-06/0.8734, allocations: 0 / 0.7035 GB, free: 15.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004357/0.8778, allocations: 0.8671 MB / 0.7044 GB, free: 14.61 MB / 0.545 GB 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 (107): * Single equations (assignments): 103 * 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.0004204/0.8782, allocations: 163 kB / 0.7045 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006544/0.8848, allocations: 4.127 MB / 0.7086 GB, free: 10.33 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.8848, allocations: 0 / 0.7086 GB, free: 10.33 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.8866, allocations: 1.196 MB / 0.7097 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/0.8887, allocations: 390.4 kB / 0.7101 GB, free: 8.742 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2496/1.138, allocations: 9.689 MB / 0.7196 GB, free: 197.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004882/1.143, allocations: 3.238 MB / 0.7227 GB, free: 196.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004698/1.148, allocations: 1.736 MB / 0.7244 GB, free: 196.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006332/1.149, allocations: 220.7 kB / 0.7246 GB, free: 196.8 MB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/1.149, allocations: 0 / 0.7246 GB, free: 196.8 MB / 0.545 GB Notification: Performance of Templates: time 0.05514/1.204, allocations: 28.01 MB / 0.752 GB, free: 184.1 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches