Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.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.001867/0.001867, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 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.002219/0.002219, allocations: 215.9 kB / 24.49 MB, free: 3.93 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 43.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2494, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.02636/0.2757, allocations: 11.73 MB / 444.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.2894, allocations: 4.369 MB / 448.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.2907, allocations: 107.4 kB / 448.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0128/0.3035, allocations: 4.069 MB / 452.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007523/0.311, allocations: 2.202 MB / 454.8 MB, free: 148 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.3141, allocations: 0.9321 MB / 455.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01161/0.3257, allocations: 6.132 MB / 461.9 MB, free: 9.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007289/0.333, allocations: 4.023 MB / 465.9 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004128/0.3371, allocations: 2.158 MB / 468.1 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006231/0.3434, allocations: 3.007 MB / 471.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.3445, allocations: 476 kB / 471.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/0.3478, allocations: 1.249 MB / 472.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003781/0.3516, allocations: 2.563 MB / 475.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003596/0.3552, allocations: 2.133 MB / 477.5 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01466/0.3699, allocations: 9.099 MB / 486.6 MB, free: 244 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3699, allocations: 7.938 kB / 486.6 MB, free: 236 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3699, allocations: 0 / 486.6 MB, free: 236 kB / 382.1 MB Notification: Performance of Transformations before backend: time 9.97e-05/0.37, allocations: 0 / 486.6 MB, free: 236 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1731 * Number of variables: 1731 Notification: Performance of Generate backend data structure: time 0.01777/0.3878, allocations: 6.155 MB / 492.7 MB, free: 10.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.3878, allocations: 12.03 kB / 492.7 MB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02148/0.4093, allocations: 2.618 MB / 495.4 MB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.4231, allocations: 3.738 MB / 499.1 MB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004008/0.4235, allocations: 304.1 kB / 499.4 MB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001489/0.425, allocations: 431.8 kB / 499.8 MB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02377/0.4487, allocations: 11.6 MB / 0.4994 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.4489, allocations: 47.59 kB / 0.4995 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005038/0.4494, allocations: 191.9 kB / 0.4997 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003563/0.453, allocations: 2.026 MB / 0.5016 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/0.4715, allocations: 9.908 MB / 0.5113 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2287/0.7002, allocations: 41.52 MB / 0.5519 GB, free: 71.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009633/0.7099, allocations: 3.764 MB / 0.5555 GB, free: 71.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002263/0.7121, allocations: 2.303 MB / 0.5578 GB, free: 70.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01285/0.725, allocations: 8.746 MB / 0.5663 GB, free: 66.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.725, allocations: 56.62 kB / 0.5664 GB, free: 66.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=171): time 4.469e-06/0.725, allocations: 3.469 kB / 0.5664 GB, free: 66.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=197): time 0.04717/0.7722, allocations: 20 MB / 0.5859 GB, free: 49.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.7722, allocations: 201.2 kB / 0.5861 GB, free: 49.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004122/0.7764, allocations: 4.44 MB / 0.5905 GB, free: 45.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.7765, allocations: 53.7 kB / 0.5905 GB, free: 44.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.7778, allocations: 3.714 MB / 0.5941 GB, free: 41.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004553/0.7782, allocations: 0.7971 MB / 0.5949 GB, free: 40.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.7795, allocations: 1.341 MB / 0.5962 GB, free: 39.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.014e-05/0.7796, allocations: 305.1 kB / 0.5965 GB, free: 39.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/0.7822, allocations: 2.403 MB / 0.5989 GB, free: 36.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003692/0.7859, allocations: 6.3 MB / 0.605 GB, free: 28.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00685/0.7927, allocations: 9.296 MB / 0.6141 GB, free: 17.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.713e-05/0.7928, allocations: 40 kB / 0.6141 GB, free: 17.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01314/0.8059, allocations: 9.731 MB / 0.6236 GB, free: 7.582 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/0.806, allocations: 70.91 kB / 0.6237 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.491e-05/0.8061, allocations: 132 kB / 0.6238 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003968/0.81, allocations: 1.621 MB / 0.6254 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004026/0.8141, allocations: 1.481 MB / 0.6268 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.8266, allocations: 9.897 MB / 0.6365 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/0.8309, allocations: 363.6 kB / 0.6369 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007386/0.8317, allocations: 392.1 kB / 0.6372 GB, free: 9.434 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (793): * Single equations (assignments): 788 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003741/0.8354, allocations: 2.454 MB / 0.6396 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007114/0.8361, allocations: 393.4 kB / 0.64 GB, free: 6.582 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008739/0.8449, allocations: 4.181 MB / 0.6441 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.8449, allocations: 11.97 kB / 0.6441 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.8449, allocations: 0 / 0.6441 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000769/0.8457, allocations: 353.2 kB / 0.6444 GB, free: 2.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004294/0.8461, allocations: 36 kB / 0.6445 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.8476, allocations: 107.8 kB / 0.6446 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003517/0.8479, allocations: 148.9 kB / 0.6447 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00919/0.8571, allocations: 4.621 MB / 0.6492 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007961/0.8651, allocations: 5.7 MB / 0.6548 GB, free: 7.422 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002099/0.8672, allocations: 1.392 MB / 0.6562 GB, free: 6.027 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004052/0.8712, allocations: 2.612 MB / 0.6587 GB, free: 3.406 MB / 478.1 MB Notification: Performance of Backend: time 3.41e-07/0.8712, allocations: 0 / 0.6587 GB, free: 3.406 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009759/0.881, allocations: 4.654 MB / 0.6633 GB, free: 14.77 MB / 494.1 MB Notification: Performance of SimCode: time 0.01735/0.8983, allocations: 11.18 MB / 0.6742 GB, free: 3.523 MB / 494.1 MB Notification: Performance of Templates: time 0.1036/1.002, allocations: 58.76 MB / 0.7316 GB, free: 9.383 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.622281219999422]