Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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.0008871/0.0008871, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004351/0.005238, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0008933/0.0008933, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003957/0.004851, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8185/0.8185, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1372/0.9557, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.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.1192/0.1192, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01952/0.1387, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 267.4 MB, free: 2.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086e-05/1.238e-05, allocations: 6.25 kB / 267.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.009846/0.009858, allocations: 13.09 MB / 280.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006782/0.01664, allocations: 4.718 MB / 285.3 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007934/0.01743, allocations: 103.5 kB / 285.4 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1326/0.15, allocations: 3.811 MB / 289.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005279/0.1553, allocations: 2.497 MB / 291.7 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.1568, allocations: 1.026 MB / 292.7 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006156/0.163, allocations: 6.139 MB / 298.8 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004602/0.1676, allocations: 4.09 MB / 302.9 MB, free: 16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003701/0.1713, allocations: 3.786 MB / 306.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002969/0.1743, allocations: 2.98 MB / 309.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008398/0.1751, allocations: 456 kB / 310.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.1774, allocations: 1.47 MB / 311.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00185/0.1792, allocations: 2.543 MB / 314.1 MB, free: 7.246 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001744/0.181, allocations: 1.414 MB / 315.6 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00524/0.1862, allocations: 5.697 MB / 321.3 MB, free: 464 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.1862, allocations: 0 / 321.3 MB, free: 464 kB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1862, allocations: 0 / 321.3 MB, free: 464 kB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002197/0.1865, allocations: 0 / 321.3 MB, free: 464 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.007718/0.1942, allocations: 7.182 MB / 328.4 MB, free: 9.691 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1942, allocations: 12.03 kB / 328.4 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003341/0.1975, allocations: 1.413 MB / 329.9 MB, free: 8.332 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/0.2004, allocations: 2.748 MB / 332.6 MB, free: 5.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.2005, allocations: 299.4 kB / 332.9 MB, free: 5.504 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003878/0.2009, allocations: 398.2 kB / 333.3 MB, free: 5.164 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005618/0.2066, allocations: 6.189 MB / 339.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-05/0.2066, allocations: 62.48 kB / 339.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003048/0.2069, allocations: 191 kB / 339.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001704/0.2087, allocations: 2.015 MB / 341.7 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004724/0.2134, allocations: 3.09 MB / 344.8 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02578/0.2392, allocations: 38.64 MB / 383.5 MB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003687/0.2428, allocations: 1.739 MB / 385.2 MB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/0.2433, allocations: 412 kB / 385.6 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004691/0.248, allocations: 4.089 MB / 389.7 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.248, allocations: 47.56 kB / 389.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 3.236e-06/0.248, allocations: 0 / 389.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.009014/0.257, allocations: 4.368 MB / 394.1 MB, free: 6.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.2571, allocations: 145.5 kB / 394.3 MB, free: 6.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/0.2601, allocations: 4.221 MB / 398.5 MB, free: 2.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.403e-05/0.2601, allocations: 49.7 kB / 398.5 MB, free: 2.355 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0015/0.2616, allocations: 3.923 MB / 402.5 MB, free: 14.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.262, allocations: 0.6553 MB / 403.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/0.2633, allocations: 1.433 MB / 404.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.2633, allocations: 309.1 kB / 404.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.2645, allocations: 0.8644 MB / 405.7 MB, free: 11.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003305/0.2678, allocations: 5.508 MB / 411.2 MB, free: 3.227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005216/0.273, allocations: 7.587 MB / 418.8 MB, free: 9.246 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.613e-05/0.2731, allocations: 48 kB / 418.8 MB, free: 9.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.004857/0.2779, allocations: 5.031 MB / 423.9 MB, free: 4.137 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.883e-05/0.278, allocations: 79.75 kB / 424 MB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/0.2781, allocations: 176 kB / 424.1 MB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/0.2785, allocations: 295.6 kB / 424.4 MB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/0.2813, allocations: 1.899 MB / 426.3 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.2828, allocations: 2.75 MB / 429.1 MB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.2849, allocations: 343.9 kB / 429.4 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002964/0.2852, allocations: 396 kB / 429.8 MB, free: 14.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (942): * Single equations (assignments): 937 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009795/0.2862, allocations: 0.7398 MB / 430.5 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.2865, allocations: 255.7 kB / 430.8 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008613/0.2873, allocations: 0.8203 MB / 431.6 MB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.2873, allocations: 19.98 kB / 431.6 MB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2873, allocations: 4 kB / 431.6 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.2874, allocations: 7.969 kB / 431.6 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004341/0.2917, allocations: 4.312 MB / 435.9 MB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.2917, allocations: 15.98 kB / 436 MB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006081/0.2923, allocations: 267.6 kB / 436.2 MB, free: 7.402 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000492/0.2928, allocations: 0.5009 MB / 436.7 MB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004004/0.2932, allocations: 317 kB / 437 MB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.702e-05/0.2933, allocations: 35.97 kB / 437.1 MB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009811/0.2942, allocations: 2.435 MB / 439.5 MB, free: 3.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.2943, allocations: 8 kB / 439.5 MB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.2956, allocations: 1.783 MB / 441.3 MB, free: 1.973 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.2958, allocations: 31.98 kB / 441.3 MB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000648/0.2965, allocations: 35.98 kB / 441.4 MB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.2966, allocations: 116.2 kB / 441.5 MB, free: 1.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/0.2967, allocations: 36 kB / 441.5 MB, free: 1.758 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001322/0.298, allocations: 1.588 MB / 443.1 MB, free: 176 kB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.298, allocations: 0 / 443.1 MB, free: 176 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.1481/0.446, allocations: 1.234 MB / 444.3 MB, free: 125.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (130): * Single equations (assignments): 125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0003805/0.4464, allocations: 171.5 kB / 444.5 MB, free: 125.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004258/0.4507, allocations: 3.118 MB / 447.6 MB, free: 125.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000258/0.4509, allocations: 122.3 kB / 447.7 MB, free: 125.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.4526, allocations: 1.223 MB / 449 MB, free: 125 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/0.4559, allocations: 3.57 MB / 452.5 MB, free: 122.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.4706, allocations: 9.518 MB / 462 MB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.472, allocations: 1.572 MB / 463.6 MB, free: 118.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001565/0.4736, allocations: 0.6065 MB / 464.2 MB, free: 118.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000963/0.4746, allocations: 0.6478 MB / 464.9 MB, free: 118.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4746, allocations: 0 / 464.9 MB, free: 118.1 MB / 426.7 MB Notification: Performance of Templates: time 0.04742/0.522, allocations: 32.64 MB / 497.5 MB, free: 95.15 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3189790369942784]