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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009419/0.0009419, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001702/0.002644, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009264/0.0009264, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002268, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8945/0.8945, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1769/1.071, allocations: 52.49 MB / 238.5 MB, free: 7.613 MB / 234.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.1492/0.1492, allocations: 32.8 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02301/0.1722, allocations: 12.54 MB / 284.5 MB, free: 9.699 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.094e-06/2.094e-06, allocations: 0 / 285.9 MB, free: 8.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.348e-05, allocations: 2.312 kB / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.007509/0.007533, allocations: 9.436 MB / 295.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006739/0.01427, allocations: 3.911 MB / 299.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.01576, allocations: 59.75 kB / 299.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002936/0.01869, allocations: 2.842 MB / 302.1 MB, free: 8.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.02242, allocations: 1.789 MB / 303.9 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.0238, allocations: 0.7131 MB / 304.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004349/0.02815, allocations: 4.038 MB / 308.6 MB, free: 1.516 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003194/0.03134, allocations: 2.965 MB / 311.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003382/0.03472, allocations: 2.631 MB / 314.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002463/0.03719, allocations: 2.026 MB / 316.3 MB, free: 9.797 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005349/0.03772, allocations: 328 kB / 316.6 MB, free: 9.477 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.03949, allocations: 1.205 MB / 317.8 MB, free: 8.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001526/0.04102, allocations: 1.769 MB / 319.6 MB, free: 6.496 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.04218, allocations: 1.005 MB / 320.6 MB, free: 5.488 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004491/0.04668, allocations: 4.246 MB / 324.8 MB, free: 1.227 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.04669, allocations: 0 / 324.8 MB, free: 1.227 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.04669, allocations: 0 / 324.8 MB, free: 1.227 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.598e-05/0.04678, allocations: 3.984 kB / 324.8 MB, free: 1.223 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.1585/0.2053, allocations: 5.142 MB / 330 MB, free: 18.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2053, allocations: 10.42 kB / 330 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003911/0.2092, allocations: 1.152 MB / 331.1 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003276/0.2125, allocations: 1.757 MB / 332.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.2127, allocations: 230.1 kB / 333.1 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000554/0.2132, allocations: 304.4 kB / 333.4 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006349/0.2196, allocations: 4.555 MB / 338 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001412/0.2197, allocations: 45.08 kB / 338 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003398/0.22, allocations: 144 kB / 338.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001818/0.2219, allocations: 1.517 MB / 339.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004647/0.2265, allocations: 2.164 MB / 341.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02427/0.2508, allocations: 28.27 MB / 370.1 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.253, allocations: 0.8385 MB / 370.9 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.2534, allocations: 211.5 kB / 371.1 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004557/0.258, allocations: 2.446 MB / 373.6 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.258, allocations: 45.67 kB / 373.6 MB, free: 2.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=101): time 3.337e-06/0.258, allocations: 3.688 kB / 373.6 MB, free: 2.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.008926/0.267, allocations: 3.069 MB / 376.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.267, allocations: 149 kB / 376.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002967/0.27, allocations: 2.911 MB / 379.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.78e-05/0.27, allocations: 45.7 kB / 379.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001567/0.2716, allocations: 2.97 MB / 382.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/0.272, allocations: 0.4938 MB / 383.3 MB, free: 9.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.2731, allocations: 1.05 MB / 384.3 MB, free: 8.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.2732, allocations: 301.1 kB / 384.6 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.2744, allocations: 0.6233 MB / 385.2 MB, free: 7.734 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002646/0.277, allocations: 4.099 MB / 389.3 MB, free: 2.043 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003816/0.2808, allocations: 5.591 MB / 394.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.318e-05/0.2809, allocations: 36 kB / 395 MB, free: 11.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.004455/0.2854, allocations: 3.659 MB / 398.6 MB, free: 7.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.652e-05/0.2854, allocations: 59.94 kB / 398.7 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/0.2855, allocations: 132 kB / 398.8 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/0.2859, allocations: 211.3 kB / 399 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/0.288, allocations: 1.382 MB / 400.4 MB, free: 5.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.289, allocations: 1.446 MB / 401.8 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.2914, allocations: 255.7 kB / 402.1 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003195/0.2917, allocations: 300 kB / 402.4 MB, free: 3.523 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.arrowLine.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 (679): * Single equations (assignments): 675 * 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.001278/0.293, allocations: 0.5785 MB / 403 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003688/0.2933, allocations: 171.9 kB / 403.1 MB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006979/0.294, allocations: 0.5206 MB / 403.6 MB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.2941, allocations: 8 kB / 403.7 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.2941, allocations: 7.984 kB / 403.7 MB, free: 2.219 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.2941, allocations: 3.984 kB / 403.7 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004383/0.2985, allocations: 2.921 MB / 406.6 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.2985, allocations: 11.98 kB / 406.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005263/0.299, allocations: 195.7 kB / 406.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004709/0.2995, allocations: 261.9 kB / 407 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000362/0.2998, allocations: 204.9 kB / 407.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/0.2999, allocations: 32.89 kB / 407.3 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006921/0.3006, allocations: 1.218 MB / 408.5 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3006, allocations: 0 / 408.5 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.3018, allocations: 1.253 MB / 409.7 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.302, allocations: 19.94 kB / 409.8 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/0.3025, allocations: 35.97 kB / 409.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.3027, allocations: 70.11 kB / 409.9 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.3027, allocations: 31.98 kB / 409.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001103/0.3038, allocations: 1.041 MB / 410.9 MB, free: 11.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3038, allocations: 0 / 410.9 MB, free: 11.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002841/0.3067, allocations: 0.871 MB / 411.8 MB, free: 10.5 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 (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.000316/0.307, allocations: 161.7 kB / 412 MB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002643/0.3096, allocations: 2.197 MB / 414.2 MB, free: 8.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001537/0.3098, allocations: 96.81 kB / 414.3 MB, free: 8.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.3102, allocations: 423.6 kB / 414.7 MB, free: 7.801 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/0.3127, allocations: 2.545 MB / 417.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.3234, allocations: 6.751 MB / 424 MB, free: 14.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.3246, allocations: 1.158 MB / 425.1 MB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001163/0.3258, allocations: 430.9 kB / 425.5 MB, free: 12.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006046/0.3264, allocations: 469.2 kB / 426 MB, free: 12.03 MB / 394.7 MB Notification: Performance of SimCode: time 2.224e-06/0.3264, allocations: 0 / 426 MB, free: 12.03 MB / 394.7 MB Notification: Performance of Templates: time 0.03659/0.363, allocations: 20.99 MB / 447 MB, free: 7.156 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3457003133371472]