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.000976/0.000976, allocations: 88.2 kB / 20.94 MB, free: 3.609 MB / 18.57 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.001058/0.001058, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 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.9874/0.9874, allocations: 158.6 MB / 186 MB, free: 2.941 MB / 170.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.1376/0.1376, allocations: 32.38 MB / 270.7 MB, free: 14.77 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 3.276e-06/3.276e-06, allocations: 4 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.28e-05/3.608e-05, allocations: 10.19 kB / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01481/0.01485, allocations: 10.84 MB / 358.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008714/0.02357, allocations: 3.976 MB / 362.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.0257, allocations: 67.75 kB / 362.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004495/0.0302, allocations: 3.033 MB / 365.6 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004077/0.03427, allocations: 2.022 MB / 367.6 MB, free: 5.738 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.03557, allocations: 0.7677 MB / 368.4 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005028/0.0406, allocations: 4.551 MB / 372.9 MB, free: 416 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003944/0.04454, allocations: 3.385 MB / 376.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004224/0.04877, allocations: 2.456 MB / 378.8 MB, free: 10.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003143/0.05191, allocations: 2.428 MB / 381.2 MB, free: 8.059 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009171/0.05283, allocations: 380 kB / 381.6 MB, free: 7.688 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.05505, allocations: 1.201 MB / 382.8 MB, free: 6.484 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002467/0.05751, allocations: 2.201 MB / 385 MB, free: 4.277 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001912/0.05943, allocations: 1.386 MB / 386.4 MB, free: 2.887 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005761/0.06519, allocations: 5.138 MB / 391.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.06519, allocations: 4 kB / 391.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.06519, allocations: 0 / 391.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001696/0.06536, allocations: 0 / 391.5 MB, free: 13.73 MB / 330.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.007018/0.07238, allocations: 5.413 MB / 396.9 MB, free: 8.246 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.07243, allocations: 12.03 kB / 396.9 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008711/0.08114, allocations: 3.087 MB / 400 MB, free: 5.141 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00425/0.08539, allocations: 2.462 MB / 402.5 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.08558, allocations: 250.8 kB / 402.7 MB, free: 2.379 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007605/0.08634, allocations: 340.1 kB / 403.1 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009578/0.09592, allocations: 6.042 MB / 409.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/0.09603, allocations: 43.64 kB / 409.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004002/0.09643, allocations: 155.8 kB / 409.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002032/0.09846, allocations: 2.096 MB / 411.4 MB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007891/0.1064, allocations: 3.083 MB / 414.5 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1852/0.2916, allocations: 42.48 MB / 457 MB, free: 71.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003037/0.2946, allocations: 1.269 MB / 458.2 MB, free: 71.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008946/0.2955, allocations: 0.5616 MB / 458.8 MB, free: 71.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002706/0.2958, allocations: 107 kB / 458.9 MB, free: 71.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.2958, allocations: 52.23 kB / 459 MB, free: 71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=176): time 4.318e-06/0.2958, allocations: 0.5 kB / 459 MB, free: 71 MB / 378.7 MB Notification: Performance of matching and sorting (n=194): time 0.01951/0.3153, allocations: 9.543 MB / 468.5 MB, free: 68.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.3154, allocations: 201.3 kB / 468.7 MB, free: 68.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003434/0.3188, allocations: 3.365 MB / 472.1 MB, free: 67.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.319, allocations: 50.2 kB / 472.1 MB, free: 67.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.3203, allocations: 3.496 MB / 475.6 MB, free: 65.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004323/0.3207, allocations: 0.7931 MB / 476.4 MB, free: 64.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009701/0.3217, allocations: 1.337 MB / 477.7 MB, free: 64.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.494e-05/0.3218, allocations: 480.8 kB / 478.2 MB, free: 63.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.3228, allocations: 0.6974 MB / 478.9 MB, free: 63.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/0.3251, allocations: 6.223 MB / 485.1 MB, free: 54.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004148/0.3293, allocations: 7.551 MB / 492.7 MB, free: 44.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.698e-05/0.3293, allocations: 39.94 kB / 492.7 MB, free: 44.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.005979/0.3353, allocations: 5.575 MB / 498.3 MB, free: 39.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.519e-05/0.3354, allocations: 60 kB / 498.3 MB, free: 39.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.581e-05/0.3354, allocations: 128 kB / 498.5 MB, free: 39.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009232/0.3364, allocations: 487.4 kB / 498.9 MB, free: 38.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/0.3387, allocations: 1.427 MB / 0.4886 GB, free: 37.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.3408, allocations: 3.079 MB / 0.4917 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/0.343, allocations: 375.7 kB / 0.492 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002693/0.3433, allocations: 376 kB / 0.4924 GB, free: 33.35 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * 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 (764): * Single equations (assignments): 760 * 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,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001137/0.3444, allocations: 0.6609 MB / 0.493 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/0.3448, allocations: 381.7 kB / 0.4934 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/0.347, allocations: 1.593 MB / 0.4949 GB, free: 30.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.347, allocations: 23.94 kB / 0.495 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.347, allocations: 4 kB / 0.495 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.347, allocations: 7.969 kB / 0.495 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006838/0.3538, allocations: 5.539 MB / 0.5004 GB, free: 25.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3539, allocations: 4 kB / 0.5004 GB, free: 25.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007407/0.3546, allocations: 323.5 kB / 0.5007 GB, free: 24.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006748/0.3553, allocations: 311 kB / 0.501 GB, free: 24.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.383e-05/0.3554, allocations: 35.97 kB / 0.501 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/0.3571, allocations: 2.723 MB / 0.5037 GB, free: 21.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3571, allocations: 4 kB / 0.5037 GB, free: 21.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002992/0.3601, allocations: 2.669 MB / 0.5063 GB, free: 18.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007367/0.3608, allocations: 0.5482 MB / 0.5068 GB, free: 18.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.361, allocations: 28 kB / 0.5069 GB, free: 18.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007327/0.3618, allocations: 139.8 kB / 0.507 GB, free: 18.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/0.362, allocations: 141 kB / 0.5071 GB, free: 18.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/0.3621, allocations: 55.5 kB / 0.5072 GB, free: 18.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001303/0.3634, allocations: 1.432 MB / 0.5086 GB, free: 16.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3634, allocations: 4.031 kB / 0.5086 GB, free: 16.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003156/0.3666, allocations: 1.105 MB / 0.5097 GB, free: 15.48 MB / 378.7 MB 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 (164): * Single equations (assignments): 160 * 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.0003396/0.3669, allocations: 182.3 kB / 0.5098 GB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003378/0.3703, allocations: 3.109 MB / 0.5129 GB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3703, allocations: 4 kB / 0.5129 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007798/0.3711, allocations: 0.8471 MB / 0.5137 GB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.3722, allocations: 398.4 kB / 0.5141 GB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007905/0.3801, allocations: 7.845 MB / 0.5217 GB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008489/0.3809, allocations: 1.344 MB / 0.5231 GB, free: 1.648 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00195/0.3829, allocations: 1.618 MB / 0.5246 GB, free: 36 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005151/0.3834, allocations: 248.4 kB / 0.5249 GB, free: 15.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3834, allocations: 0 / 0.5249 GB, free: 15.79 MB / 394.7 MB Notification: Performance of Templates: time 0.04498/0.4284, allocations: 30.95 MB / 0.5551 GB, free: 0.9922 MB / 410.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 -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: 4.28696484095417]