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.00187/0.00187, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002242/0.002242, allocations: 165.7 kB / 24.27 MB, free: 148 kB / 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 1.594/1.594, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.331/0.331, allocations: 32.79 MB / 293.9 MB, free: 1.207 MB / 266.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 2.043e-06/2.043e-06, allocations: 0 / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.06e-05, allocations: 5.266 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01426/0.0143, allocations: 8.424 MB / 383.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.02464, allocations: 3.636 MB / 387.3 MB, free: 8.848 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.02622, allocations: 63.75 kB / 387.4 MB, free: 8.785 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006435/0.03265, allocations: 2.87 MB / 390.3 MB, free: 5.906 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005232/0.03788, allocations: 1.715 MB / 392 MB, free: 4.184 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.04022, allocations: 0.7872 MB / 392.8 MB, free: 3.395 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00771/0.04793, allocations: 4.28 MB / 397 MB, free: 15.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005818/0.05375, allocations: 3.108 MB / 400.1 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005281/0.05903, allocations: 2.14 MB / 402.3 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004124/0.06315, allocations: 2.038 MB / 404.3 MB, free: 7.742 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001273/0.06443, allocations: 320 kB / 404.6 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.06737, allocations: 1.135 MB / 405.8 MB, free: 6.293 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002911/0.07029, allocations: 1.866 MB / 407.6 MB, free: 4.422 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002891/0.07318, allocations: 1.168 MB / 408.8 MB, free: 3.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.08369, allocations: 6.791 MB / 415.6 MB, free: 12.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.08369, allocations: 0 / 415.6 MB, free: 12.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.08369, allocations: 0 / 415.6 MB, free: 12.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002748/0.08397, allocations: 4 kB / 415.6 MB, free: 12.43 MB / 394.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.01295/0.09692, allocations: 4.414 MB / 420 MB, free: 7.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.09696, allocations: 12.03 kB / 420 MB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01784/0.1148, allocations: 2.94 MB / 423 MB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006839/0.1216, allocations: 2.416 MB / 425.4 MB, free: 2.543 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/0.1219, allocations: 218 kB / 425.6 MB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/0.1229, allocations: 292.2 kB / 425.9 MB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01771/0.1406, allocations: 8.837 MB / 434.7 MB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001286/0.1408, allocations: 35.7 kB / 434.8 MB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00042/0.1412, allocations: 139.9 kB / 434.9 MB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002934/0.1441, allocations: 1.661 MB / 436.5 MB, free: 6.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1991/0.3432, allocations: 7.24 MB / 443.8 MB, free: 80.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03229/0.3755, allocations: 31.63 MB / 475.4 MB, free: 60.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/0.3798, allocations: 1.908 MB / 477.3 MB, free: 59.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.3812, allocations: 1.205 MB / 478.5 MB, free: 59.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003279/0.3815, allocations: 118.4 kB / 478.6 MB, free: 59.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.3816, allocations: 51.38 kB / 478.7 MB, free: 59.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=123): time 3.927e-06/0.3816, allocations: 0 / 478.7 MB, free: 59.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=141): time 0.02625/0.4078, allocations: 12.19 MB / 490.9 MB, free: 54.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.4079, allocations: 201.2 kB / 491.1 MB, free: 54.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004353/0.4122, allocations: 3.491 MB / 494.6 MB, free: 53.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.4124, allocations: 45.8 kB / 494.6 MB, free: 53.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.4139, allocations: 2.919 MB / 497.5 MB, free: 50.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005819/0.4144, allocations: 0.5786 MB / 498.1 MB, free: 50.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00131/0.4158, allocations: 1.091 MB / 499.2 MB, free: 49.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.4158, allocations: 302.2 kB / 499.5 MB, free: 49.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002695/0.4185, allocations: 1.842 MB / 0.4896 GB, free: 49.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004001/0.4225, allocations: 5.254 MB / 0.4947 GB, free: 43.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008986/0.4315, allocations: 7.577 MB / 0.5021 GB, free: 38.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/0.4316, allocations: 33.72 kB / 0.5022 GB, free: 38.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.01303/0.4446, allocations: 7.542 MB / 0.5095 GB, free: 35.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.711e-05/0.4447, allocations: 61.03 kB / 0.5096 GB, free: 35.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001314/0.4449, allocations: 119.2 kB / 0.5097 GB, free: 35.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/0.4467, allocations: 0.7179 MB / 0.5104 GB, free: 35.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003554/0.4502, allocations: 1.238 MB / 0.5116 GB, free: 34.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004344/0.4546, allocations: 4.225 MB / 0.5157 GB, free: 30.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004695/0.4593, allocations: 332.8 kB / 0.516 GB, free: 30.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005756/0.4599, allocations: 335.1 kB / 0.5164 GB, free: 29.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * 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 (661): * Single equations (assignments): 657 * 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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002815/0.4627, allocations: 1.943 MB / 0.5183 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008463/0.4635, allocations: 331.5 kB / 0.5186 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003812/0.4673, allocations: 2.308 MB / 0.5208 GB, free: 26.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/0.4674, allocations: 16 kB / 0.5208 GB, free: 26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.4674, allocations: 11.94 kB / 0.5209 GB, free: 25.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.4674, allocations: 5.859 kB / 0.5209 GB, free: 25.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009055/0.4764, allocations: 5.411 MB / 0.5262 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.4765, allocations: 4 kB / 0.5262 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.4775, allocations: 220.2 kB / 0.5264 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/0.479, allocations: 0.546 MB / 0.5269 GB, free: 21.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.913e-05/0.4791, allocations: 20.41 kB / 0.5269 GB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003632/0.4827, allocations: 3.813 MB / 0.5306 GB, free: 17.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4827, allocations: 0 / 0.5306 GB, free: 17.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005904/0.4886, allocations: 4.582 MB / 0.5351 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.4897, allocations: 281.9 kB / 0.5354 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003235/0.49, allocations: 20 kB / 0.5354 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.4912, allocations: 119.8 kB / 0.5355 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/0.4915, allocations: 105.9 kB / 0.5356 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.4916, allocations: 39.98 kB / 0.5357 GB, free: 12.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002433/0.4941, allocations: 2.029 MB / 0.5376 GB, free: 9.988 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4941, allocations: 4 kB / 0.5376 GB, free: 9.984 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004754/0.4988, allocations: 0.9248 MB / 0.5385 GB, free: 9.062 MB / 410.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 (108): * Single equations (assignments): 104 * 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.0004327/0.4993, allocations: 161 kB / 0.5387 GB, free: 8.895 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005886/0.5051, allocations: 4.222 MB / 0.5428 GB, free: 4.691 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5051, allocations: 0.9844 kB / 0.5428 GB, free: 4.691 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.5066, allocations: 1.219 MB / 0.544 GB, free: 3.461 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.5086, allocations: 373.5 kB / 0.5444 GB, free: 3.125 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.5228, allocations: 8.231 MB / 0.5524 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00363/0.5264, allocations: 2.488 MB / 0.5548 GB, free: 8.316 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004395/0.5308, allocations: 1.692 MB / 0.5565 GB, free: 6.617 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006729/0.5315, allocations: 204.4 kB / 0.5567 GB, free: 6.418 MB / 426.7 MB Notification: Performance of SimCode: time 1.693e-06/0.5315, allocations: 0.6562 kB / 0.5567 GB, free: 6.418 MB / 426.7 MB Notification: Performance of Templates: time 0.0565/0.588, allocations: 24.9 MB / 0.581 GB, free: 13.98 MB / 458.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.571841719094664]