Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001338/0.001338, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 14.72 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.001412/0.001412, allocations: 168.9 kB / 24.5 MB, free: 3.453 MB / 14.72 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.439/1.439, allocations: 177.2 MB / 204.9 MB, free: 9.066 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2367/0.2367, allocations: 34.28 MB / 295.5 MB, free: 14.6 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 71.89 kB / 443.2 MB, free: 6.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3086, allocations: 66.01 MB / 0.4972 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.007782/0.3164, allocations: 8.422 MB / 0.5055 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005733/0.3221, allocations: 3.637 MB / 0.509 GB, free: 22.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008884/0.323, allocations: 65.03 kB / 0.5091 GB, free: 22.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003836/0.3268, allocations: 2.683 MB / 0.5117 GB, free: 20.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003235/0.3301, allocations: 1.659 MB / 0.5133 GB, free: 20.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.3315, allocations: 0.7217 MB / 0.514 GB, free: 19.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00494/0.3364, allocations: 3.892 MB / 0.5178 GB, free: 18.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003059/0.3395, allocations: 2.751 MB / 0.5205 GB, free: 17.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.3415, allocations: 1.433 MB / 0.5219 GB, free: 16.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002803/0.3443, allocations: 1.931 MB / 0.5238 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006359/0.345, allocations: 316.1 kB / 0.5241 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.3472, allocations: 1.086 MB / 0.5251 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001708/0.3489, allocations: 1.787 MB / 0.5269 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001823/0.3507, allocations: 1.489 MB / 0.5283 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007523/0.3583, allocations: 6.717 MB / 0.5349 GB, free: 10.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3583, allocations: 1.156 kB / 0.5349 GB, free: 10.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3583, allocations: 0 / 0.5349 GB, free: 10.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001717/0.3584, allocations: 0 / 0.5349 GB, free: 10.6 MB / 446.1 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.009017/0.3675, allocations: 4.382 MB / 0.5392 GB, free: 7.523 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3675, allocations: 10.47 kB / 0.5392 GB, free: 7.523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01669/0.3842, allocations: 2.516 MB / 0.5417 GB, free: 6.336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006089/0.3903, allocations: 2.407 MB / 0.544 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.3904, allocations: 216.4 kB / 0.5442 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008154/0.3912, allocations: 303 kB / 0.5445 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/0.4045, allocations: 8.771 MB / 0.5531 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/0.4046, allocations: 51.62 kB / 0.5531 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004013/0.405, allocations: 135.9 kB / 0.5532 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002916/0.4079, allocations: 1.65 MB / 0.5549 GB, free: 9.918 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0149/0.4228, allocations: 7.215 MB / 0.5619 GB, free: 2.699 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0433/0.4661, allocations: 31.34 MB / 0.5925 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004919/0.4711, allocations: 1.943 MB / 0.5944 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.4729, allocations: 1.182 MB / 0.5956 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002936/0.4732, allocations: 96.23 kB / 0.5956 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.4732, allocations: 50.98 kB / 0.5957 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 5.701e-06/0.4732, allocations: 3.984 kB / 0.5957 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.03019/0.5034, allocations: 11.65 MB / 0.6071 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.5036, allocations: 208.5 kB / 0.6073 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004906/0.5085, allocations: 3.422 MB / 0.6106 GB, free: 15.65 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0002581/0.5087, allocations: 45.69 kB / 0.6107 GB, free: 15.6 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00231/0.5111, allocations: 2.961 MB / 0.6136 GB, free: 12.61 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007288/0.5118, allocations: 0.5739 MB / 0.6141 GB, free: 12.03 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001531/0.5133, allocations: 1.111 MB / 0.6152 GB, free: 10.91 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5135, allocations: 305.1 kB / 0.6155 GB, free: 10.61 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003075/0.5165, allocations: 1.81 MB / 0.6173 GB, free: 8.793 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005959/0.5225, allocations: 5.233 MB / 0.6224 GB, free: 1.848 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/0.5328, allocations: 7.521 MB / 0.6297 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001132/0.5329, allocations: 32 kB / 0.6297 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01454/0.5474, allocations: 7.214 MB / 0.6368 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.609e-05/0.5475, allocations: 58.5 kB / 0.6368 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/0.5476, allocations: 120 kB / 0.637 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001746/0.5494, allocations: 0.6763 MB / 0.6376 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004212/0.5536, allocations: 1.236 MB / 0.6388 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006027/0.5596, allocations: 4.175 MB / 0.6429 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004617/0.5642, allocations: 295.8 kB / 0.6432 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008519/0.5651, allocations: 332 kB / 0.6435 GB, free: 10.42 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * 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 (663): * Single equations (assignments): 659 * 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.003869/0.569, allocations: 1.963 MB / 0.6454 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006391/0.5696, allocations: 286.1 kB / 0.6457 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004708/0.5743, allocations: 2.218 MB / 0.6479 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.014e-05/0.5743, allocations: 16 kB / 0.6479 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.5744, allocations: 4 kB / 0.6479 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.5744, allocations: 7.984 kB / 0.6479 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.5858, allocations: 5.244 MB / 0.653 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.5859, allocations: 3.984 kB / 0.653 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.587, allocations: 215.7 kB / 0.6532 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/0.5886, allocations: 0.5041 MB / 0.6537 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.5887, allocations: 27.98 kB / 0.6537 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005193/0.5939, allocations: 3.759 MB / 0.6574 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5939, allocations: 0 / 0.6574 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007728/0.6016, allocations: 4.379 MB / 0.6617 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009389/0.6026, allocations: 254 kB / 0.6619 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/0.6029, allocations: 28.06 kB / 0.6619 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.604, allocations: 75.89 kB / 0.662 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/0.6043, allocations: 104.5 kB / 0.6621 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.6044, allocations: 31.98 kB / 0.6622 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003354/0.6078, allocations: 1.974 MB / 0.6641 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6078, allocations: 0 / 0.6641 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005096/0.6129, allocations: 0.8513 MB / 0.6649 GB, free: 4.281 MB / 0.5606 GB 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 (107): * Single equations (assignments): 103 * 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.0004864/0.6134, allocations: 151 kB / 0.6651 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008425/0.6218, allocations: 4.141 MB / 0.6691 GB, free: 0 / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.912e-05/0.6218, allocations: 4.234 kB / 0.6691 GB, free: 15.99 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.624, allocations: 1.169 MB / 0.6702 GB, free: 14.81 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/0.6263, allocations: 347.2 kB / 0.6706 GB, free: 14.48 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/0.6431, allocations: 8.104 MB / 0.6785 GB, free: 6.328 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003752/0.6468, allocations: 2.483 MB / 0.6809 GB, free: 3.82 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003964/0.6508, allocations: 1.673 MB / 0.6825 GB, free: 2.141 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005814/0.6514, allocations: 196.5 kB / 0.6827 GB, free: 1.949 MB / 0.5763 GB Notification: Performance of SimCode: time 8.72e-07/0.6514, allocations: 0 / 0.6827 GB, free: 1.949 MB / 0.5763 GB Notification: Performance of Templates: time 0.2809/0.9323, allocations: 23.81 MB / 0.706 GB, free: 165 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.598430257989094]