Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.0009837/0.0009837, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001028/0.001028, allocations: 167.3 kB / 24.91 MB, free: 8.766 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.9452/0.9452, allocations: 177 MB / 205.2 MB, free: 5.387 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2598/0.2598, allocations: 34.87 MB / 296.6 MB, free: 500 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.538e-05, allocations: 2.312 kB / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.00974/0.009756, allocations: 12.74 MB / 338.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008275/0.01803, allocations: 4.626 MB / 343.3 MB, free: 5.688 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.01951, allocations: 107.4 kB / 343.4 MB, free: 5.582 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004098/0.02361, allocations: 4.415 MB / 347.8 MB, free: 1.152 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.02744, allocations: 2.239 MB / 350.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.02882, allocations: 1.037 MB / 351.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005392/0.03421, allocations: 6.805 MB / 357.9 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003861/0.03807, allocations: 4.509 MB / 362.4 MB, free: 2.453 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003999/0.04207, allocations: 4.164 MB / 366.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00305/0.04512, allocations: 2.97 MB / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006758/0.0458, allocations: 476 kB / 370 MB, free: 10.84 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.04746, allocations: 1.33 MB / 371.4 MB, free: 9.508 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001644/0.04911, allocations: 2.696 MB / 374.1 MB, free: 6.805 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001584/0.05069, allocations: 1.706 MB / 375.8 MB, free: 5.094 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004793/0.05548, allocations: 5.812 MB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.05549, allocations: 0 / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.05549, allocations: 4 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001121/0.0556, allocations: 0 / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.006419/0.06202, allocations: 5.723 MB / 387.3 MB, free: 9.477 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.06207, allocations: 8.031 kB / 387.3 MB, free: 9.469 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004102/0.06617, allocations: 1.359 MB / 388.7 MB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004056/0.07023, allocations: 2.666 MB / 391.3 MB, free: 5.391 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.07042, allocations: 296.1 kB / 391.6 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005824/0.071, allocations: 404.1 kB / 392 MB, free: 4.707 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007806/0.07881, allocations: 5.688 MB / 397.7 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/0.07893, allocations: 55.52 kB / 397.8 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004084/0.07934, allocations: 183.9 kB / 397.9 MB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001929/0.08127, allocations: 1.773 MB / 399.7 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006182/0.08745, allocations: 2.721 MB / 402.4 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03118/0.1186, allocations: 34.48 MB / 436.9 MB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004807/0.1234, allocations: 1.622 MB / 438.5 MB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006145/0.1241, allocations: 377.5 kB / 438.9 MB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1522/0.2762, allocations: 3.95 MB / 442.9 MB, free: 110 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.2763, allocations: 51.58 kB / 442.9 MB, free: 110 MB / 410.7 MB Notification: Performance of pre-optimization done (n=138): time 4.679e-06/0.2763, allocations: 0 / 442.9 MB, free: 110 MB / 410.7 MB Notification: Performance of matching and sorting (n=151): time 0.0131/0.2894, allocations: 5.571 MB / 448.5 MB, free: 109.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.2894, allocations: 198.5 kB / 448.7 MB, free: 109.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/0.2919, allocations: 3.736 MB / 452.4 MB, free: 109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.292, allocations: 44.2 kB / 452.5 MB, free: 109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009364/0.2929, allocations: 3.492 MB / 455.9 MB, free: 107.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/0.2932, allocations: 0.6366 MB / 456.6 MB, free: 106.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007932/0.294, allocations: 1.237 MB / 457.8 MB, free: 106.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.502e-05/0.294, allocations: 304.9 kB / 458.1 MB, free: 106.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009741/0.295, allocations: 0.7513 MB / 458.9 MB, free: 106.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.2967, allocations: 4.706 MB / 463.6 MB, free: 101 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00291/0.2997, allocations: 5.993 MB / 469.6 MB, free: 94.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.056e-05/0.2997, allocations: 44 kB / 469.6 MB, free: 94.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=839) (initialization): time 0.004058/0.3038, allocations: 4.398 MB / 474 MB, free: 90.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.385e-05/0.3038, allocations: 72.94 kB / 474.1 MB, free: 90.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.366e-05/0.3039, allocations: 140 kB / 474.2 MB, free: 90.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006376/0.3045, allocations: 391.1 kB / 474.6 MB, free: 89.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/0.3068, allocations: 1.533 MB / 476.1 MB, free: 88.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.3085, allocations: 3.356 MB / 479.5 MB, free: 85.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.3107, allocations: 292.9 kB / 479.8 MB, free: 84.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/0.3109, allocations: 344 kB / 480.1 MB, free: 84.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 652 * 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 (801): * Single equations (assignments): 796 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001224/0.3122, allocations: 0.6537 MB / 480.8 MB, free: 83.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.3124, allocations: 235.7 kB / 481 MB, free: 83.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008936/0.3133, allocations: 0.8446 MB / 481.8 MB, free: 82.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.3134, allocations: 16 kB / 481.9 MB, free: 82.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.3134, allocations: 4 kB / 481.9 MB, free: 82.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.3134, allocations: 7.969 kB / 481.9 MB, free: 82.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004023/0.3174, allocations: 4.154 MB / 486 MB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3174, allocations: 7.5 kB / 486 MB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/0.318, allocations: 260.3 kB / 486.3 MB, free: 78.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006666/0.3187, allocations: 415.4 kB / 486.7 MB, free: 77.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.3188, allocations: 35.22 kB / 486.7 MB, free: 77.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.32, allocations: 2.775 MB / 489.5 MB, free: 74.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.32, allocations: 11.94 kB / 489.5 MB, free: 74.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.3213, allocations: 1.725 MB / 491.2 MB, free: 73.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.3216, allocations: 372.8 kB / 491.6 MB, free: 72.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.3218, allocations: 32 kB / 491.6 MB, free: 72.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/0.3224, allocations: 39.55 kB / 491.7 MB, free: 72.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.3225, allocations: 104.6 kB / 491.8 MB, free: 72.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/0.3226, allocations: 43.98 kB / 491.8 MB, free: 72.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008657/0.3234, allocations: 1.402 MB / 493.2 MB, free: 71.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3234, allocations: 0 / 493.2 MB, free: 71.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002589/0.326, allocations: 1.133 MB / 494.3 MB, free: 69.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (123): * Single equations (assignments): 118 * 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.0002562/0.3263, allocations: 161.4 kB / 494.5 MB, free: 69.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.3284, allocations: 2.675 MB / 497.2 MB, free: 67.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001308/0.3285, allocations: 104.2 kB / 497.3 MB, free: 66.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.329, allocations: 0.6356 MB / 497.9 MB, free: 66.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.3305, allocations: 0.7224 MB / 498.6 MB, free: 65.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006991/0.3375, allocations: 8.599 MB / 0.4954 GB, free: 56.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009056/0.3384, allocations: 1.476 MB / 0.4968 GB, free: 55.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001023/0.3394, allocations: 0.5369 MB / 0.4973 GB, free: 54.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006775/0.3401, allocations: 0.5948 MB / 0.4979 GB, free: 54.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3401, allocations: 0 / 0.4979 GB, free: 54.18 MB / 410.7 MB Notification: Performance of Templates: time 0.04057/0.3806, allocations: 31.72 MB / 0.5289 GB, free: 22.9 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.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.9756195968948305]