Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001987/0.001987, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 1.469 kB / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.381e-05, allocations: 2.281 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01466/0.01468, allocations: 11.75 MB / 336.8 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.02488, allocations: 4.378 MB / 341.1 MB, free: 4.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.02708, allocations: 111.4 kB / 341.2 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008363/0.03544, allocations: 4.279 MB / 345.5 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006317/0.04176, allocations: 2.27 MB / 347.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.04417, allocations: 1.025 MB / 348.8 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009518/0.05369, allocations: 6.868 MB / 355.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005678/0.05936, allocations: 4.534 MB / 360.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004854/0.06422, allocations: 3.236 MB / 363.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004667/0.06888, allocations: 3.02 MB / 366.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009272/0.06981, allocations: 480 kB / 366.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.07232, allocations: 1.311 MB / 368.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002683/0.075, allocations: 2.684 MB / 370.9 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002308/0.07731, allocations: 1.706 MB / 372.6 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.08878, allocations: 9.183 MB / 381.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.08879, allocations: 0 / 381.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.08879, allocations: 4 kB / 381.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002442/0.08903, allocations: 0 / 381.8 MB, free: 12.06 MB / 350.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.01385/0.1029, allocations: 6.209 MB / 388 MB, free: 5.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1029, allocations: 11.98 kB / 388.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0129/0.1158, allocations: 2.739 MB / 390.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008521/0.1243, allocations: 3.738 MB / 394.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/0.1246, allocations: 304.1 kB / 394.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/0.1257, allocations: 424.7 kB / 395.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02051/0.1462, allocations: 11.6 MB / 406.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001495/0.1463, allocations: 67.52 kB / 406.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005186/0.1469, allocations: 183.9 kB / 407.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003716/0.1506, allocations: 2.026 MB / 409.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02076/0.1713, allocations: 9.885 MB / 419 MB, free: 6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05804/0.2294, allocations: 41.88 MB / 460.9 MB, free: 11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/0.2412, allocations: 3.911 MB / 464.8 MB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003358/0.2445, allocations: 2.298 MB / 467.1 MB, free: 4.758 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1895/0.4341, allocations: 9.065 MB / 476.2 MB, free: 123.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.4341, allocations: 56.7 kB / 476.2 MB, free: 123.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=171): time 4.699e-06/0.4341, allocations: 3.844 kB / 476.2 MB, free: 123.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=197): time 0.0526/0.4867, allocations: 20.7 MB / 496.9 MB, free: 117.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.4868, allocations: 199.9 kB / 497.1 MB, free: 117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005238/0.492, allocations: 4.61 MB / 0.49 GB, free: 112.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004016/0.4924, allocations: 51.58 kB / 0.49 GB, free: 112.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001621/0.494, allocations: 3.692 MB / 0.4936 GB, free: 109.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007301/0.4948, allocations: 0.7823 MB / 0.4944 GB, free: 108.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001317/0.4961, allocations: 1.318 MB / 0.4957 GB, free: 107.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.206e-05/0.4961, allocations: 313.1 kB / 0.496 GB, free: 107 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00263/0.4988, allocations: 2.398 MB / 0.4983 GB, free: 104.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003954/0.5027, allocations: 6.294 MB / 0.5044 GB, free: 96.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007765/0.5105, allocations: 9.286 MB / 0.5135 GB, free: 85.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/0.5106, allocations: 40 kB / 0.5136 GB, free: 85.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01474/0.5253, allocations: 9.733 MB / 0.5231 GB, free: 75.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.78e-05/0.5254, allocations: 63.94 kB / 0.5231 GB, free: 75.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.045e-05/0.5255, allocations: 136.1 kB / 0.5232 GB, free: 75.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004032/0.5295, allocations: 1.617 MB / 0.5248 GB, free: 73.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004038/0.5336, allocations: 1.478 MB / 0.5263 GB, free: 72.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.5438, allocations: 9.938 MB / 0.536 GB, free: 62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006645/0.5505, allocations: 427.5 kB / 0.5364 GB, free: 61.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009018/0.5514, allocations: 388 kB / 0.5368 GB, free: 61.2 MB / 430.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.003186/0.5546, allocations: 2.452 MB / 0.5391 GB, free: 58.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007771/0.5553, allocations: 397.3 kB / 0.5395 GB, free: 58.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006916/0.5623, allocations: 4.182 MB / 0.5436 GB, free: 54.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/0.5623, allocations: 20 kB / 0.5436 GB, free: 54.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.5623, allocations: 8 kB / 0.5436 GB, free: 54.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.5623, allocations: 11.97 kB / 0.5436 GB, free: 54.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.5764, allocations: 8.443 MB / 0.5519 GB, free: 45.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.5764, allocations: 0 / 0.5519 GB, free: 45.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/0.5779, allocations: 299.5 kB / 0.5522 GB, free: 45.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003869/0.5818, allocations: 1.346 MB / 0.5535 GB, free: 44.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002297/0.582, allocations: 43.98 kB / 0.5535 GB, free: 43.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00974/0.5918, allocations: 9.146 MB / 0.5625 GB, free: 34.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5918, allocations: 0 / 0.5625 GB, free: 34.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009914/0.6017, allocations: 6.923 MB / 0.5692 GB, free: 27.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/0.6031, allocations: 405.2 kB / 0.5696 GB, free: 27.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005602/0.6036, allocations: 33.69 kB / 0.5696 GB, free: 27.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/0.6055, allocations: 167.7 kB / 0.5698 GB, free: 27.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003978/0.6059, allocations: 129 kB / 0.5699 GB, free: 26.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.606, allocations: 55.27 kB / 0.57 GB, free: 26.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003463/0.6095, allocations: 2.741 MB / 0.5727 GB, free: 24.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6095, allocations: 0 / 0.5727 GB, free: 24.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00555/0.615, allocations: 1.336 MB / 0.574 GB, free: 22.81 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (147): * Single equations (assignments): 142 * 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 {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005017/0.6155, allocations: 186.2 kB / 0.5741 GB, free: 22.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007808/0.6234, allocations: 5.718 MB / 0.5797 GB, free: 16.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6234, allocations: 0.8438 kB / 0.5797 GB, free: 16.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002576/0.6259, allocations: 1.884 MB / 0.5816 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/0.6289, allocations: 494.8 kB / 0.582 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/0.6451, allocations: 11.17 MB / 0.5929 GB, free: 3.305 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003405/0.6485, allocations: 3.293 MB / 0.5962 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004616/0.6531, allocations: 1.946 MB / 0.5981 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008965/0.654, allocations: 260.5 kB / 0.5983 GB, free: 13.76 MB / 446.1 MB Notification: Performance of SimCode: time 1.503e-06/0.654, allocations: 0 / 0.5983 GB, free: 13.76 MB / 446.1 MB Notification: Performance of Templates: time 0.2549/0.9089, allocations: 40.03 MB / 0.6374 GB, free: 155.4 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.955206647515297]