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.00105/0.00105, allocations: 88.25 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001179/0.001179, allocations: 169.2 kB / 25.61 MB, free: 8.891 MB / 18.57 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.908/0.908, allocations: 177 MB / 205.9 MB, free: 4.41 MB / 186.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.102e-06/1.102e-06, allocations: 0 / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.104e-05, allocations: 4.609 kB / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01024/0.01026, allocations: 12.71 MB / 286.8 MB, free: 7.527 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00746/0.01772, allocations: 4.453 MB / 291.3 MB, free: 3.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/0.01973, allocations: 111.4 kB / 291.4 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004906/0.02463, allocations: 4.427 MB / 295.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003895/0.02853, allocations: 2.27 MB / 298.1 MB, free: 12.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.03004, allocations: 1.037 MB / 299.1 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006813/0.03685, allocations: 6.886 MB / 306 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00513/0.04198, allocations: 4.676 MB / 310.7 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005751/0.04773, allocations: 4.238 MB / 314.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004173/0.0519, allocations: 3.118 MB / 318 MB, free: 8.188 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001274/0.05318, allocations: 484 kB / 318.5 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.05541, allocations: 1.299 MB / 319.8 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002869/0.05828, allocations: 2.7 MB / 322.5 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002494/0.06078, allocations: 1.722 MB / 324.2 MB, free: 1.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006283/0.06706, allocations: 5.847 MB / 330.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.06707, allocations: 0 / 330.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.06707, allocations: 0 / 330.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002264/0.06729, allocations: 0 / 330.1 MB, free: 12.11 MB / 314.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.008573/0.07587, allocations: 6.397 MB / 336.5 MB, free: 5.645 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.07591, allocations: 8.031 kB / 336.5 MB, free: 5.637 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008218/0.08413, allocations: 2.233 MB / 338.7 MB, free: 3.398 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005331/0.08946, allocations: 2.843 MB / 341.6 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.08971, allocations: 300.1 kB / 341.8 MB, free: 224 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1532/0.2429, allocations: 420.5 kB / 342.3 MB, free: 64.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00911/0.252, allocations: 6.353 MB / 348.6 MB, free: 61.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/0.2521, allocations: 56.45 kB / 348.7 MB, free: 61.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003205/0.2525, allocations: 185.6 kB / 348.8 MB, free: 61.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00132/0.2538, allocations: 1.779 MB / 350.6 MB, free: 61.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005632/0.2594, allocations: 2.793 MB / 353.4 MB, free: 61.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02721/0.2866, allocations: 47.85 MB / 401.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003994/0.2906, allocations: 1.707 MB / 403 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/0.2912, allocations: 0.4975 MB / 403.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005787/0.297, allocations: 4.383 MB / 407.9 MB, free: 9.082 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.297, allocations: 58.31 kB / 407.9 MB, free: 9.016 MB / 314.7 MB Notification: Performance of pre-optimization done (n=142): time 3.798e-06/0.297, allocations: 0 / 407.9 MB, free: 9.016 MB / 314.7 MB Notification: Performance of matching and sorting (n=158): time 0.0132/0.3102, allocations: 5.944 MB / 413.9 MB, free: 3.312 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.3103, allocations: 200.9 kB / 414.1 MB, free: 3.074 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/0.313, allocations: 4.137 MB / 418.2 MB, free: 15.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.866e-05/0.3131, allocations: 53.39 kB / 418.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002044/0.3152, allocations: 4.011 MB / 422.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005232/0.3157, allocations: 0.6748 MB / 422.9 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/0.3169, allocations: 1.446 MB / 424.4 MB, free: 8.867 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.317, allocations: 480.5 kB / 424.8 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009481/0.3179, allocations: 0.563 MB / 425.4 MB, free: 7.832 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003473/0.3214, allocations: 6.624 MB / 432 MB, free: 14.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005278/0.3267, allocations: 7.812 MB / 439.8 MB, free: 3.941 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.831e-05/0.3268, allocations: 47.98 kB / 439.9 MB, free: 3.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=844) (initialization): time 0.006399/0.3332, allocations: 5.194 MB / 445.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.959e-05/0.3332, allocations: 64 kB / 445.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/0.3334, allocations: 144 kB / 445.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000746/0.3341, allocations: 416.6 kB / 445.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/0.3365, allocations: 1.454 MB / 447.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.3394, allocations: 4.78 MB / 451.9 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00314/0.3425, allocations: 287.7 kB / 452.2 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004285/0.3429, allocations: 344 kB / 452.5 MB, free: 6.996 MB / 362.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.001799/0.3447, allocations: 0.7042 MB / 453.2 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007622/0.3455, allocations: 429.4 kB / 453.7 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.3468, allocations: 0.9782 MB / 454.6 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.3468, allocations: 23.94 kB / 454.7 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.3468, allocations: 0 / 454.7 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.3468, allocations: 11.97 kB / 454.7 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006712/0.3536, allocations: 5.058 MB / 459.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.3536, allocations: 11.92 kB / 459.7 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006314/0.3542, allocations: 240.3 kB / 460 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005519/0.3548, allocations: 211 kB / 460.2 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.922e-05/0.3548, allocations: 31.98 kB / 460.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/0.357, allocations: 3.882 MB / 464.1 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.357, allocations: 12.56 kB / 464.1 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.3595, allocations: 2.146 MB / 466.3 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007253/0.3603, allocations: 373.2 kB / 466.6 MB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002867/0.3605, allocations: 35.97 kB / 466.7 MB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006954/0.3612, allocations: 36 kB / 466.7 MB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.3614, allocations: 112.6 kB / 466.8 MB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.367e-05/0.3615, allocations: 43.98 kB / 466.8 MB, free: 8.141 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001847/0.3633, allocations: 1.681 MB / 468.5 MB, free: 6.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3633, allocations: 0 / 468.5 MB, free: 6.453 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00402/0.3673, allocations: 1.137 MB / 469.7 MB, free: 5.316 MB / 378.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.0004022/0.3677, allocations: 190.7 kB / 469.8 MB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004062/0.3718, allocations: 3.012 MB / 472.9 MB, free: 2.094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.3718, allocations: 0 / 472.9 MB, free: 2.094 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008868/0.3727, allocations: 0.8139 MB / 473.7 MB, free: 1.242 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.3751, allocations: 0.4908 MB / 474.2 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.3885, allocations: 8.743 MB / 482.9 MB, free: 7.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/0.3899, allocations: 1.476 MB / 484.4 MB, free: 6.336 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001565/0.3915, allocations: 0.5379 MB / 484.9 MB, free: 5.793 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008528/0.3923, allocations: 0.6387 MB / 485.6 MB, free: 5.152 MB / 394.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3923, allocations: 3.828 kB / 485.6 MB, free: 5.152 MB / 394.7 MB Notification: Performance of Templates: time 0.1736/0.566, allocations: 32.68 MB / 0.5061 GB, free: 112.3 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 -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: 4.225775369908661]