Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 119.5 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 51.92 kB / 358.7 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1017, allocations: 49.44 MB / 408.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01575/0.1175, allocations: 13.57 MB / 421.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.1278, allocations: 4.551 MB / 426.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002437/0.1302, allocations: 95.69 kB / 426.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008065/0.1384, allocations: 4.202 MB / 430.5 MB, free: 392 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2136/0.352, allocations: 2.171 MB / 432.7 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002364/0.3544, allocations: 0.9229 MB / 433.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009643/0.364, allocations: 6.062 MB / 439.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007455/0.3715, allocations: 5.226 MB / 444.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004983/0.3766, allocations: 2.138 MB / 447 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005039/0.3816, allocations: 2.82 MB / 449.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001876/0.3835, allocations: 474.5 kB / 450.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/0.3872, allocations: 1.358 MB / 451.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003336/0.3906, allocations: 2.537 MB / 454.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004421/0.395, allocations: 2.887 MB / 457.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01269/0.4077, allocations: 9.208 MB / 466.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4078, allocations: 0 / 466.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4078, allocations: 0 / 466.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003616/0.4082, allocations: 1.688 kB / 466.3 MB, free: 11.71 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01708/0.4252, allocations: 6.291 MB / 472.6 MB, free: 6.129 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.4253, allocations: 8.031 kB / 472.6 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01266/0.438, allocations: 2.621 MB / 475.2 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.4481, allocations: 3.887 MB / 479.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.4485, allocations: 302.1 kB / 479.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002066/0.4506, allocations: 438.7 kB / 479.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02717/0.4777, allocations: 11.73 MB / 491.6 MB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002045/0.478, allocations: 59.58 kB / 491.6 MB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007542/0.4787, allocations: 185 kB / 491.8 MB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003987/0.4827, allocations: 2.091 MB / 493.9 MB, free: 448 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02173/0.5045, allocations: 10.1 MB / 0.4922 GB, free: 6.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07043/0.575, allocations: 45.85 MB / 0.537 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01242/0.5874, allocations: 4.363 MB / 0.5412 GB, free: 2.844 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004169/0.5917, allocations: 2.471 MB / 0.5436 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01942/0.6111, allocations: 9.862 MB / 0.5533 GB, free: 6.391 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.581e-05/0.6112, allocations: 63.5 kB / 0.5533 GB, free: 6.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=171): time 4.569e-06/0.6113, allocations: 3.938 kB / 0.5533 GB, free: 6.316 MB / 462.1 MB Notification: Performance of matching and sorting (n=197): time 0.06317/0.6744, allocations: 20.23 MB / 0.5731 GB, free: 2.008 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/0.6746, allocations: 205.2 kB / 0.5733 GB, free: 1.762 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009838/0.6845, allocations: 4.722 MB / 0.5779 GB, free: 13.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005398/0.6851, allocations: 57.7 kB / 0.5779 GB, free: 12.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004131/0.6892, allocations: 3.734 MB / 0.5816 GB, free: 9.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001645/0.6909, allocations: 0.7965 MB / 0.5824 GB, free: 8.465 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003703/0.6946, allocations: 1.353 MB / 0.5837 GB, free: 7.102 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6948, allocations: 305.1 kB / 0.584 GB, free: 6.801 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004373/0.6992, allocations: 2.41 MB / 0.5863 GB, free: 4.387 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00806/0.7072, allocations: 6.275 MB / 0.5925 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01327/0.7206, allocations: 9.32 MB / 0.6016 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001593/0.7208, allocations: 40 kB / 0.6016 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.02302/0.7438, allocations: 9.823 MB / 0.6112 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.744, allocations: 64 kB / 0.6113 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003091/0.7444, allocations: 140.1 kB / 0.6114 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00558/0.7499, allocations: 1.609 MB / 0.613 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005462/0.7554, allocations: 1.486 MB / 0.6144 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2482/1.004, allocations: 10.26 MB / 0.6244 GB, free: 165.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005545/1.009, allocations: 365.1 kB / 0.6248 GB, free: 165.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/1.011, allocations: 390.5 kB / 0.6252 GB, free: 165.4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.arrowLine.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 (796): * Single equations (assignments): 791 * 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.005757/1.017, allocations: 2.478 MB / 0.6276 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.018, allocations: 431.9 kB / 0.628 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009435/1.027, allocations: 4.236 MB / 0.6321 GB, free: 165.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-05/1.027, allocations: 22.95 kB / 0.6321 GB, free: 165.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-05/1.027, allocations: 7.438 kB / 0.6322 GB, free: 165.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.649e-05/1.027, allocations: 9.438 kB / 0.6322 GB, free: 165.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02391/1.051, allocations: 9.722 MB / 0.6417 GB, free: 161.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.237e-05/1.051, allocations: 1.781 kB / 0.6417 GB, free: 161.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/1.053, allocations: 301.9 kB / 0.6419 GB, free: 161.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003952/1.057, allocations: 1.354 MB / 0.6433 GB, free: 161.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002883/1.057, allocations: 35.09 kB / 0.6433 GB, free: 161.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/1.068, allocations: 9.401 MB / 0.6525 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.068, allocations: 7.547 kB / 0.6525 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/1.079, allocations: 6.989 MB / 0.6593 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/1.08, allocations: 474.9 kB / 0.6598 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001255/1.082, allocations: 33.62 kB / 0.6598 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002367/1.084, allocations: 110.9 kB / 0.6599 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000532/1.085, allocations: 127.3 kB / 0.66 GB, free: 153.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/1.085, allocations: 54.14 kB / 0.6601 GB, free: 153.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005443/1.09, allocations: 2.97 MB / 0.663 GB, free: 152.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.01e-07/1.09, allocations: 0 / 0.663 GB, free: 152.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007136/1.098, allocations: 1.204 MB / 0.6642 GB, free: 152 MB / 0.5137 GB 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.0007394/1.098, allocations: 176.7 kB / 0.6643 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009128/1.107, allocations: 5.984 MB / 0.6702 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/1.107, allocations: 0.6562 kB / 0.6702 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003062/1.111, allocations: 2.02 MB / 0.6721 GB, free: 145.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/1.115, allocations: 0.5447 MB / 0.6727 GB, free: 144.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02071/1.136, allocations: 11.79 MB / 0.6842 GB, free: 133.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005282/1.141, allocations: 3.837 MB / 0.6879 GB, free: 129.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/1.142, allocations: 311.4 kB / 0.6882 GB, free: 128.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.382e-06/1.142, allocations: 0 / 0.6882 GB, free: 128.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.1205/1.263, allocations: 113.7 MB / 0.7993 GB, free: 15.25 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 15.723622001009062]