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.0008552/0.0008552, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001155/0.00201, 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.0007439/0.0007439, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009374/0.001681, 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.7744/0.7744, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1254/0.8999, 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.1336/0.1336, allocations: 32.34 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02784/0.1614, 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.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.904e-06/1.904e-06, allocations: 0 / 267.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.839e-05, allocations: 10.19 kB / 267.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.009198/0.009217, allocations: 10.75 MB / 278.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006509/0.01573, allocations: 4.131 MB / 282.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007832/0.01651, allocations: 67.75 kB / 282.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.01893, allocations: 2.885 MB / 285.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1274/0.1463, allocations: 1.99 MB / 287.2 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.1479, allocations: 0.7124 MB / 287.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005171/0.153, allocations: 4.321 MB / 292.3 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003598/0.1566, allocations: 3.149 MB / 295.4 MB, free: 1.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004204/0.1608, allocations: 2.769 MB / 298.2 MB, free: 220 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003816/0.1646, allocations: 2.352 MB / 300.5 MB, free: 0 / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009965/0.1656, allocations: 381.1 kB / 300.9 MB, free: 0 / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.1676, allocations: 1.244 MB / 302.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.169, allocations: 1.963 MB / 304.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.1703, allocations: 1.126 MB / 305.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004723/0.175, allocations: 4.74 MB / 310 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.175, allocations: 0 / 310 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.175, allocations: 0.75 kB / 310 MB, free: 10.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001247/0.1751, allocations: 0 / 310 MB, free: 10.96 MB / 298.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.007059/0.1822, allocations: 5.663 MB / 315.6 MB, free: 5.641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1822, allocations: 16.03 kB / 315.7 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004751/0.187, allocations: 1.257 MB / 316.9 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002701/0.1897, allocations: 1.889 MB / 318.8 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.1899, allocations: 251.7 kB / 319 MB, free: 2.449 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000463/0.1903, allocations: 339.9 kB / 319.4 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008524/0.1988, allocations: 5.042 MB / 324.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001212/0.199, allocations: 45.12 kB / 324.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004056/0.1994, allocations: 160.9 kB / 324.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002445/0.2018, allocations: 1.75 MB / 326.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006029/0.2078, allocations: 2.451 MB / 328.8 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03442/0.2423, allocations: 30.82 MB / 359.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/0.2453, allocations: 1.031 MB / 360.7 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005743/0.2459, allocations: 305.1 kB / 361 MB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005786/0.2517, allocations: 2.975 MB / 363.9 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.2517, allocations: 49.08 kB / 364 MB, free: 5.711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=152): time 4.378e-06/0.2517, allocations: 0 / 364 MB, free: 5.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=165): time 0.01167/0.2634, allocations: 3.895 MB / 367.9 MB, free: 1.828 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.2634, allocations: 148 kB / 368 MB, free: 1.656 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/0.267, allocations: 3.057 MB / 371.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.937e-05/0.2671, allocations: 53.7 kB / 371.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001809/0.2689, allocations: 3.234 MB / 374.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005131/0.2694, allocations: 0.6628 MB / 375 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/0.2708, allocations: 1.16 MB / 376.2 MB, free: 9.762 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000359/0.2711, allocations: 313 kB / 376.5 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.2728, allocations: 0.7233 MB / 377.2 MB, free: 8.723 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003496/0.2763, allocations: 4.463 MB / 381.7 MB, free: 2.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005973/0.2823, allocations: 6.095 MB / 387.8 MB, free: 10.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.598e-05/0.2823, allocations: 40 kB / 387.8 MB, free: 10.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.005952/0.2883, allocations: 4.065 MB / 391.9 MB, free: 6.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.58e-05/0.2883, allocations: 64 kB / 392 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001521/0.2885, allocations: 140 kB / 392.1 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003997/0.2889, allocations: 220.3 kB / 392.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003974/0.2929, allocations: 1.56 MB / 393.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.2943, allocations: 1.476 MB / 395.3 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003354/0.2976, allocations: 279.7 kB / 395.6 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004266/0.298, allocations: 332 kB / 395.9 MB, free: 2.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * 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 (768): * Single equations (assignments): 764 * 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.00148/0.2995, allocations: 0.6148 MB / 396.6 MB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/0.3, allocations: 211.8 kB / 396.8 MB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.3015, allocations: 0.8139 MB / 397.6 MB, free: 420 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/0.3015, allocations: 16 kB / 397.6 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3015, allocations: 0 / 397.6 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.3015, allocations: 11.97 kB / 397.6 MB, free: 392 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006192/0.3077, allocations: 3.503 MB / 401.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-05/0.3077, allocations: 8 kB / 401.1 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.3089, allocations: 307.5 kB / 401.4 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.31, allocations: 397.6 kB / 401.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/0.3105, allocations: 217.4 kB / 402 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.484e-05/0.3106, allocations: 31.98 kB / 402 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008449/0.3114, allocations: 1.214 MB / 403.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3114, allocations: 4 kB / 403.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.3135, allocations: 1.598 MB / 404.9 MB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003055/0.3139, allocations: 32 kB / 404.9 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009593/0.3148, allocations: 43.97 kB / 404.9 MB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.315, allocations: 104.7 kB / 405 MB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.3152, allocations: 48.02 kB / 405.1 MB, free: 8.699 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001318/0.3165, allocations: 1.095 MB / 406.2 MB, free: 7.609 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3165, allocations: 0 / 406.2 MB, free: 7.609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00654/0.323, allocations: 1.004 MB / 407.2 MB, free: 6.605 MB / 394.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 (144): * Single equations (assignments): 140 * 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.0005574/0.3236, allocations: 167.8 kB / 407.3 MB, free: 6.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004674/0.3282, allocations: 2.535 MB / 409.9 MB, free: 3.918 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002706/0.3285, allocations: 110.8 kB / 410 MB, free: 3.801 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007322/0.3292, allocations: 0.5779 MB / 410.6 MB, free: 3.215 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/0.3322, allocations: 2.465 MB / 413 MB, free: 480 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.3441, allocations: 7.685 MB / 420.7 MB, free: 8.676 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.3452, allocations: 1.313 MB / 422 MB, free: 7.332 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001314/0.3465, allocations: 494.2 kB / 422.5 MB, free: 6.848 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007018/0.3472, allocations: 0.5051 MB / 423 MB, free: 6.344 MB / 410.7 MB Notification: Performance of SimCode: time 1.844e-06/0.3472, allocations: 0 / 423 MB, free: 6.344 MB / 410.7 MB Notification: Performance of Templates: time 0.1606/0.5078, allocations: 24.24 MB / 447.3 MB, free: 129.5 MB / 426.7 MB " [Timeout remaining time 659] 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2304274905472994]