Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001515/0.001515, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001747/0.001747, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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 1.034/1.034, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2726/0.2726, allocations: 32.8 MB / 294.3 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.783e-05, allocations: 2.312 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.008297/0.008325, allocations: 9.25 MB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006229/0.01455, allocations: 3.753 MB / 389 MB, free: 7.602 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.01586, allocations: 63.69 kB / 389.1 MB, free: 7.539 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00304/0.0189, allocations: 2.971 MB / 392.1 MB, free: 4.559 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003536/0.02244, allocations: 1.723 MB / 393.8 MB, free: 2.828 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.02371, allocations: 0.7833 MB / 394.6 MB, free: 2.043 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004249/0.02796, allocations: 4.284 MB / 398.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003545/0.03151, allocations: 3.127 MB / 402 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004293/0.0358, allocations: 2.628 MB / 404.6 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002716/0.03852, allocations: 2.069 MB / 406.7 MB, free: 5.848 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009371/0.03945, allocations: 320 kB / 407 MB, free: 5.535 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.04134, allocations: 1.139 MB / 408.1 MB, free: 4.395 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00147/0.04281, allocations: 1.866 MB / 410 MB, free: 2.523 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.04444, allocations: 1.168 MB / 411.2 MB, free: 1.352 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004685/0.04912, allocations: 4.414 MB / 415.6 MB, free: 12.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.04913, allocations: 0 / 415.6 MB, free: 12.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.04913, allocations: 3.938 kB / 415.6 MB, free: 12.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001367/0.04927, allocations: 0 / 415.6 MB, free: 12.92 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.006124/0.05539, allocations: 4.78 MB / 420.4 MB, free: 8.078 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.05544, allocations: 8.031 kB / 420.4 MB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007917/0.06335, allocations: 2.854 MB / 423.2 MB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/0.06625, allocations: 2.072 MB / 425.3 MB, free: 3.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.06637, allocations: 222 kB / 425.5 MB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004212/0.06679, allocations: 288.2 kB / 425.8 MB, free: 2.586 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009965/0.07676, allocations: 5.269 MB / 431.1 MB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001595/0.07692, allocations: 39.64 kB / 431.1 MB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004871/0.0774, allocations: 139.9 kB / 431.2 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002151/0.07955, allocations: 1.603 MB / 432.8 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008545/0.0881, allocations: 2.48 MB / 435.3 MB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2094/0.2975, allocations: 38.36 MB / 473.7 MB, free: 60.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.2995, allocations: 0.91 MB / 474.6 MB, free: 60.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.2998, allocations: 307.2 kB / 474.9 MB, free: 60.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002782/0.3026, allocations: 2.726 MB / 477.6 MB, free: 59.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3026, allocations: 46.92 kB / 477.7 MB, free: 59.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=101): time 2.735e-06/0.3026, allocations: 3.594 kB / 477.7 MB, free: 59.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=114): time 0.008152/0.3108, allocations: 5.781 MB / 483.4 MB, free: 56.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.3108, allocations: 197.6 kB / 483.6 MB, free: 56.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003173/0.314, allocations: 3.243 MB / 486.9 MB, free: 55.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.3141, allocations: 44.17 kB / 486.9 MB, free: 55.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.3155, allocations: 3.161 MB / 490.1 MB, free: 53.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003506/0.3158, allocations: 0.5077 MB / 490.6 MB, free: 52.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009187/0.3167, allocations: 1.182 MB / 491.8 MB, free: 52.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.442e-05/0.3168, allocations: 477.8 kB / 492.2 MB, free: 51.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008112/0.3176, allocations: 498.6 kB / 492.7 MB, free: 51.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002534/0.3201, allocations: 5.751 MB / 498.5 MB, free: 44.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004191/0.3243, allocations: 6.813 MB / 0.4934 GB, free: 36.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.298e-05/0.3244, allocations: 41.25 kB / 0.4935 GB, free: 36.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.006019/0.3304, allocations: 4.523 MB / 0.4979 GB, free: 35.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.165e-05/0.3305, allocations: 58.5 kB / 0.498 GB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/0.3306, allocations: 124.7 kB / 0.4981 GB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004505/0.3311, allocations: 197.9 kB / 0.4983 GB, free: 35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/0.3333, allocations: 1.25 MB / 0.4995 GB, free: 34.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008517/0.3342, allocations: 1.991 MB / 0.5014 GB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.3362, allocations: 324.6 kB / 0.5017 GB, free: 32.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003221/0.3365, allocations: 345.8 kB / 0.5021 GB, free: 32.87 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.001013/0.3375, allocations: 0.6049 MB / 0.5027 GB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/0.3378, allocations: 313.9 kB / 0.503 GB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008003/0.3386, allocations: 0.6198 MB / 0.5036 GB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.3386, allocations: 14.47 kB / 0.5036 GB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3386, allocations: 1.188 kB / 0.5036 GB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3387, allocations: 4.672 kB / 0.5036 GB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004427/0.3431, allocations: 3.439 MB / 0.5069 GB, free: 30.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.3431, allocations: 2.969 kB / 0.5069 GB, free: 30.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/0.3436, allocations: 192.9 kB / 0.5071 GB, free: 30.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001741/0.3438, allocations: 44.92 kB / 0.5072 GB, free: 30.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/0.3438, allocations: 26.7 kB / 0.5072 GB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006784/0.3445, allocations: 1.758 MB / 0.5089 GB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3445, allocations: 6.156 kB / 0.5089 GB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.3462, allocations: 1.58 MB / 0.5105 GB, free: 27.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002895/0.3465, allocations: 276.4 kB / 0.5107 GB, free: 27.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.3467, allocations: 18.75 kB / 0.5107 GB, free: 27.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/0.3472, allocations: 83.66 kB / 0.5108 GB, free: 27.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.3474, allocations: 92.28 kB / 0.5109 GB, free: 27.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.3474, allocations: 36.97 kB / 0.511 GB, free: 27.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001614/0.349, allocations: 1.38 MB / 0.5123 GB, free: 26.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.349, allocations: 0 / 0.5123 GB, free: 26.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003457/0.3525, allocations: 0.8324 MB / 0.5131 GB, free: 26.76 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.0003375/0.3528, allocations: 156.9 kB / 0.5133 GB, free: 26.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003365/0.3562, allocations: 2.395 MB / 0.5156 GB, free: 25.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3562, allocations: 4 kB / 0.5156 GB, free: 25.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004646/0.3566, allocations: 475.5 kB / 0.5161 GB, free: 25.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.3578, allocations: 359.6 kB / 0.5164 GB, free: 25.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007472/0.3652, allocations: 6.374 MB / 0.5226 GB, free: 22.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007315/0.366, allocations: 1.115 MB / 0.5237 GB, free: 21.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002037/0.368, allocations: 1.44 MB / 0.5251 GB, free: 20.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.3683, allocations: 196 kB / 0.5253 GB, free: 20.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3683, allocations: 4 kB / 0.5253 GB, free: 20.8 MB / 410.7 MB Notification: Performance of Templates: time 0.03117/0.3995, allocations: 20.34 MB / 0.5452 GB, free: 4.914 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.264511256013066]