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.0009947/0.0009947, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001145/0.001145, allocations: 165.5 kB / 24.91 MB, free: 8.77 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.9754/0.9754, allocations: 177 MB / 205.2 MB, free: 5.066 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.2788/0.2788, allocations: 34.85 MB / 296.6 MB, free: 392 kB / 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 1.944e-06/1.944e-06, allocations: 0 / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.22e-05, allocations: 2.312 kB / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.0109/0.01093, allocations: 9.095 MB / 335.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008256/0.01918, allocations: 3.854 MB / 338.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.02082, allocations: 63.75 kB / 339 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003003/0.02383, allocations: 2.908 MB / 341.9 MB, free: 7.105 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003211/0.02704, allocations: 1.719 MB / 343.6 MB, free: 5.379 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.02824, allocations: 0.7755 MB / 344.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004476/0.03271, allocations: 4.282 MB / 348.7 MB, free: 324 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003913/0.03663, allocations: 3.09 MB / 351.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004271/0.0409, allocations: 2.581 MB / 354.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002858/0.04375, allocations: 1.987 MB / 356.3 MB, free: 8.559 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007512/0.04451, allocations: 320 kB / 356.6 MB, free: 8.246 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.04633, allocations: 1.166 MB / 357.8 MB, free: 7.078 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00152/0.04785, allocations: 1.874 MB / 359.7 MB, free: 5.199 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001573/0.04942, allocations: 1.18 MB / 360.9 MB, free: 4.016 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004954/0.05438, allocations: 4.403 MB / 365.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.05438, allocations: 0 / 365.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.05438, allocations: 0 / 365.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001446/0.05453, allocations: 4 kB / 365.3 MB, free: 15.59 MB / 346.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.006304/0.06083, allocations: 4.085 MB / 369.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.06087, allocations: 8.031 kB / 369.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004488/0.06536, allocations: 1.113 MB / 370.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/0.06868, allocations: 1.717 MB / 372.2 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.06883, allocations: 222 kB / 372.4 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000439/0.06927, allocations: 300.1 kB / 372.7 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006027/0.07529, allocations: 4.376 MB / 377.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.903e-05/0.07539, allocations: 39.64 kB / 377.1 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003034/0.0757, allocations: 139.9 kB / 377.2 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001855/0.07755, allocations: 1.458 MB / 378.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004819/0.08237, allocations: 2.046 MB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02507/0.1074, allocations: 27.3 MB / 408 MB, free: 2.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.1093, allocations: 0.8439 MB / 408.9 MB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.1096, allocations: 222.5 kB / 409.1 MB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00363/0.1132, allocations: 2.426 MB / 411.5 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.1133, allocations: 51 kB / 411.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=101): time 2.565e-06/0.1133, allocations: 4 kB / 411.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=114): time 0.006652/0.1199, allocations: 3.035 MB / 414.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.12, allocations: 192.4 kB / 414.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/0.1222, allocations: 2.882 MB / 417.7 MB, free: 9.133 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.1222, allocations: 41.7 kB / 417.7 MB, free: 9.086 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.1234, allocations: 2.852 MB / 420.6 MB, free: 6.203 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.1237, allocations: 488.4 kB / 421.1 MB, free: 5.723 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.1247, allocations: 1.032 MB / 422.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.459e-05/0.1248, allocations: 305.1 kB / 422.4 MB, free: 4.379 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009145/0.1257, allocations: 0.6114 MB / 423 MB, free: 3.762 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00228/0.128, allocations: 4.051 MB / 427.1 MB, free: 13.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003861/0.1318, allocations: 5.089 MB / 432.1 MB, free: 7.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.147e-05/0.1319, allocations: 39.98 kB / 432.2 MB, free: 7.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.004351/0.1362, allocations: 3.602 MB / 435.8 MB, free: 3.418 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.316e-05/0.1363, allocations: 56 kB / 435.8 MB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.725e-05/0.1364, allocations: 127.9 kB / 436 MB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/0.1367, allocations: 207.7 kB / 436.2 MB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/0.1387, allocations: 1.271 MB / 437.4 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009039/0.1396, allocations: 1.451 MB / 438.9 MB, free: 216 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/0.1416, allocations: 255.8 kB / 439.1 MB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002483/0.1419, allocations: 291.9 kB / 439.4 MB, free: 15.68 MB / 426.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.001517/0.1434, allocations: 0.5719 MB / 440 MB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000344/0.1437, allocations: 175.8 kB / 440.2 MB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006928/0.1444, allocations: 0.5241 MB / 440.7 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.1444, allocations: 16 kB / 440.7 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1444, allocations: 0 / 440.7 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1445, allocations: 3.984 kB / 440.7 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003829/0.1483, allocations: 2.795 MB / 443.5 MB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.1483, allocations: 4 kB / 443.5 MB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004952/0.1488, allocations: 179.8 kB / 443.7 MB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003086/0.1491, allocations: 212.8 kB / 443.9 MB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.516e-05/0.1492, allocations: 31.92 kB / 443.9 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006774/0.1498, allocations: 1.21 MB / 445.1 MB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1498, allocations: 4 kB / 445.1 MB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.151, allocations: 1.244 MB / 446.4 MB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.1514, allocations: 257.9 kB / 446.6 MB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.1515, allocations: 23.98 kB / 446.7 MB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/0.152, allocations: 39.91 kB / 446.7 MB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.1522, allocations: 68.38 kB / 446.8 MB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.1522, allocations: 23.98 kB / 446.8 MB, free: 8.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001159/0.1534, allocations: 1.035 MB / 447.8 MB, free: 7.035 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1534, allocations: 0 / 447.8 MB, free: 7.035 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002663/0.156, allocations: 0.8319 MB / 448.7 MB, free: 6.203 MB / 426.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.0002816/0.1563, allocations: 140.1 kB / 448.8 MB, free: 6.059 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002378/0.1587, allocations: 2.07 MB / 450.9 MB, free: 3.992 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001427/0.1588, allocations: 96.34 kB / 451 MB, free: 3.887 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.1592, allocations: 352.4 kB / 451.3 MB, free: 3.527 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.1607, allocations: 0.5503 MB / 451.8 MB, free: 2.984 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1421/0.3028, allocations: 6.296 MB / 458.1 MB, free: 111.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.3041, allocations: 1.103 MB / 459.2 MB, free: 111.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001258/0.3054, allocations: 429.9 kB / 459.7 MB, free: 111.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006813/0.306, allocations: 459.4 kB / 460.1 MB, free: 111.3 MB / 426.7 MB Notification: Performance of SimCode: time 6.833e-06/0.3061, allocations: 0 / 460.1 MB, free: 111.3 MB / 426.7 MB Notification: Performance of Templates: time 0.03297/0.339, allocations: 21.6 MB / 481.7 MB, free: 100.4 MB / 426.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 -s gbode -gbm=radauIIA3 -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.9008646849542856]