Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001129/0.001129, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.001117/0.001117, allocations: 166.7 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.006/1.006, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1444/0.1444, allocations: 32.38 MB / 271.5 MB, free: 14.63 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.733e-05/3.965e-05, allocations: 2.312 kB / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.008336/0.008375, allocations: 10.62 MB / 359.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006926/0.0153, allocations: 3.947 MB / 363.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009539/0.01625, allocations: 71.75 kB / 363.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003161/0.01942, allocations: 2.994 MB / 366.5 MB, free: 7.477 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003127/0.02254, allocations: 2.022 MB / 368.6 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.02369, allocations: 0.7795 MB / 369.3 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004553/0.02824, allocations: 4.556 MB / 373.9 MB, free: 96 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003906/0.03214, allocations: 3.393 MB / 377.3 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004174/0.03632, allocations: 2.764 MB / 380.1 MB, free: 9.863 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00334/0.03966, allocations: 2.42 MB / 382.5 MB, free: 7.438 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006033/0.04026, allocations: 380 kB / 382.9 MB, free: 7.066 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.04179, allocations: 1.205 MB / 384.1 MB, free: 5.859 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.04325, allocations: 2.201 MB / 386.3 MB, free: 3.652 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.04459, allocations: 1.386 MB / 387.6 MB, free: 2.262 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00445/0.04904, allocations: 5.146 MB / 392.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.04905, allocations: 0 / 392.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.04905, allocations: 0 / 392.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.961e-05/0.04911, allocations: 0 / 392.8 MB, free: 13.1 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.005384/0.05449, allocations: 5.299 MB / 398.1 MB, free: 7.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.05453, allocations: 8.031 kB / 398.1 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007238/0.06177, allocations: 2.128 MB / 400.2 MB, free: 5.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.06435, allocations: 2.049 MB / 402.3 MB, free: 3.488 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.06449, allocations: 254.8 kB / 402.5 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004/0.06489, allocations: 336.2 kB / 402.9 MB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005227/0.07012, allocations: 5.576 MB / 408.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.39e-05/0.07019, allocations: 39.64 kB / 408.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/0.07047, allocations: 155.8 kB / 408.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001605/0.07207, allocations: 1.858 MB / 410.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/0.0757, allocations: 2.407 MB / 412.9 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2116/0.2873, allocations: 42.69 MB / 455.6 MB, free: 65.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002852/0.2901, allocations: 1.024 MB / 456.6 MB, free: 65.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007478/0.2909, allocations: 376.5 kB / 457 MB, free: 65.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006907/0.2978, allocations: 3.19 MB / 460.2 MB, free: 64.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.2978, allocations: 54.73 kB / 460.2 MB, free: 64.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 4.779e-06/0.2978, allocations: 0 / 460.2 MB, free: 64.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=165): time 0.009917/0.3077, allocations: 4.07 MB / 464.3 MB, free: 63.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.3078, allocations: 201.8 kB / 464.5 MB, free: 63.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00314/0.3109, allocations: 3.425 MB / 467.9 MB, free: 62.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.3111, allocations: 50.98 kB / 467.9 MB, free: 62.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001406/0.3125, allocations: 3.59 MB / 471.5 MB, free: 60.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005593/0.313, allocations: 0.6989 MB / 472.2 MB, free: 60.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/0.3141, allocations: 1.352 MB / 473.6 MB, free: 60.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.3142, allocations: 476.8 kB / 474.1 MB, free: 59.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000946/0.3151, allocations: 0.5508 MB / 474.6 MB, free: 59.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002722/0.3178, allocations: 6.286 MB / 480.9 MB, free: 52.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004665/0.3225, allocations: 7.423 MB / 488.3 MB, free: 44.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001283/0.3226, allocations: 38.38 kB / 488.4 MB, free: 44.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.007494/0.3301, allocations: 4.808 MB / 493.2 MB, free: 40.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.505e-05/0.3302, allocations: 64 kB / 493.2 MB, free: 40.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/0.3303, allocations: 132 kB / 493.4 MB, free: 40.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003137/0.3306, allocations: 219.1 kB / 493.6 MB, free: 40.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/0.3329, allocations: 1.401 MB / 495 MB, free: 39.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008259/0.3337, allocations: 1.997 MB / 497 MB, free: 37.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/0.3368, allocations: 282.9 kB / 497.2 MB, free: 36.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003432/0.3371, allocations: 327.5 kB / 497.6 MB, free: 36.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 30 (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 (768): * Single equations (assignments): 764 * 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.001342/0.3385, allocations: 0.657 MB / 498.2 MB, free: 35.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005204/0.339, allocations: 357.9 kB / 498.6 MB, free: 35.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.3401, allocations: 0.9462 MB / 499.5 MB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.3401, allocations: 24 kB / 499.5 MB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3401, allocations: 1.641 kB / 499.5 MB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.3401, allocations: 15.2 kB / 499.6 MB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005607/0.3457, allocations: 4.238 MB / 0.492 GB, free: 30.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.3457, allocations: 6.969 kB / 0.492 GB, free: 30.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007351/0.3465, allocations: 259.6 kB / 0.4922 GB, free: 30.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001915/0.3467, allocations: 39.66 kB / 0.4923 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.735e-05/0.3467, allocations: 39.97 kB / 0.4923 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000823/0.3476, allocations: 1.736 MB / 0.494 GB, free: 28.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3476, allocations: 4 kB / 0.494 GB, free: 28.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.3496, allocations: 1.918 MB / 0.4959 GB, free: 26.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008014/0.3504, allocations: 437.5 kB / 0.4963 GB, free: 25.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/0.3506, allocations: 24 kB / 0.4963 GB, free: 25.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006607/0.3513, allocations: 47.97 kB / 0.4964 GB, free: 25.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.3515, allocations: 100.8 kB / 0.4965 GB, free: 25.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.539e-05/0.3515, allocations: 39.97 kB / 0.4965 GB, free: 25.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001335/0.3529, allocations: 1.359 MB / 0.4978 GB, free: 24.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3529, allocations: 0 / 0.4978 GB, free: 24.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004581/0.3574, allocations: 1.008 MB / 0.4988 GB, free: 23.32 MB / 378.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 (144): * Single equations (assignments): 140 * 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.0004542/0.3579, allocations: 181.6 kB / 0.499 GB, free: 23.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004269/0.3622, allocations: 2.671 MB / 0.5016 GB, free: 20.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.3622, allocations: 0 / 0.5016 GB, free: 20.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006941/0.3629, allocations: 0.6054 MB / 0.5022 GB, free: 19.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/0.3649, allocations: 377.5 kB / 0.5026 GB, free: 19.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.3755, allocations: 7.557 MB / 0.5099 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001448/0.377, allocations: 1.327 MB / 0.5112 GB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001853/0.3788, allocations: 487.9 kB / 0.5117 GB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008489/0.3797, allocations: 0.5489 MB / 0.5122 GB, free: 9.465 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.3797, allocations: 0 / 0.5122 GB, free: 9.465 MB / 378.7 MB Notification: Performance of Templates: time 0.05198/0.4317, allocations: 26.3 MB / 0.5379 GB, free: 15.29 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.359109370969236]