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.001465/0.001465, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001194/0.001194, allocations: 159.4 kB / 24.91 MB, free: 8.719 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.9579/0.9579, allocations: 177 MB / 205.2 MB, free: 5.039 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.2458/0.2458, allocations: 34.86 MB / 296.6 MB, free: 464 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.192e-06/1.192e-06, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.277e-05, allocations: 5.125 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.007335/0.007348, allocations: 9.034 MB / 335 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004888/0.01224, allocations: 3.863 MB / 338.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008054/0.01304, allocations: 63.69 kB / 338.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005823/0.01886, allocations: 2.967 MB / 341.8 MB, free: 7.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003762/0.02263, allocations: 1.73 MB / 343.6 MB, free: 5.422 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.02378, allocations: 0.795 MB / 344.4 MB, free: 4.625 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004026/0.0278, allocations: 4.272 MB / 348.6 MB, free: 356 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003179/0.03098, allocations: 3.203 MB / 351.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003392/0.03437, allocations: 2.628 MB / 354.5 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/0.03668, allocations: 1.98 MB / 356.5 MB, free: 8.434 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006909/0.03737, allocations: 316 kB / 356.8 MB, free: 8.125 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.03896, allocations: 1.139 MB / 357.9 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.04034, allocations: 1.874 MB / 359.8 MB, free: 5.105 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.04203, allocations: 1.172 MB / 361 MB, free: 3.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004795/0.04683, allocations: 4.403 MB / 365.4 MB, free: 15.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.04683, allocations: 0 / 365.4 MB, free: 15.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.04683, allocations: 0 / 365.4 MB, free: 15.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001666/0.047, allocations: 0 / 365.4 MB, free: 15.51 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.005488/0.05249, allocations: 4.089 MB / 369.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.05252, allocations: 8.031 kB / 369.5 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003142/0.05567, allocations: 1.109 MB / 370.6 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.05786, allocations: 1.728 MB / 372.3 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.05796, allocations: 214 kB / 372.5 MB, free: 8.266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003518/0.05831, allocations: 296.2 kB / 372.8 MB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004901/0.06321, allocations: 4.387 MB / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.841e-05/0.06329, allocations: 35.7 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002487/0.06354, allocations: 135.9 kB / 377.3 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001305/0.06485, allocations: 1.458 MB / 378.8 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003596/0.06844, allocations: 2.05 MB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02199/0.09043, allocations: 27.3 MB / 408.1 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.09223, allocations: 0.8437 MB / 409 MB, free: 2.008 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.0927, allocations: 219.5 kB / 409.2 MB, free: 1.785 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004197/0.09689, allocations: 2.438 MB / 411.6 MB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.09693, allocations: 47 kB / 411.7 MB, free: 15.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=101): time 3.717e-06/0.09693, allocations: 0 / 411.7 MB, free: 15.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=114): time 0.006397/0.1033, allocations: 3.02 MB / 414.7 MB, free: 12.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.1034, allocations: 208.3 kB / 414.9 MB, free: 11.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/0.1059, allocations: 2.882 MB / 417.8 MB, free: 9.047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.169e-05/0.1059, allocations: 41.7 kB / 417.8 MB, free: 9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.1072, allocations: 2.848 MB / 420.7 MB, free: 6.121 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000308/0.1075, allocations: 492.4 kB / 421.2 MB, free: 5.637 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007908/0.1083, allocations: 1.032 MB / 422.2 MB, free: 4.594 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.1083, allocations: 305.1 kB / 422.5 MB, free: 4.293 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008996/0.1092, allocations: 0.6114 MB / 423.1 MB, free: 3.676 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002432/0.1117, allocations: 4.051 MB / 427.2 MB, free: 13.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004167/0.1158, allocations: 5.093 MB / 432.2 MB, free: 6.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-05/0.1159, allocations: 36 kB / 432.3 MB, free: 6.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.005233/0.1211, allocations: 3.605 MB / 435.9 MB, free: 3.328 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.927e-05/0.1212, allocations: 63.94 kB / 436 MB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.1213, allocations: 131.9 kB / 436.1 MB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003479/0.1216, allocations: 204.4 kB / 436.3 MB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/0.1238, allocations: 1.216 MB / 437.5 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009997/0.1248, allocations: 1.447 MB / 438.9 MB, free: 176 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/0.1274, allocations: 255.8 kB / 439.2 MB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003573/0.1277, allocations: 295.9 kB / 439.5 MB, free: 15.63 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.001322/0.1291, allocations: 0.5601 MB / 440 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000439/0.1295, allocations: 179.8 kB / 440.2 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007999/0.1303, allocations: 0.5203 MB / 440.7 MB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.1303, allocations: 16 kB / 440.8 MB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1303, allocations: 0 / 440.8 MB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1303, allocations: 3.984 kB / 440.8 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/0.1348, allocations: 2.799 MB / 443.6 MB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.1348, allocations: 4 kB / 443.6 MB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004534/0.1353, allocations: 159.8 kB / 443.7 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003389/0.1356, allocations: 212.7 kB / 443.9 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.1357, allocations: 15.98 kB / 443.9 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007167/0.1364, allocations: 1.222 MB / 445.2 MB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.1364, allocations: 3.938 kB / 445.2 MB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.1377, allocations: 1.24 MB / 446.4 MB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.1381, allocations: 258.1 kB / 446.7 MB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.1384, allocations: 24 kB / 446.7 MB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005076/0.1389, allocations: 39.89 kB / 446.7 MB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.139, allocations: 72.31 kB / 446.8 MB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/0.139, allocations: 31.98 kB / 446.8 MB, free: 8.047 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001067/0.1401, allocations: 1.027 MB / 447.8 MB, free: 7.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1401, allocations: 0 / 447.8 MB, free: 7.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002951/0.1431, allocations: 0.8319 MB / 448.7 MB, free: 6.188 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.0003533/0.1434, allocations: 136.2 kB / 448.8 MB, free: 6.047 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006354/0.1498, allocations: 2.075 MB / 450.9 MB, free: 3.973 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003024/0.1501, allocations: 92.16 kB / 451 MB, free: 3.871 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008207/0.1509, allocations: 357.2 kB / 451.3 MB, free: 3.508 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/0.1542, allocations: 0.5551 MB / 451.9 MB, free: 2.965 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1536/0.3078, allocations: 6.288 MB / 458.2 MB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009562/0.3087, allocations: 1.101 MB / 459.3 MB, free: 121.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001107/0.3098, allocations: 429.8 kB / 459.7 MB, free: 121.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00058/0.3104, allocations: 464.6 kB / 460.1 MB, free: 121.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.733e-06/0.3104, allocations: 0 / 460.1 MB, free: 121.1 MB / 426.7 MB Notification: Performance of Templates: time 0.03671/0.3471, allocations: 21.59 MB / 481.7 MB, free: 107.6 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 -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: 4.01650768192485]