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.001927/0.001927, allocations: 91.61 kB / 20.96 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.002676/0.002676, allocations: 165.3 kB / 24.28 MB, free: 144 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.583/1.583, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.3777/0.3777, allocations: 34.27 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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 1.743e-06/1.743e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.644e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01973/0.01976, allocations: 9.177 MB / 386.5 MB, free: 9.734 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.03208, allocations: 3.738 MB / 390.2 MB, free: 5.984 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.03393, allocations: 59.75 kB / 390.3 MB, free: 5.926 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008749/0.04268, allocations: 2.963 MB / 393.2 MB, free: 2.953 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007025/0.04971, allocations: 1.715 MB / 395 MB, free: 1.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.0519, allocations: 0.7794 MB / 395.7 MB, free: 460 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007175/0.05907, allocations: 4.287 MB / 400 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005423/0.0645, allocations: 3.108 MB / 403.1 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005385/0.06988, allocations: 2.156 MB / 405.3 MB, free: 6.816 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004234/0.07412, allocations: 2.077 MB / 407.4 MB, free: 4.734 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.07514, allocations: 316 kB / 407.7 MB, free: 4.426 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/0.07827, allocations: 1.147 MB / 408.8 MB, free: 3.277 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002693/0.08096, allocations: 1.87 MB / 410.7 MB, free: 1.402 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002882/0.08384, allocations: 1.176 MB / 411.9 MB, free: 228 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.09489, allocations: 6.78 MB / 418.6 MB, free: 9.422 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.0949, allocations: 0 / 418.6 MB, free: 9.422 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.0949, allocations: 4 kB / 418.6 MB, free: 9.418 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002532/0.09516, allocations: 4 kB / 418.7 MB, free: 9.414 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.01397/0.1091, allocations: 5.147 MB / 423.8 MB, free: 4.207 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1092, allocations: 12.03 kB / 423.8 MB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01895/0.1281, allocations: 2.897 MB / 426.7 MB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007169/0.1353, allocations: 2.267 MB / 429 MB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.1355, allocations: 222 kB / 429.2 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008082/0.1363, allocations: 288.2 kB / 429.5 MB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01373/0.1501, allocations: 5.718 MB / 435.2 MB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.1502, allocations: 39.64 kB / 435.2 MB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004602/0.1507, allocations: 139.9 kB / 435.4 MB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00338/0.154, allocations: 1.657 MB / 437 MB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.1648, allocations: 2.936 MB / 440 MB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1936/0.3584, allocations: 41.56 MB / 481.5 MB, free: 61.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003499/0.3619, allocations: 1.149 MB / 482.7 MB, free: 61.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008551/0.3628, allocations: 487.2 kB / 483.1 MB, free: 61.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/0.3631, allocations: 86.3 kB / 483.2 MB, free: 61.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.3631, allocations: 55.39 kB / 483.3 MB, free: 61.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.937e-06/0.3631, allocations: 3.469 kB / 483.3 MB, free: 61.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.02113/0.3842, allocations: 8.545 MB / 491.8 MB, free: 57.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.3843, allocations: 192.6 kB / 492 MB, free: 57.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004088/0.3884, allocations: 4.022 MB / 496 MB, free: 55.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.3885, allocations: 42.86 kB / 496.1 MB, free: 55.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00164/0.3901, allocations: 3.274 MB / 499.4 MB, free: 53.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005304/0.3907, allocations: 0.6341 MB / 500 MB, free: 52.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001601/0.3923, allocations: 1.397 MB / 0.4896 GB, free: 52.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.48e-05/0.3923, allocations: 483.8 kB / 0.4901 GB, free: 51.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.3939, allocations: 0.7231 MB / 0.4908 GB, free: 51.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003282/0.3972, allocations: 5.959 MB / 0.4966 GB, free: 44.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006109/0.4033, allocations: 7.221 MB / 0.5037 GB, free: 36.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001709/0.4035, allocations: 33.81 kB / 0.5037 GB, free: 36.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01035/0.4138, allocations: 5.204 MB / 0.5088 GB, free: 34.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.055e-05/0.4139, allocations: 56.66 kB / 0.5088 GB, free: 34.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001513/0.4141, allocations: 120.1 kB / 0.509 GB, free: 34.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/0.4156, allocations: 486.8 kB / 0.5094 GB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003351/0.4189, allocations: 1.23 MB / 0.5106 GB, free: 34.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/0.4221, allocations: 3.136 MB / 0.5137 GB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004145/0.4263, allocations: 324.3 kB / 0.514 GB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000889/0.4271, allocations: 334.5 kB / 0.5143 GB, free: 32.01 MB / 410.7 MB 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.00247/0.4296, allocations: 0.7053 MB / 0.515 GB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008303/0.4304, allocations: 330 kB / 0.5153 GB, free: 30.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003448/0.4339, allocations: 1.363 MB / 0.5167 GB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/0.4339, allocations: 16 kB / 0.5167 GB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.4339, allocations: 4 kB / 0.5167 GB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.434, allocations: 6.938 kB / 0.5167 GB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/0.4459, allocations: 5.449 MB / 0.522 GB, free: 25.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.4459, allocations: 4.609 kB / 0.522 GB, free: 25.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.4469, allocations: 203.1 kB / 0.5222 GB, free: 25.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.4483, allocations: 311.9 kB / 0.5225 GB, free: 24.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.4484, allocations: 37.72 kB / 0.5225 GB, free: 24.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002967/0.4514, allocations: 2.8 MB / 0.5253 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4514, allocations: 3.938 kB / 0.5253 GB, free: 22.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004922/0.4563, allocations: 2.597 MB / 0.5278 GB, free: 19.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009187/0.4572, allocations: 278 kB / 0.5281 GB, free: 19.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006743/0.4579, allocations: 23.73 kB / 0.5281 GB, free: 19.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.4595, allocations: 103.6 kB / 0.5282 GB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/0.4598, allocations: 108.7 kB / 0.5283 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.4599, allocations: 39.8 kB / 0.5283 GB, free: 19.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003489/0.4634, allocations: 1.634 MB / 0.5299 GB, free: 18.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4634, allocations: 0 / 0.5299 GB, free: 18.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005015/0.4684, allocations: 0.915 MB / 0.5308 GB, free: 17.13 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 (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.0005262/0.469, allocations: 165.9 kB / 0.531 GB, free: 16.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006093/0.4751, allocations: 3.12 MB / 0.534 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4751, allocations: 0 / 0.534 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.4764, allocations: 0.8067 MB / 0.5348 GB, free: 13.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.4791, allocations: 362.3 kB / 0.5352 GB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.49, allocations: 6.693 MB / 0.5417 GB, free: 7.055 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002112/0.4921, allocations: 2.246 MB / 0.5439 GB, free: 5.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002869/0.495, allocations: 1.454 MB / 0.5453 GB, free: 3.629 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006197/0.4956, allocations: 208.4 kB / 0.5455 GB, free: 3.426 MB / 410.7 MB Notification: Performance of SimCode: time 2.004e-06/0.4956, allocations: 0 / 0.5455 GB, free: 3.426 MB / 410.7 MB Notification: Performance of Templates: time 0.05727/0.5529, allocations: 25.14 MB / 0.5701 GB, free: 10.73 MB / 442.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/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.777825542958453]