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.001445/0.001445, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001057/0.001057, allocations: 165 kB / 23.79 MB, free: 0.7812 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 0.9325/0.9325, allocations: 158.6 MB / 185.7 MB, free: 2.535 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.1324/0.1324, allocations: 32.37 MB / 270.4 MB, free: 14.69 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 1.433e-06/1.433e-06, allocations: 3.938 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.521e-05, allocations: 4.281 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.007433/0.007459, allocations: 10.88 MB / 358.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006258/0.01372, allocations: 3.992 MB / 362.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008367/0.01455, allocations: 67.75 kB / 362.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002923/0.01748, allocations: 3.041 MB / 365.7 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.02006, allocations: 2.022 MB / 367.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009391/0.021, allocations: 0.7716 MB / 368.5 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003127/0.02412, allocations: 4.545 MB / 373 MB, free: 28 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/0.02646, allocations: 3.377 MB / 376.4 MB, free: 12.58 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.02831, allocations: 2.463 MB / 378.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.0302, allocations: 2.424 MB / 381.3 MB, free: 7.684 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003863/0.03058, allocations: 384 kB / 381.6 MB, free: 7.309 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.0318, allocations: 1.198 MB / 382.8 MB, free: 6.109 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.03299, allocations: 2.213 MB / 385.1 MB, free: 3.891 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009947/0.03399, allocations: 1.382 MB / 386.4 MB, free: 2.504 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003635/0.03762, allocations: 5.13 MB / 391.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.03763, allocations: 3.938 kB / 391.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.03763, allocations: 4 kB / 391.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.321e-05/0.03766, allocations: 3.938 kB / 391.6 MB, free: 13.34 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.005064/0.04272, allocations: 5.421 MB / 397 MB, free: 7.855 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.04276, allocations: 8.031 kB / 397 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008332/0.05109, allocations: 3.091 MB / 400.1 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/0.05413, allocations: 2.455 MB / 402.6 MB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.05426, allocations: 250.8 kB / 402.8 MB, free: 1.996 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003708/0.05463, allocations: 336.2 kB / 403.1 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006333/0.06096, allocations: 6.049 MB / 409.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.06e-05/0.06103, allocations: 43.62 kB / 409.2 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002717/0.0613, allocations: 155.8 kB / 409.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001885/0.06319, allocations: 2.084 MB / 411.5 MB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005553/0.06874, allocations: 3.087 MB / 414.5 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1756/0.2443, allocations: 42.48 MB / 457 MB, free: 63.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/0.247, allocations: 1.275 MB / 458.3 MB, free: 63.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007889/0.2478, allocations: 0.5583 MB / 458.9 MB, free: 63.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/0.248, allocations: 106.2 kB / 459 MB, free: 63.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.248, allocations: 54.97 kB / 459 MB, free: 63.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=176): time 4.408e-06/0.248, allocations: 2.156 kB / 459 MB, free: 63.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=194): time 0.01419/0.2622, allocations: 9.547 MB / 468.6 MB, free: 60.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.2623, allocations: 200.8 kB / 468.8 MB, free: 60.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.2649, allocations: 3.365 MB / 472.1 MB, free: 60.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.561e-05/0.265, allocations: 54.2 kB / 472.2 MB, free: 60.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001256/0.2662, allocations: 3.491 MB / 475.7 MB, free: 58.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004069/0.2667, allocations: 0.7886 MB / 476.5 MB, free: 57.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/0.2677, allocations: 1.34 MB / 477.8 MB, free: 57.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.452e-05/0.2677, allocations: 479.8 kB / 478.3 MB, free: 57.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.2688, allocations: 0.703 MB / 479 MB, free: 57.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002398/0.2712, allocations: 6.213 MB / 485.2 MB, free: 50.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004394/0.2756, allocations: 7.548 MB / 492.7 MB, free: 40.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.215e-05/0.2757, allocations: 42.62 kB / 492.8 MB, free: 40.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.006413/0.2821, allocations: 5.576 MB / 498.3 MB, free: 35.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.2821, allocations: 64.25 kB / 498.4 MB, free: 35.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.573e-05/0.2822, allocations: 132 kB / 498.5 MB, free: 35.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008811/0.2831, allocations: 481.8 kB / 499 MB, free: 35.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/0.2853, allocations: 1.437 MB / 0.4887 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.2874, allocations: 3.06 MB / 0.4917 GB, free: 30.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.2897, allocations: 379.7 kB / 0.4921 GB, free: 30.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/0.2899, allocations: 377.9 kB / 0.4924 GB, free: 30.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * 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 (764): * Single equations (assignments): 760 * 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,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001114/0.2911, allocations: 0.6563 MB / 0.4931 GB, free: 29.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003663/0.2914, allocations: 373.9 kB / 0.4934 GB, free: 29.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.2934, allocations: 1.6 MB / 0.495 GB, free: 27.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.2934, allocations: 30.91 kB / 0.495 GB, free: 27.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.2935, allocations: 0 / 0.495 GB, free: 27.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.2935, allocations: 19.22 kB / 0.495 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007101/0.3006, allocations: 5.536 MB / 0.5004 GB, free: 21.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3006, allocations: 0 / 0.5004 GB, free: 21.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007873/0.3014, allocations: 327.5 kB / 0.5008 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007007/0.3021, allocations: 302.2 kB / 0.501 GB, free: 21.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-05/0.3022, allocations: 39.97 kB / 0.5011 GB, free: 21.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.3038, allocations: 2.716 MB / 0.5037 GB, free: 18.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3038, allocations: 0 / 0.5037 GB, free: 18.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.3067, allocations: 2.676 MB / 0.5063 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007098/0.3074, allocations: 0.5444 MB / 0.5069 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.3076, allocations: 28 kB / 0.5069 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007501/0.3084, allocations: 141.2 kB / 0.507 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.3086, allocations: 137 kB / 0.5072 GB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.746e-05/0.3086, allocations: 51.97 kB / 0.5072 GB, free: 14.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001282/0.3099, allocations: 1.432 MB / 0.5086 GB, free: 13.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3099, allocations: 0 / 0.5086 GB, free: 13.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003181/0.3131, allocations: 1.107 MB / 0.5097 GB, free: 12.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (164): * Single equations (assignments): 160 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003456/0.3135, allocations: 189.5 kB / 0.5099 GB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003709/0.3172, allocations: 3.113 MB / 0.5129 GB, free: 9.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3172, allocations: 0 / 0.5129 GB, free: 9.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008676/0.318, allocations: 0.8636 MB / 0.5138 GB, free: 8.207 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.3192, allocations: 393.6 kB / 0.5141 GB, free: 7.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008092/0.3273, allocations: 7.827 MB / 0.5218 GB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.3284, allocations: 1.344 MB / 0.5231 GB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002295/0.3307, allocations: 1.63 MB / 0.5247 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005453/0.3312, allocations: 248.4 kB / 0.5249 GB, free: 12.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.513e-06/0.3312, allocations: 0 / 0.5249 GB, free: 12.7 MB / 394.7 MB Notification: Performance of Templates: time 0.04111/0.3723, allocations: 30.95 MB / 0.5552 GB, free: 13.91 MB / 426.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.3248604871332645]