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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001837/0.001837, allocations: 85.58 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002038/0.002038, allocations: 157.5 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 442.7 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.81e-05/4.018e-05, allocations: 8.891 kB / 442.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.2508/0.2509, allocations: 8.419 MB / 451.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008596/0.2595, allocations: 3.634 MB / 454.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.2612, allocations: 69.06 kB / 454.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00569/0.2669, allocations: 2.821 MB / 457.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005546/0.2724, allocations: 1.719 MB / 459.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.2748, allocations: 0.7684 MB / 460.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008005/0.2828, allocations: 4.276 MB / 464.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005204/0.288, allocations: 3.033 MB / 467.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00422/0.2922, allocations: 2.133 MB / 469.5 MB, free: 6.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003482/0.2957, allocations: 2.027 MB / 471.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008389/0.2965, allocations: 318.7 kB / 471.9 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.299, allocations: 1.138 MB / 473 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001666/0.3007, allocations: 1.86 MB / 474.9 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001769/0.3024, allocations: 1.167 MB / 476 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008599/0.311, allocations: 6.778 MB / 482.8 MB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.311, allocations: 0 / 482.8 MB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.311, allocations: 0 / 482.8 MB, free: 13.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002691/0.3113, allocations: 0 / 482.8 MB, free: 13.77 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: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.01133/0.3226, allocations: 4.383 MB / 487.2 MB, free: 9.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.3227, allocations: 12.03 kB / 487.2 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01796/0.3406, allocations: 2.522 MB / 489.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006752/0.3474, allocations: 2.393 MB / 492.1 MB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.3476, allocations: 214 kB / 492.3 MB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009747/0.3486, allocations: 292.2 kB / 492.6 MB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0173/0.3659, allocations: 8.778 MB / 0.4896 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001285/0.366, allocations: 55.56 kB / 0.4897 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004114/0.3664, allocations: 135.9 kB / 0.4898 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003164/0.3696, allocations: 1.657 MB / 0.4914 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.3851, allocations: 7.196 MB / 0.4985 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0435/0.4286, allocations: 31.42 MB / 0.5292 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005227/0.4338, allocations: 1.939 MB / 0.5311 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/0.4358, allocations: 1.192 MB / 0.5322 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/0.4361, allocations: 88.38 kB / 0.5323 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/0.4361, allocations: 51.05 kB / 0.5324 GB, free: 13.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 4.829e-06/0.4361, allocations: 3.938 kB / 0.5324 GB, free: 13.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.03283/0.469, allocations: 11.74 MB / 0.5438 GB, free: 1.844 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.4691, allocations: 196.5 kB / 0.544 GB, free: 1.605 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005153/0.4743, allocations: 3.508 MB / 0.5474 GB, free: 14.08 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.4744, allocations: 41.7 kB / 0.5475 GB, free: 14.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002477/0.4769, allocations: 2.93 MB / 0.5503 GB, free: 11.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007302/0.4776, allocations: 0.5738 MB / 0.5509 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001631/0.4793, allocations: 1.096 MB / 0.552 GB, free: 9.391 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4794, allocations: 301.1 kB / 0.5522 GB, free: 9.094 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003214/0.4826, allocations: 1.806 MB / 0.554 GB, free: 7.281 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006521/0.4891, allocations: 5.233 MB / 0.5591 GB, free: 344 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/0.4998, allocations: 7.524 MB / 0.5665 GB, free: 7.137 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.024e-05/0.4999, allocations: 32 kB / 0.5665 GB, free: 7.105 MB / 478.1 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01433/0.5143, allocations: 7.207 MB / 0.5735 GB, free: 15.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.406e-05/0.5144, allocations: 57 kB / 0.5736 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/0.5145, allocations: 120 kB / 0.5737 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/0.5163, allocations: 0.6808 MB / 0.5744 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00389/0.5202, allocations: 1.232 MB / 0.5756 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007262/0.5274, allocations: 4.199 MB / 0.5797 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007259/0.5347, allocations: 323.7 kB / 0.58 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00125/0.5359, allocations: 344 kB / 0.5803 GB, free: 8.855 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.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 (663): * Single equations (assignments): 659 * 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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005869/0.5418, allocations: 1.943 MB / 0.5822 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/0.5428, allocations: 298 kB / 0.5825 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007698/0.5505, allocations: 2.207 MB / 0.5847 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.804e-05/0.5506, allocations: 19.94 kB / 0.5847 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.5506, allocations: 4 kB / 0.5847 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.032e-05/0.5506, allocations: 11.97 kB / 0.5847 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0204/0.571, allocations: 5.294 MB / 0.5899 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.571, allocations: 0 / 0.5899 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/0.5733, allocations: 219.7 kB / 0.5901 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002932/0.5762, allocations: 0.4963 MB / 0.5905 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/0.5764, allocations: 28.36 kB / 0.5906 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009473/0.5859, allocations: 3.807 MB / 0.5943 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.5859, allocations: 7.969 kB / 0.5943 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/0.6005, allocations: 4.371 MB / 0.5986 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/0.6019, allocations: 285.9 kB / 0.5988 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005626/0.6025, allocations: 20 kB / 0.5989 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002512/0.605, allocations: 107.8 kB / 0.599 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005423/0.6055, allocations: 96.47 kB / 0.5991 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002072/0.6057, allocations: 47.95 kB / 0.5991 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006074/0.6118, allocations: 2.037 MB / 0.6011 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.71e-07/0.6118, allocations: 0 / 0.6011 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009071/0.6209, allocations: 0.9139 MB / 0.602 GB, free: 2.453 MB / 0.4981 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 (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.0007544/0.6216, allocations: 163 kB / 0.6021 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008958/0.6306, allocations: 4.146 MB / 0.6062 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6306, allocations: 0 / 0.6062 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002059/0.6326, allocations: 1.17 MB / 0.6073 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/0.635, allocations: 357.4 kB / 0.6077 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/0.6506, allocations: 8.063 MB / 0.6155 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004059/0.6547, allocations: 2.491 MB / 0.618 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004175/0.6589, allocations: 1.673 MB / 0.6196 GB, free: 332 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008437/0.6597, allocations: 208.4 kB / 0.6198 GB, free: 124 kB / 0.5137 GB Notification: Performance of SimCode: time 1.132e-06/0.6597, allocations: 0 / 0.6198 GB, free: 124 kB / 0.5137 GB Notification: Performance of Templates: time 0.2395/0.8992, allocations: 25.04 MB / 0.6443 GB, free: 166.3 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.939239930361509]