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.0009183/0.0009183, allocations: 81.81 kB / 21.42 MB, free: 3.066 MB / 18.57 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.0009834/0.0009834, allocations: 166.7 kB / 24.82 MB, free: 9.266 MB / 18.57 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 0.9896/0.9896, allocations: 177 MB / 205.1 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.2514/0.2514, allocations: 34.87 MB / 296.6 MB, free: 0.5078 MB / 266.7 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.024e-06/2.024e-06, allocations: 0 / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/3.016e-05, allocations: 7.016 kB / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01034/0.01037, allocations: 9.027 MB / 388.3 MB, free: 8.762 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007657/0.01802, allocations: 3.721 MB / 392 MB, free: 5.031 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.01995, allocations: 63.69 kB / 392.1 MB, free: 4.969 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004306/0.02425, allocations: 2.928 MB / 395 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004258/0.02851, allocations: 1.719 MB / 396.7 MB, free: 312 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.02989, allocations: 0.7834 MB / 397.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004216/0.03411, allocations: 4.296 MB / 401.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003043/0.03715, allocations: 3.116 MB / 404.9 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003603/0.04075, allocations: 2.636 MB / 407.5 MB, free: 5.387 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002318/0.04307, allocations: 2.069 MB / 409.6 MB, free: 3.312 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005189/0.04359, allocations: 320 kB / 409.9 MB, free: 3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.04516, allocations: 1.139 MB / 411 MB, free: 1.859 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001259/0.04642, allocations: 1.866 MB / 412.9 MB, free: 15.99 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.04767, allocations: 1.172 MB / 414.1 MB, free: 14.81 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004292/0.05196, allocations: 4.414 MB / 418.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.05197, allocations: 0 / 418.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.05197, allocations: 0 / 418.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001085/0.05208, allocations: 4 kB / 418.5 MB, free: 10.38 MB / 394.7 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.005408/0.05749, allocations: 4.627 MB / 423.1 MB, free: 5.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.05753, allocations: 12.03 kB / 423.1 MB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006444/0.06397, allocations: 1.949 MB / 425.1 MB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.06644, allocations: 1.849 MB / 426.9 MB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.06656, allocations: 222 kB / 427.2 MB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004176/0.06698, allocations: 292.2 kB / 427.4 MB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005932/0.07291, allocations: 4.866 MB / 432.3 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.234e-05/0.07299, allocations: 39.62 kB / 432.4 MB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002665/0.07326, allocations: 147.9 kB / 432.5 MB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001286/0.07455, allocations: 1.455 MB / 433.9 MB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004003/0.07855, allocations: 1.984 MB / 435.9 MB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1819/0.2604, allocations: 38.2 MB / 474.1 MB, free: 59.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.2627, allocations: 0.8092 MB / 474.9 MB, free: 59.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.263, allocations: 264.5 kB / 475.2 MB, free: 59.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002923/0.2659, allocations: 2.573 MB / 477.8 MB, free: 58.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.2659, allocations: 49.89 kB / 477.8 MB, free: 58.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=101): time 3.998e-06/0.2659, allocations: 0 / 477.8 MB, free: 58.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=114): time 0.006084/0.272, allocations: 3.115 MB / 480.9 MB, free: 57.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.2721, allocations: 196.1 kB / 481.1 MB, free: 57.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/0.2747, allocations: 3.233 MB / 484.4 MB, free: 56.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.2747, allocations: 37.05 kB / 484.4 MB, free: 56.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.2758, allocations: 3.187 MB / 487.6 MB, free: 54.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.2761, allocations: 0.5156 MB / 488.1 MB, free: 53.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008374/0.2769, allocations: 1.207 MB / 489.3 MB, free: 53.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.277, allocations: 484.8 kB / 489.8 MB, free: 52.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006975/0.2777, allocations: 448.2 kB / 490.2 MB, free: 52.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002176/0.2799, allocations: 5.729 MB / 495.9 MB, free: 45.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003512/0.2834, allocations: 6.703 MB / 0.4909 GB, free: 38.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.326e-05/0.2834, allocations: 38.66 kB / 0.4909 GB, free: 38.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.004215/0.2877, allocations: 4.237 MB / 0.495 GB, free: 36.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.2877, allocations: 58.53 kB / 0.4951 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.344e-05/0.2878, allocations: 124.3 kB / 0.4952 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000291/0.2881, allocations: 206.1 kB / 0.4954 GB, free: 36.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/0.29, allocations: 1.223 MB / 0.4966 GB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008304/0.2909, allocations: 1.976 MB / 0.4985 GB, free: 34.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.2932, allocations: 256 kB / 0.4988 GB, free: 34.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003151/0.2936, allocations: 292.7 kB / 0.4991 GB, free: 34.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * 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 (670): * Single equations (assignments): 666 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001117/0.2947, allocations: 0.6066 MB / 0.4997 GB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004367/0.2951, allocations: 322.9 kB / 0.5 GB, free: 33.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007905/0.2959, allocations: 0.5836 MB / 0.5005 GB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.2959, allocations: 13.62 kB / 0.5005 GB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.2959, allocations: 1.125 kB / 0.5005 GB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.2959, allocations: 5.562 kB / 0.5006 GB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00465/0.3006, allocations: 3.386 MB / 0.5039 GB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.3006, allocations: 4.422 kB / 0.5039 GB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.301, allocations: 164.6 kB / 0.504 GB, free: 31.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001755/0.3012, allocations: 43.61 kB / 0.5041 GB, free: 31.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/0.3013, allocations: 27.17 kB / 0.5041 GB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005462/0.3018, allocations: 1.742 MB / 0.5058 GB, free: 29.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3018, allocations: 2.938 kB / 0.5058 GB, free: 29.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.3034, allocations: 1.493 MB / 0.5073 GB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004003/0.3038, allocations: 265.4 kB / 0.5075 GB, free: 28.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.304, allocations: 23.17 kB / 0.5075 GB, free: 28.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005023/0.3045, allocations: 36.44 kB / 0.5076 GB, free: 28.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.3047, allocations: 74.02 kB / 0.5076 GB, free: 28.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.3047, allocations: 27.72 kB / 0.5077 GB, free: 28.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001293/0.306, allocations: 1.281 MB / 0.5089 GB, free: 28.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.306, allocations: 0 / 0.5089 GB, free: 28.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003747/0.3097, allocations: 0.8326 MB / 0.5097 GB, free: 28.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (90): * Single equations (assignments): 86 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003016/0.31, allocations: 165.6 kB / 0.5099 GB, free: 28.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003324/0.3134, allocations: 2.281 MB / 0.5121 GB, free: 27.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.3134, allocations: 0 / 0.5121 GB, free: 27.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.3138, allocations: 450.7 kB / 0.5125 GB, free: 26.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.3152, allocations: 364.9 kB / 0.5129 GB, free: 26.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008579/0.3238, allocations: 6.342 MB / 0.5191 GB, free: 23.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000855/0.3247, allocations: 1.117 MB / 0.5202 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001071/0.3257, allocations: 428.5 kB / 0.5206 GB, free: 23.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005565/0.3263, allocations: 498.7 kB / 0.5211 GB, free: 23 MB / 410.7 MB Notification: Performance of SimCode: time 1.944e-06/0.3263, allocations: 9.562 kB / 0.5211 GB, free: 23 MB / 410.7 MB Notification: Performance of Templates: time 0.03451/0.3608, allocations: 21.89 MB / 0.5424 GB, free: 6.496 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.935982550960034]