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.001267/0.001267, allocations: 84.14 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001373/0.001373, allocations: 164.9 kB / 23.95 MB, free: 4.168 MB / 14.72 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.394/1.394, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 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.201/0.201, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.1 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 1.663e-06/1.663e-06, allocations: 0 / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.137e-05, allocations: 6.281 kB / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.1775/0.1775, allocations: 8.415 MB / 448.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006486/0.184, allocations: 3.636 MB / 452.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.1851, allocations: 61.62 kB / 452.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005345/0.1905, allocations: 2.821 MB / 455 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004614/0.1951, allocations: 1.716 MB / 456.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.1968, allocations: 0.7731 MB / 457.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005591/0.2024, allocations: 4.277 MB / 461.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003974/0.2064, allocations: 3.038 MB / 464.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.2095, allocations: 2.13 MB / 467 MB, free: 9.527 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002732/0.2123, allocations: 2.03 MB / 469 MB, free: 8.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005806/0.2129, allocations: 318 kB / 469.3 MB, free: 8.383 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002228/0.2151, allocations: 1.139 MB / 470.4 MB, free: 7.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.2164, allocations: 1.859 MB / 472.3 MB, free: 6.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.2178, allocations: 1.164 MB / 473.5 MB, free: 6.184 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005952/0.2237, allocations: 6.772 MB / 480.2 MB, free: 1.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2237, allocations: 4 kB / 480.2 MB, free: 1.609 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2237, allocations: 0 / 480.2 MB, free: 1.609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001189/0.2239, allocations: 0 / 480.2 MB, free: 1.609 MB / 366.1 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.008433/0.2323, allocations: 4.392 MB / 484.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2323, allocations: 12.03 kB / 484.6 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01695/0.2493, allocations: 2.514 MB / 487.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006514/0.2558, allocations: 2.392 MB / 489.6 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/0.256, allocations: 218 kB / 489.8 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007755/0.2568, allocations: 296.2 kB / 490.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/0.2718, allocations: 8.788 MB / 498.8 MB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.2719, allocations: 39.7 kB / 498.9 MB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004043/0.2723, allocations: 139.9 kB / 499 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002906/0.2753, allocations: 1.653 MB / 0.4889 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01369/0.2889, allocations: 7.198 MB / 0.496 GB, free: 5.504 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03922/0.3282, allocations: 31.42 MB / 0.5266 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004732/0.3329, allocations: 1.949 MB / 0.5286 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.3347, allocations: 1.193 MB / 0.5297 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.3349, allocations: 96.38 kB / 0.5298 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.335, allocations: 51 kB / 0.5299 GB, free: 1.785 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.226e-06/0.335, allocations: 0 / 0.5299 GB, free: 1.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.02912/0.3641, allocations: 11.73 MB / 0.5413 GB, free: 5.977 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.3642, allocations: 196.6 kB / 0.5415 GB, free: 5.738 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004613/0.3688, allocations: 3.508 MB / 0.5449 GB, free: 2.215 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.369, allocations: 45.7 kB / 0.545 GB, free: 2.164 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002169/0.3711, allocations: 2.918 MB / 0.5478 GB, free: 15.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005972/0.3717, allocations: 0.57 MB / 0.5484 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/0.3732, allocations: 1.099 MB / 0.5495 GB, free: 13.53 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3733, allocations: 304.9 kB / 0.5497 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003012/0.3763, allocations: 1.81 MB / 0.5515 GB, free: 11.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00649/0.3828, allocations: 5.24 MB / 0.5566 GB, free: 4.461 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009961/0.3928, allocations: 7.521 MB / 0.564 GB, free: 11.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.457e-05/0.3928, allocations: 32 kB / 0.564 GB, free: 11.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01379/0.4066, allocations: 7.213 MB / 0.571 GB, free: 4.016 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.49e-05/0.4067, allocations: 56 kB / 0.5711 GB, free: 3.961 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001564/0.4069, allocations: 120 kB / 0.5712 GB, free: 3.844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001834/0.4087, allocations: 0.6806 MB / 0.5719 GB, free: 3.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004003/0.4127, allocations: 1.232 MB / 0.5731 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00571/0.4184, allocations: 4.185 MB / 0.5772 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003973/0.4224, allocations: 335.6 kB / 0.5775 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005508/0.4229, allocations: 328 kB / 0.5778 GB, free: 13 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * 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 (663): * Single equations (assignments): 659 * 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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003102/0.4261, allocations: 1.96 MB / 0.5797 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005245/0.4266, allocations: 290 kB / 0.58 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/0.4311, allocations: 2.218 MB / 0.5822 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-05/0.4311, allocations: 16 kB / 0.5822 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.4311, allocations: 4 kB / 0.5822 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.4311, allocations: 11.97 kB / 0.5822 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.4414, allocations: 5.283 MB / 0.5873 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.4414, allocations: 4 kB / 0.5874 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.4424, allocations: 219.6 kB / 0.5876 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/0.4439, allocations: 0.5007 MB / 0.5881 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-05/0.444, allocations: 27.98 kB / 0.5881 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005237/0.4492, allocations: 3.801 MB / 0.5918 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4492, allocations: 4.031 kB / 0.5918 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007629/0.4569, allocations: 4.377 MB / 0.5961 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006905/0.4576, allocations: 277.9 kB / 0.5963 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/0.4579, allocations: 24.28 kB / 0.5964 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.4591, allocations: 107.9 kB / 0.5965 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.4594, allocations: 108.4 kB / 0.5966 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.4595, allocations: 47.86 kB / 0.5966 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003035/0.4626, allocations: 2.041 MB / 0.5986 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4626, allocations: 0 / 0.5986 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003948/0.4665, allocations: 0.9101 MB / 0.5995 GB, free: 6.574 MB / 0.4981 GB 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 (107): * Single equations (assignments): 103 * 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.0004249/0.467, allocations: 171 kB / 0.5997 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006967/0.4739, allocations: 4.143 MB / 0.6037 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4739, allocations: 8 kB / 0.6037 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.4759, allocations: 1.157 MB / 0.6048 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.4778, allocations: 352.9 kB / 0.6052 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/0.4908, allocations: 8.068 MB / 0.6131 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003251/0.4941, allocations: 2.491 MB / 0.6155 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003576/0.4976, allocations: 1.673 MB / 0.6171 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006034/0.4982, allocations: 204.4 kB / 0.6173 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of SimCode: time 9.21e-07/0.4982, allocations: 0 / 0.6173 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of Templates: time 0.2234/0.7216, allocations: 25.03 MB / 0.6418 GB, free: 169.2 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.221595071256161]