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.001108/0.001108, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001703/0.002811, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001126/0.001126, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001574/0.0027, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9283/0.9283, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08618/1.014, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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 1.904e-06/1.904e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.699e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01377/0.01378, allocations: 12.86 MB / 257.9 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0327/0.04649, allocations: 4.682 MB / 262.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.04788, allocations: 107.4 kB / 262.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03062/0.0785, allocations: 4.236 MB / 266.9 MB, free: 7.688 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006524/0.08503, allocations: 2.247 MB / 269.1 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002929/0.08796, allocations: 0.9552 MB / 270.1 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1186/0.2065, allocations: 6.352 MB / 276.4 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005242/0.2118, allocations: 4.289 MB / 280.7 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005584/0.2174, allocations: 4.026 MB / 284.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003873/0.2212, allocations: 2.97 MB / 287.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009146/0.2221, allocations: 486.2 kB / 288.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.2239, allocations: 1.338 MB / 289.5 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001486/0.2254, allocations: 2.403 MB / 291.9 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.2269, allocations: 1.398 MB / 293.3 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004452/0.2314, allocations: 5.419 MB / 298.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.364e-05/0.2314, allocations: 0 / 298.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2314, allocations: 0 / 298.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001161/0.2315, allocations: 0 / 298.8 MB, free: 14.8 MB / 282.7 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.008479/0.24, allocations: 6.878 MB / 305.6 MB, free: 8.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.24, allocations: 8.625 kB / 305.6 MB, free: 8.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004351/0.2443, allocations: 1.436 MB / 307.1 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/0.248, allocations: 2.633 MB / 309.7 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.2482, allocations: 307.6 kB / 310 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006101/0.2488, allocations: 428.1 kB / 310.4 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006493/0.2553, allocations: 5.779 MB / 316.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.093e-05/0.2554, allocations: 51.25 kB / 316.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/0.2557, allocations: 187.9 kB / 316.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001357/0.2571, allocations: 1.779 MB / 318.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004214/0.2613, allocations: 2.868 MB / 321.1 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02181/0.2831, allocations: 34.61 MB / 355.7 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.2865, allocations: 1.693 MB / 357.4 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/0.287, allocations: 407.4 kB / 357.8 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004591/0.2916, allocations: 4.089 MB / 361.9 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.2917, allocations: 46.84 kB / 361.9 MB, free: 1.031 MB / 330.7 MB Notification: Performance of pre-optimization done (n=142): time 2.756e-06/0.2917, allocations: 0 / 361.9 MB, free: 1.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=158): time 0.01047/0.3021, allocations: 5.262 MB / 367.2 MB, free: 11.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.3022, allocations: 145.5 kB / 367.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002564/0.3047, allocations: 3.714 MB / 371 MB, free: 8.578 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.3048, allocations: 45.7 kB / 371.1 MB, free: 8.527 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.3062, allocations: 3.488 MB / 374.6 MB, free: 5.227 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/0.3065, allocations: 0.6565 MB / 375.2 MB, free: 4.602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009053/0.3074, allocations: 1.243 MB / 376.5 MB, free: 3.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.3075, allocations: 305.1 kB / 376.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.3085, allocations: 0.763 MB / 377.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002727/0.3113, allocations: 4.692 MB / 382.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004061/0.3153, allocations: 5.987 MB / 388.2 MB, free: 4.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-05/0.3154, allocations: 40 kB / 388.3 MB, free: 4.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=844) (initialization): time 0.004605/0.32, allocations: 4.421 MB / 392.7 MB, free: 52 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002299/0.3202, allocations: 68.05 kB / 392.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-05/0.3203, allocations: 140 kB / 392.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/0.3209, allocations: 406.5 kB / 393.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/0.3235, allocations: 1.635 MB / 394.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/0.3259, allocations: 3.563 MB / 398.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/0.3279, allocations: 291.7 kB / 398.8 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002722/0.3281, allocations: 340 kB / 399.1 MB, free: 9.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 650 * 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 (804): * Single equations (assignments): 799 * 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,11,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001188/0.3293, allocations: 0.668 MB / 399.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/0.3296, allocations: 243.7 kB / 400 MB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.3307, allocations: 0.8668 MB / 400.9 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.3307, allocations: 16 kB / 400.9 MB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3307, allocations: 4 kB / 400.9 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3307, allocations: 3.984 kB / 400.9 MB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004922/0.3356, allocations: 4.217 MB / 405.1 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.3356, allocations: 8 kB / 405.1 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006825/0.3363, allocations: 284.3 kB / 405.4 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.3366, allocations: 377.2 kB / 405.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006943/0.3373, allocations: 413.3 kB / 406.2 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/0.3374, allocations: 43.97 kB / 406.2 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.339, allocations: 2.773 MB / 409 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.339, allocations: 9.969 kB / 409 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.3406, allocations: 1.778 MB / 410.8 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.3408, allocations: 28 kB / 410.8 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/0.3414, allocations: 36 kB / 410.8 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.3416, allocations: 120.5 kB / 410.9 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/0.3416, allocations: 39.98 kB / 411 MB, free: 13.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001387/0.343, allocations: 1.39 MB / 412.4 MB, free: 12.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.343, allocations: 4 kB / 412.4 MB, free: 12.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00268/0.3457, allocations: 1.141 MB / 413.5 MB, free: 10.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (130): * Single equations (assignments): 125 * 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,9,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.0002693/0.346, allocations: 160.1 kB / 413.7 MB, free: 10.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002437/0.3484, allocations: 2.721 MB / 416.4 MB, free: 8.012 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001682/0.3486, allocations: 118.8 kB / 416.5 MB, free: 7.887 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005738/0.3492, allocations: 0.6473 MB / 417.2 MB, free: 7.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.3509, allocations: 1.007 MB / 418.2 MB, free: 6.211 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1102/0.4612, allocations: 8.815 MB / 427 MB, free: 110 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.4627, allocations: 1.479 MB / 428.5 MB, free: 109.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001564/0.4642, allocations: 0.5319 MB / 429 MB, free: 109.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008418/0.4651, allocations: 0.5925 MB / 429.6 MB, free: 109.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.674e-06/0.4651, allocations: 1.344 kB / 429.6 MB, free: 109.7 MB / 394.7 MB Notification: Performance of Templates: time 0.04755/0.5126, allocations: 32.65 MB / 462.2 MB, free: 97.55 MB / 394.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.893701709806919]