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.001111/0.001111, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001819/0.00293, allocations: 447.8 kB / 10.35 MB, free: 348 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.001278/0.001278, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001843/0.003121, allocations: 463.6 kB / 11.69 MB, free: 2.48 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 1.084/1.084, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1951/1.279, allocations: 49.5 MB / 220.5 MB, free: 5.277 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.1404/0.1404, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02572/0.1661, allocations: 12.3 MB / 265.9 MB, free: 7.836 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 2.034e-06/2.034e-06, allocations: 0 / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.727e-05, allocations: 10.19 kB / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.009368/0.009395, allocations: 10.74 MB / 278 MB, free: 11.72 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008086/0.01748, allocations: 4.135 MB / 282.1 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002481/0.01996, allocations: 67.75 kB / 282.2 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00434/0.0243, allocations: 2.881 MB / 285 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005344/0.02965, allocations: 1.995 MB / 287 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.03125, allocations: 0.717 MB / 287.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005823/0.03708, allocations: 4.342 MB / 292.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003939/0.04102, allocations: 3.153 MB / 295.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004645/0.04566, allocations: 2.759 MB / 298 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003458/0.04912, allocations: 2.299 MB / 300.3 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.05014, allocations: 380 kB / 300.7 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.05216, allocations: 1.244 MB / 301.9 MB, free: 3.613 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001614/0.05377, allocations: 1.96 MB / 303.9 MB, free: 1.648 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.05571, allocations: 1.126 MB / 305 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005715/0.06143, allocations: 4.744 MB / 309.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.569e-05/0.06144, allocations: 0 / 309.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.06145, allocations: 0 / 309.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002247/0.06167, allocations: 0 / 309.8 MB, free: 11.76 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: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.008925/0.0706, allocations: 5.668 MB / 315.4 MB, free: 6.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.07064, allocations: 8.031 kB / 315.4 MB, free: 6.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/0.07485, allocations: 1.261 MB / 316.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/0.07844, allocations: 1.885 MB / 318.6 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.07863, allocations: 254.8 kB / 318.8 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000655/0.07928, allocations: 340.2 kB / 319.2 MB, free: 2.227 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007693/0.08698, allocations: 5.041 MB / 324.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.08709, allocations: 43.62 kB / 324.2 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003219/0.08741, allocations: 159.8 kB / 324.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001673/0.08908, allocations: 1.874 MB / 326.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00526/0.09434, allocations: 2.464 MB / 328.7 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.194/0.2883, allocations: 30.81 MB / 359.5 MB, free: 28.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.2905, allocations: 1.028 MB / 360.6 MB, free: 28.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005422/0.2911, allocations: 306.6 kB / 360.9 MB, free: 27.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005379/0.2964, allocations: 2.983 MB / 363.9 MB, free: 27.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.2965, allocations: 50 kB / 363.9 MB, free: 27.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 4.489e-06/0.2965, allocations: 0.7188 kB / 363.9 MB, free: 27.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=165): time 0.009783/0.3063, allocations: 3.812 MB / 367.7 MB, free: 26.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.3063, allocations: 148 kB / 367.9 MB, free: 26.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003507/0.3098, allocations: 3.062 MB / 370.9 MB, free: 25.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.279e-05/0.3099, allocations: 49.64 kB / 371 MB, free: 25.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.3112, allocations: 3.232 MB / 374.2 MB, free: 23.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004544/0.3116, allocations: 0.6734 MB / 374.9 MB, free: 22.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/0.3127, allocations: 1.162 MB / 376 MB, free: 22.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.009e-05/0.3128, allocations: 304.8 kB / 376.3 MB, free: 22.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.3142, allocations: 0.7298 MB / 377.1 MB, free: 22.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002479/0.3167, allocations: 4.458 MB / 381.5 MB, free: 16.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004435/0.3211, allocations: 5.671 MB / 387.2 MB, free: 9.176 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.883e-05/0.3212, allocations: 36 kB / 387.2 MB, free: 9.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.005496/0.3267, allocations: 4.061 MB / 391.3 MB, free: 5.066 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.3e-05/0.3268, allocations: 64 kB / 391.4 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/0.3269, allocations: 135.7 kB / 391.5 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/0.3272, allocations: 219.6 kB / 391.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003228/0.3305, allocations: 1.564 MB / 393.3 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008324/0.3313, allocations: 1.463 MB / 394.7 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003271/0.3346, allocations: 293 kB / 395 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000348/0.3349, allocations: 328 kB / 395.3 MB, free: 0.9258 MB / 330.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.00142/0.3363, allocations: 0.6134 MB / 395.9 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000489/0.3368, allocations: 211.8 kB / 396.2 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.3382, allocations: 0.8023 MB / 397 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/0.3382, allocations: 23.94 kB / 397 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3382, allocations: 0 / 397 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.3382, allocations: 11.97 kB / 397 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006282/0.3445, allocations: 3.499 MB / 400.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.3445, allocations: 5.359 kB / 400.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.3456, allocations: 303.5 kB / 400.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004133/0.3497, allocations: 396.2 kB / 401.2 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005025/0.3502, allocations: 221.4 kB / 401.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-05/0.3503, allocations: 35.92 kB / 401.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009934/0.3513, allocations: 1.208 MB / 402.6 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3513, allocations: 0 / 402.6 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.3534, allocations: 1.603 MB / 404.2 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004592/0.3539, allocations: 28 kB / 404.3 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009707/0.3548, allocations: 47.97 kB / 404.3 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.355, allocations: 104.7 kB / 404.4 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.665e-05/0.3551, allocations: 39.97 kB / 404.5 MB, free: 7.582 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001447/0.3566, allocations: 1.091 MB / 405.6 MB, free: 6.496 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3566, allocations: 4 kB / 405.6 MB, free: 6.492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003964/0.3606, allocations: 1.004 MB / 406.6 MB, free: 5.488 MB / 346.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.0004211/0.361, allocations: 168 kB / 406.7 MB, free: 5.312 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003571/0.3645, allocations: 2.416 MB / 409.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002413/0.3648, allocations: 105.5 kB / 409.2 MB, free: 2.793 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006312/0.3654, allocations: 0.4932 MB / 409.7 MB, free: 2.285 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/0.3681, allocations: 0.8226 MB / 410.6 MB, free: 1.477 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/0.3835, allocations: 7.703 MB / 418.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002197/0.3857, allocations: 1.309 MB / 419.6 MB, free: 8.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001957/0.3876, allocations: 489.5 kB / 420 MB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009612/0.3886, allocations: 0.509 MB / 420.6 MB, free: 7.367 MB / 362.7 MB Notification: Performance of SimCode: time 2.114e-06/0.3886, allocations: 4 kB / 420.6 MB, free: 7.363 MB / 362.7 MB Notification: Performance of Templates: time 0.0437/0.4323, allocations: 25.91 MB / 446.5 MB, free: 13.62 MB / 394.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9460512595251203]