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.001977/0.001977, allocations: 90.89 kB / 20.21 MB, free: 4.207 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.002207/0.002207, allocations: 161.3 kB / 23.52 MB, free: 0.8984 MB / 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 1.411/1.411, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.2255/0.2255, allocations: 32.37 MB / 270 MB, free: 14.64 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 2.886e-06/2.886e-06, allocations: 0 / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.636e-05/5.924e-05, allocations: 6.25 kB / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01075/0.0108, allocations: 10.8 MB / 357.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.02139, allocations: 3.98 MB / 361.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.02321, allocations: 71.75 kB / 361.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006392/0.0296, allocations: 3.025 MB / 364.8 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006168/0.03577, allocations: 2.01 MB / 366.8 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.03796, allocations: 0.7833 MB / 367.6 MB, free: 5.031 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008173/0.04613, allocations: 4.549 MB / 372.2 MB, free: 484 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005617/0.05175, allocations: 3.374 MB / 375.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006342/0.05809, allocations: 2.456 MB / 378 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005914/0.064, allocations: 2.428 MB / 380.4 MB, free: 8.137 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001268/0.06527, allocations: 376 kB / 380.8 MB, free: 7.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.06835, allocations: 1.217 MB / 382 MB, free: 6.551 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003134/0.07149, allocations: 2.205 MB / 384.2 MB, free: 4.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002544/0.07403, allocations: 1.379 MB / 385.6 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01297/0.087, allocations: 8.025 MB / 393.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.08701, allocations: 4 kB / 393.6 MB, free: 10.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.08701, allocations: 0 / 393.6 MB, free: 10.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002222/0.08723, allocations: 0 / 393.6 MB, free: 10.9 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.01456/0.1018, allocations: 5.921 MB / 399.5 MB, free: 4.914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.1019, allocations: 8.031 kB / 399.6 MB, free: 4.906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01996/0.1218, allocations: 3.099 MB / 402.7 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008158/0.13, allocations: 2.489 MB / 405.1 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/0.1303, allocations: 254.8 kB / 405.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/0.1314, allocations: 328.2 kB / 405.7 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01723/0.1486, allocations: 6.608 MB / 412.3 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001503/0.1488, allocations: 43.62 kB / 412.4 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005018/0.1493, allocations: 159.8 kB / 412.5 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004125/0.1534, allocations: 2.088 MB / 414.6 MB, free: 4.867 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/0.1669, allocations: 3.559 MB / 418.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2465/0.4135, allocations: 47.89 MB / 466.1 MB, free: 64.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004476/0.4179, allocations: 1.447 MB / 467.5 MB, free: 64.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.4191, allocations: 0.6566 MB / 468.2 MB, free: 64.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.4194, allocations: 109.6 kB / 468.3 MB, free: 64.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.4194, allocations: 57.2 kB / 468.3 MB, free: 64.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=176): time 4.328e-06/0.4194, allocations: 0 / 468.3 MB, free: 64.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=194): time 0.02566/0.4451, allocations: 10.54 MB / 478.9 MB, free: 61.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.4451, allocations: 198.6 kB / 479.1 MB, free: 61.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005094/0.4502, allocations: 4.255 MB / 483.3 MB, free: 60.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004574/0.4507, allocations: 52.92 kB / 483.4 MB, free: 60.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001894/0.4526, allocations: 3.688 MB / 487.1 MB, free: 57.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008353/0.4534, allocations: 0.8513 MB / 487.9 MB, free: 56.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001848/0.4553, allocations: 1.579 MB / 489.5 MB, free: 55.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4554, allocations: 476.8 kB / 489.9 MB, free: 54.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/0.4572, allocations: 0.9026 MB / 490.8 MB, free: 53.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003543/0.4608, allocations: 6.625 MB / 497.5 MB, free: 44.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007011/0.4678, allocations: 8.149 MB / 0.4938 GB, free: 34.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001435/0.4679, allocations: 36 kB / 0.4938 GB, free: 34.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01126/0.4792, allocations: 5.957 MB / 0.4996 GB, free: 28.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.025e-05/0.4793, allocations: 61.56 kB / 0.4997 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.607e-05/0.4794, allocations: 131.9 kB / 0.4998 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.4808, allocations: 0.4905 MB / 0.5003 GB, free: 27.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003949/0.4848, allocations: 1.431 MB / 0.5017 GB, free: 26.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/0.4879, allocations: 3.173 MB / 0.5048 GB, free: 22.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004307/0.4922, allocations: 379.6 kB / 0.5051 GB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005559/0.4928, allocations: 376 kB / 0.5055 GB, free: 22.15 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.001784/0.4945, allocations: 0.7691 MB / 0.5063 GB, free: 21.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006807/0.4952, allocations: 377.8 kB / 0.5066 GB, free: 21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004013/0.4992, allocations: 1.913 MB / 0.5085 GB, free: 19.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/0.4993, allocations: 20 kB / 0.5085 GB, free: 19.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.4993, allocations: 4 kB / 0.5085 GB, free: 19.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.4993, allocations: 7.969 kB / 0.5085 GB, free: 19.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.5124, allocations: 6.928 MB / 0.5153 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.5124, allocations: 0 / 0.5153 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/0.5139, allocations: 331.1 kB / 0.5156 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.5152, allocations: 312.6 kB / 0.5159 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/0.5153, allocations: 39.92 kB / 0.5159 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/0.5181, allocations: 2.798 MB / 0.5187 GB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5181, allocations: 1.156 kB / 0.5187 GB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005526/0.5236, allocations: 3.316 MB / 0.5219 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/0.5255, allocations: 0.5405 MB / 0.5224 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005084/0.526, allocations: 32 kB / 0.5225 GB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.5276, allocations: 139.8 kB / 0.5226 GB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003563/0.5279, allocations: 141 kB / 0.5227 GB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.5281, allocations: 55.98 kB / 0.5228 GB, free: 4.281 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002451/0.5305, allocations: 1.737 MB / 0.5245 GB, free: 2.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5305, allocations: 0 / 0.5245 GB, free: 2.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004841/0.5353, allocations: 1.105 MB / 0.5256 GB, free: 1.449 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.0004878/0.5358, allocations: 194.8 kB / 0.5257 GB, free: 1.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009016/0.5449, allocations: 3.704 MB / 0.5294 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.5449, allocations: 0 / 0.5294 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.5473, allocations: 1.064 MB / 0.5304 GB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/0.5501, allocations: 392.3 kB / 0.5308 GB, free: 12.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/0.5684, allocations: 8.03 MB / 0.5386 GB, free: 3.973 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004602/0.573, allocations: 2.647 MB / 0.5412 GB, free: 1.281 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004661/0.5777, allocations: 1.625 MB / 0.5428 GB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009762/0.5787, allocations: 248.4 kB / 0.543 GB, free: 15.41 MB / 410.7 MB Notification: Performance of SimCode: time 1.953e-06/0.5787, allocations: 0 / 0.543 GB, free: 15.41 MB / 410.7 MB Notification: Performance of Templates: time 0.07452/0.6532, allocations: 30.93 MB / 0.5732 GB, free: 0.6367 MB / 426.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.818337672040798]