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.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.0011/0.0011, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.0009823/0.0009823, allocations: 172.3 kB / 25.61 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9665/0.9665, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.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.1351/0.1351, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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 1.503e-06/1.503e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.673e-05, allocations: 2.312 kB / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.005998/0.006015, allocations: 9.032 MB / 386.3 MB, free: 16.53 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004472/0.01049, allocations: 3.72 MB / 390 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000719/0.01121, allocations: 67.75 kB / 390.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.01343, allocations: 2.909 MB / 393 MB, free: 9.812 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.01555, allocations: 1.73 MB / 394.7 MB, free: 8.074 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008593/0.0164, allocations: 0.7872 MB / 395.5 MB, free: 7.285 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.01916, allocations: 4.291 MB / 399.8 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002259/0.02142, allocations: 3.127 MB / 402.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/0.0239, allocations: 2.635 MB / 405.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.02572, allocations: 2.073 MB / 407.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003084/0.02603, allocations: 320 kB / 408 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.02736, allocations: 1.135 MB / 409.1 MB, free: 9.621 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.02848, allocations: 1.878 MB / 411 MB, free: 7.738 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00098/0.02946, allocations: 1.172 MB / 412.1 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003686/0.03314, allocations: 4.407 MB / 416.5 MB, free: 2.141 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.03315, allocations: 0 / 416.5 MB, free: 2.141 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.03315, allocations: 0 / 416.5 MB, free: 2.141 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.687e-05/0.03318, allocations: 0 / 416.5 MB, free: 2.141 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: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.004366/0.03754, allocations: 4.638 MB / 421.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.03757, allocations: 11.98 kB / 421.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006634/0.04421, allocations: 1.949 MB / 423.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.04613, allocations: 1.83 MB / 425 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.04624, allocations: 226 kB / 425.2 MB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/0.04654, allocations: 296.2 kB / 425.5 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004853/0.0514, allocations: 4.882 MB / 430.4 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-05/0.05146, allocations: 43.62 kB / 430.4 MB, free: 3.277 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002317/0.0517, allocations: 135.9 kB / 430.5 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001391/0.05309, allocations: 1.451 MB / 432 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/0.05577, allocations: 1.995 MB / 434 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02312/0.0789, allocations: 38.19 MB / 472.2 MB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.08052, allocations: 0.8032 MB / 473 MB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/0.08081, allocations: 264.1 kB / 473.2 MB, free: 7.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003011/0.08383, allocations: 2.578 MB / 475.8 MB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.08386, allocations: 49.83 kB / 475.9 MB, free: 4.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=101): time 2.164e-06/0.08386, allocations: 0 / 475.9 MB, free: 4.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=114): time 0.006038/0.0899, allocations: 3.12 MB / 479 MB, free: 1.234 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.08997, allocations: 196.3 kB / 479.2 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.09243, allocations: 3.223 MB / 482.4 MB, free: 13.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.09248, allocations: 45.7 kB / 482.4 MB, free: 13.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001774/0.09426, allocations: 3.193 MB / 485.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.09455, allocations: 0.5081 MB / 486.1 MB, free: 9.961 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009278/0.09548, allocations: 1.211 MB / 487.4 MB, free: 8.738 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.09558, allocations: 476.8 kB / 487.8 MB, free: 8.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000632/0.09621, allocations: 446.3 kB / 488.3 MB, free: 7.828 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1731/0.2693, allocations: 5.726 MB / 494 MB, free: 96.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005105/0.2744, allocations: 6.703 MB / 0.489 GB, free: 89.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/0.2746, allocations: 34.34 kB / 0.489 GB, free: 89.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.006107/0.2807, allocations: 4.245 MB / 0.4931 GB, free: 88.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.265e-05/0.2807, allocations: 61.38 kB / 0.4932 GB, free: 88.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.2808, allocations: 130.9 kB / 0.4933 GB, free: 88.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004434/0.2813, allocations: 200.7 kB / 0.4935 GB, free: 88.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/0.2835, allocations: 1.224 MB / 0.4947 GB, free: 88.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008511/0.2844, allocations: 1.965 MB / 0.4966 GB, free: 87.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.2866, allocations: 256.1 kB / 0.4969 GB, free: 87.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/0.2868, allocations: 301.6 kB / 0.4972 GB, free: 87.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.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 (670): * Single equations (assignments): 666 * 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.001089/0.2879, allocations: 0.613 MB / 0.4977 GB, free: 86.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/0.2882, allocations: 314.5 kB / 0.498 GB, free: 86.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000683/0.2889, allocations: 0.581 MB / 0.4986 GB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.2889, allocations: 13.56 kB / 0.4986 GB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2889, allocations: 3.438 kB / 0.4986 GB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2889, allocations: 2.016 kB / 0.4986 GB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003976/0.2929, allocations: 3.385 MB / 0.5019 GB, free: 86.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.2929, allocations: 3.656 kB / 0.5019 GB, free: 86.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/0.2933, allocations: 170.1 kB / 0.5021 GB, free: 86.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001712/0.2935, allocations: 48.56 kB / 0.5022 GB, free: 86.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.2936, allocations: 24.69 kB / 0.5022 GB, free: 86.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007004/0.2943, allocations: 1.725 MB / 0.5039 GB, free: 84.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2943, allocations: 3.906 kB / 0.5039 GB, free: 84.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.2954, allocations: 1.499 MB / 0.5053 GB, free: 83.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.2957, allocations: 263.2 kB / 0.5056 GB, free: 83.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.2959, allocations: 20.98 kB / 0.5056 GB, free: 83.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004747/0.2964, allocations: 35.19 kB / 0.5056 GB, free: 83.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.2965, allocations: 74.41 kB / 0.5057 GB, free: 83.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.2966, allocations: 34.92 kB / 0.5057 GB, free: 83.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001239/0.2978, allocations: 1.284 MB / 0.507 GB, free: 83.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2978, allocations: 0 / 0.507 GB, free: 83.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002817/0.3006, allocations: 0.8333 MB / 0.5078 GB, free: 82.87 MB / 410.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.0002616/0.3009, allocations: 163.6 kB / 0.508 GB, free: 82.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002337/0.3032, allocations: 2.27 MB / 0.5102 GB, free: 80.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3032, allocations: 4 kB / 0.5102 GB, free: 80.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.3036, allocations: 459.1 kB / 0.5106 GB, free: 80.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.3046, allocations: 360.1 kB / 0.511 GB, free: 80.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007167/0.3118, allocations: 6.339 MB / 0.5172 GB, free: 75.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008122/0.3126, allocations: 1.116 MB / 0.5182 GB, free: 74.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009695/0.3136, allocations: 432 kB / 0.5187 GB, free: 74.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00052/0.3141, allocations: 0.49 MB / 0.5191 GB, free: 73.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.422e-06/0.3141, allocations: 0 / 0.5191 GB, free: 73.71 MB / 410.7 MB Notification: Performance of Templates: time 0.0377/0.3518, allocations: 22.36 MB / 0.541 GB, free: 52.92 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.171500436961651]