Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 162.3 kB / 25.61 MB, free: 8.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8799/0.8799, allocations: 177.1 MB / 206.1 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1324/0.1324, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.414e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.00541/0.005424, allocations: 9.027 MB / 388.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004177/0.009601, allocations: 3.728 MB / 392.1 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000672/0.01027, allocations: 63.75 kB / 392.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.01245, allocations: 2.917 MB / 395 MB, free: 7.609 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.01426, allocations: 1.723 MB / 396.8 MB, free: 5.879 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007471/0.01501, allocations: 0.7912 MB / 397.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002227/0.01724, allocations: 4.284 MB / 401.8 MB, free: 0.793 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.01942, allocations: 3.12 MB / 404.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/0.02188, allocations: 2.647 MB / 407.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.02388, allocations: 2.062 MB / 409.7 MB, free: 8.883 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004867/0.02437, allocations: 320 kB / 410 MB, free: 8.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.02555, allocations: 1.147 MB / 411.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001498/0.02705, allocations: 1.87 MB / 413 MB, free: 5.547 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.02815, allocations: 1.172 MB / 414.2 MB, free: 4.371 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003341/0.03149, allocations: 4.403 MB / 418.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.0315, allocations: 0 / 418.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.0315, allocations: 0 / 418.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.029e-05/0.03154, allocations: 4 kB / 418.6 MB, free: 15.95 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.004459/0.036, allocations: 4.642 MB / 423.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.03602, allocations: 8.031 kB / 423.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006636/0.04266, allocations: 1.945 MB / 425.2 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.04471, allocations: 1.834 MB / 427 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.04481, allocations: 222 kB / 427.2 MB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002888/0.0451, allocations: 292.2 kB / 427.5 MB, free: 6.895 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004003/0.04911, allocations: 4.885 MB / 432.4 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.932e-05/0.04918, allocations: 35.7 kB / 432.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/0.04939, allocations: 143.9 kB / 432.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001401/0.0508, allocations: 1.455 MB / 434 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/0.05341, allocations: 1.988 MB / 436 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01999/0.0734, allocations: 38.19 MB / 474.2 MB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.07497, allocations: 0.8091 MB / 475 MB, free: 5.164 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.07526, allocations: 260 kB / 475.3 MB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002808/0.07807, allocations: 2.575 MB / 477.8 MB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.0781, allocations: 53.89 kB / 477.9 MB, free: 2.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=101): time 2.334e-06/0.0781, allocations: 3.938 kB / 477.9 MB, free: 2.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=114): time 0.00579/0.08389, allocations: 3.109 MB / 481 MB, free: 15.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.08395, allocations: 200.3 kB / 481.2 MB, free: 14.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/0.08641, allocations: 3.227 MB / 484.4 MB, free: 11.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/0.08646, allocations: 37.7 kB / 484.5 MB, free: 11.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.08776, allocations: 3.193 MB / 487.6 MB, free: 8.289 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.08803, allocations: 0.5043 MB / 488.2 MB, free: 7.781 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008875/0.08892, allocations: 1.214 MB / 489.4 MB, free: 6.555 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.089, allocations: 476.8 kB / 489.8 MB, free: 6.086 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006424/0.08965, allocations: 450.3 kB / 490.3 MB, free: 5.641 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1275/0.2171, allocations: 5.723 MB / 496 MB, free: 102.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003612/0.2207, allocations: 6.709 MB / 0.4909 GB, free: 95.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.668e-05/0.2208, allocations: 37.75 kB / 0.491 GB, free: 95.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.00497/0.2258, allocations: 4.245 MB / 0.4951 GB, free: 94.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.651e-05/0.2258, allocations: 62.28 kB / 0.4952 GB, free: 94.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.663e-05/0.2259, allocations: 125.5 kB / 0.4953 GB, free: 94.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003355/0.2263, allocations: 197.4 kB / 0.4955 GB, free: 94.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/0.2281, allocations: 1.225 MB / 0.4967 GB, free: 94.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007735/0.2289, allocations: 1.972 MB / 0.4986 GB, free: 93.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.2306, allocations: 255.5 kB / 0.4988 GB, free: 93.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/0.2308, allocations: 297.7 kB / 0.4991 GB, free: 93.05 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.0008631/0.2317, allocations: 0.6086 MB / 0.4997 GB, free: 92.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/0.232, allocations: 313.8 kB / 0.5 GB, free: 92.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006514/0.2326, allocations: 0.5821 MB / 0.5006 GB, free: 92.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.2326, allocations: 13.44 kB / 0.5006 GB, free: 92.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.2326, allocations: 4.734 kB / 0.5006 GB, free: 92.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.2326, allocations: 7.562 kB / 0.5006 GB, free: 92.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.2361, allocations: 3.386 MB / 0.5039 GB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2361, allocations: 4 kB / 0.5039 GB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.2365, allocations: 165.5 kB / 0.5041 GB, free: 92.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/0.2366, allocations: 42.69 kB / 0.5041 GB, free: 92.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/0.2366, allocations: 29.89 kB / 0.5041 GB, free: 92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000452/0.2371, allocations: 1.737 MB / 0.5058 GB, free: 90.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2371, allocations: 4 kB / 0.5058 GB, free: 90.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.2381, allocations: 1.493 MB / 0.5073 GB, free: 88.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.2383, allocations: 264.5 kB / 0.5076 GB, free: 88.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.2385, allocations: 13.81 kB / 0.5076 GB, free: 88.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/0.239, allocations: 45.22 kB / 0.5076 GB, free: 88.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.2391, allocations: 78.39 kB / 0.5077 GB, free: 88.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.2391, allocations: 29.22 kB / 0.5077 GB, free: 88.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008493/0.24, allocations: 1.282 MB / 0.509 GB, free: 87.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.24, allocations: 0 / 0.509 GB, free: 87.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002026/0.242, allocations: 0.8295 MB / 0.5098 GB, free: 87.1 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.0002401/0.2422, allocations: 163.7 kB / 0.5099 GB, free: 86.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.2441, allocations: 2.271 MB / 0.5121 GB, free: 85.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2441, allocations: 0 / 0.5121 GB, free: 85.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.2444, allocations: 463 kB / 0.5126 GB, free: 84.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009999/0.2454, allocations: 360.5 kB / 0.5129 GB, free: 84.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0059/0.2513, allocations: 6.342 MB / 0.5191 GB, free: 78.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007597/0.252, allocations: 1.113 MB / 0.5202 GB, free: 78.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008826/0.2529, allocations: 432.9 kB / 0.5206 GB, free: 77.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/0.2535, allocations: 499 kB / 0.5211 GB, free: 77.36 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2535, allocations: 4 kB / 0.5211 GB, free: 77.36 MB / 410.7 MB Notification: Performance of Templates: time 0.03171/0.2852, allocations: 22.36 MB / 0.5429 GB, free: 55.53 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.907211665995419]