Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.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.001021/0.001021, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.002037/0.002037, allocations: 169 kB / 24.14 MB, free: 364 kB / 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 0.9819/0.9819, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] 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.1504/0.1504, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.436e-05, allocations: 2.312 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.1666/0.1666, allocations: 18.17 MB / 317.3 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01397/0.1806, allocations: 5.563 MB / 322.8 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004223/0.1848, allocations: 141.3 kB / 323 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006433/0.1913, allocations: 5.162 MB / 328.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008271/0.1995, allocations: 3.418 MB / 331.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.2018, allocations: 1.018 MB / 332.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01014/0.212, allocations: 8.937 MB / 341.5 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007612/0.2196, allocations: 6.188 MB / 347.7 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01019/0.2298, allocations: 5.235 MB / 352.9 MB, free: 8.234 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007224/0.237, allocations: 4.302 MB / 357.2 MB, free: 3.922 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002433/0.2394, allocations: 0.6562 MB / 357.9 MB, free: 3.266 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004135/0.2436, allocations: 1.49 MB / 359.4 MB, free: 1.773 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00489/0.2485, allocations: 4.079 MB / 363.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005613/0.2541, allocations: 2.519 MB / 366 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.2666, allocations: 8.834 MB / 374.8 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2666, allocations: 0 / 374.8 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2666, allocations: 4 kB / 374.8 MB, free: 2.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004853/0.2671, allocations: 0 / 374.8 MB, free: 2.285 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: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.01582/0.2829, allocations: 8.545 MB / 383.3 MB, free: 9.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.2829, allocations: 8.031 kB / 383.3 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008259/0.2912, allocations: 2.618 MB / 386 MB, free: 7.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007039/0.2982, allocations: 3.585 MB / 389.6 MB, free: 3.367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/0.2986, allocations: 456.6 kB / 390 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001705/0.3003, allocations: 0.5908 MB / 390.6 MB, free: 2.332 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02174/0.322, allocations: 9.427 MB / 400 MB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000266/0.3223, allocations: 71.38 kB / 400.1 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001012/0.3233, allocations: 283.7 kB / 400.4 MB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003906/0.3272, allocations: 3.849 MB / 404.2 MB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01379/0.341, allocations: 4.981 MB / 409.2 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3845/0.7255, allocations: 56.34 MB / 465.5 MB, free: 79.68 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008522/0.734, allocations: 2.897 MB / 468.4 MB, free: 79.43 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002059/0.7361, allocations: 0.8096 MB / 469.2 MB, free: 79.38 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01601/0.7521, allocations: 6.973 MB / 476.2 MB, free: 78.71 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.698e-05/0.7521, allocations: 68.12 kB / 476.3 MB, free: 78.66 MB / 410.8 MB Notification: Performance of pre-optimization done (n=354): time 7.274e-06/0.7522, allocations: 0 / 476.3 MB, free: 78.66 MB / 410.8 MB Notification: Performance of matching and sorting (n=389): time 0.03221/0.7844, allocations: 13.7 MB / 490 MB, free: 77.47 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.7844, allocations: 215.9 kB / 490.2 MB, free: 77.25 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005716/0.7902, allocations: 5.286 MB / 495.5 MB, free: 75.91 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007206/0.7909, allocations: 75.89 kB / 495.5 MB, free: 75.87 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002452/0.7933, allocations: 5.741 MB / 0.4895 GB, free: 70.77 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001779/0.7951, allocations: 1.499 MB / 0.491 GB, free: 69.43 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002237/0.7974, allocations: 2.063 MB / 0.493 GB, free: 67.54 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.7974, allocations: 301.1 kB / 0.4933 GB, free: 67.25 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002456/0.7999, allocations: 1.467 MB / 0.4947 GB, free: 65.78 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003864/0.8037, allocations: 7.508 MB / 0.5021 GB, free: 55.32 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007873/0.8116, allocations: 9.802 MB / 0.5116 GB, free: 43.04 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001935/0.8118, allocations: 67.94 kB / 0.5117 GB, free: 42.97 MB / 410.8 MB Notification: Performance of matching and sorting (n=1460) (initialization): time 0.01451/0.8263, allocations: 7.423 MB / 0.519 GB, free: 35.51 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.8264, allocations: 100 kB / 0.5191 GB, free: 35.41 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002207/0.8266, allocations: 216 kB / 0.5193 GB, free: 35.2 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.8278, allocations: 0.5787 MB / 0.5198 GB, free: 34.61 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005167/0.8329, allocations: 2.406 MB / 0.5222 GB, free: 32.2 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/0.8366, allocations: 6.586 MB / 0.5286 GB, free: 25.28 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006316/0.8429, allocations: 447.8 kB / 0.529 GB, free: 24.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/0.8443, allocations: 0.5468 MB / 0.5296 GB, free: 24.29 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1000 * Number of states: 0 () * Number of discrete variables: 51 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1364): * Single equations (assignments): 1351 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (2,13,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003879/0.8482, allocations: 0.985 MB / 0.5305 GB, free: 23.29 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/0.8495, allocations: 395.6 kB / 0.5309 GB, free: 22.91 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.8524, allocations: 2.078 MB / 0.5329 GB, free: 20.77 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-05/0.8525, allocations: 44 kB / 0.533 GB, free: 20.73 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.8525, allocations: 7.938 kB / 0.533 GB, free: 20.72 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.836e-05/0.8525, allocations: 16.22 kB / 0.533 GB, free: 20.71 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01878/0.8713, allocations: 8.519 MB / 0.5413 GB, free: 11.88 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/0.8713, allocations: 16 kB / 0.5413 GB, free: 11.87 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.8725, allocations: 0.4921 MB / 0.5418 GB, free: 11.38 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008509/0.8733, allocations: 0.5716 MB / 0.5424 GB, free: 10.79 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.8735, allocations: 80 kB / 0.5424 GB, free: 10.71 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/0.8757, allocations: 5.668 MB / 0.548 GB, free: 4.703 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.8757, allocations: 27.81 kB / 0.548 GB, free: 4.676 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003427/0.8791, allocations: 3.459 MB / 0.5514 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.8804, allocations: 0.8083 MB / 0.5522 GB, free: 32 kB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004506/0.8809, allocations: 79.97 kB / 0.5523 GB, free: 15.95 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009994/0.8819, allocations: 72 kB / 0.5523 GB, free: 15.88 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/0.8822, allocations: 249.2 kB / 0.5526 GB, free: 15.64 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/0.8824, allocations: 100.3 kB / 0.5527 GB, free: 15.54 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001693/0.884, allocations: 1.929 MB / 0.5545 GB, free: 13.6 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.884, allocations: 0 / 0.5545 GB, free: 13.6 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006006/0.8901, allocations: 1.941 MB / 0.5564 GB, free: 11.66 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (309): * Single equations (assignments): 296 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,10,100.0%), (1,2,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004876/0.8905, allocations: 235.6 kB / 0.5567 GB, free: 11.42 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.006063/0.8966, allocations: 4.947 MB / 0.5615 GB, free: 6.457 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002184/0.8968, allocations: 132.2 kB / 0.5616 GB, free: 6.32 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.8983, allocations: 1.491 MB / 0.5631 GB, free: 4.766 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/0.9014, allocations: 1.162 MB / 0.5642 GB, free: 3.617 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/0.92, allocations: 15.24 MB / 0.5791 GB, free: 4.047 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002118/0.9221, allocations: 2.534 MB / 0.5816 GB, free: 1.477 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002368/0.9245, allocations: 0.8818 MB / 0.5824 GB, free: 0.5898 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/0.926, allocations: 0.9308 MB / 0.5833 GB, free: 15.66 MB / 458.8 MB Notification: Performance of SimCode: time 1.764e-06/0.926, allocations: 0 / 0.5833 GB, free: 15.66 MB / 458.8 MB Notification: Performance of Templates: time 0.2329/1.159, allocations: 57.5 MB / 0.6395 GB, free: 176.4 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/GearConstraint/GearConstraint.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: 5.386605180799961]