Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.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.0008488/0.0008488, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004191/0.004191, allocations: 160.6 kB / 24.7 MB, free: 9.441 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.8342/0.8342, allocations: 177 MB / 204.8 MB, free: 5.73 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.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.991e-05, allocations: 3.125 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.008159/0.008179, allocations: 11.55 MB / 337.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006558/0.01474, allocations: 4.466 MB / 341.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009491/0.01569, allocations: 99.5 kB / 341.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00352/0.01921, allocations: 4.17 MB / 346.1 MB, free: 11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.02209, allocations: 2.165 MB / 348.2 MB, free: 8.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.02327, allocations: 0.8926 MB / 349.1 MB, free: 7.926 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003426/0.0267, allocations: 5.199 MB / 354.3 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003033/0.02973, allocations: 4.183 MB / 358.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/0.03199, allocations: 2.904 MB / 361.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/0.03429, allocations: 2.732 MB / 364.1 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000385/0.03467, allocations: 460 kB / 364.6 MB, free: 8.371 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.03592, allocations: 1.26 MB / 365.9 MB, free: 7.109 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.03715, allocations: 2.454 MB / 368.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.03854, allocations: 1.609 MB / 369.9 MB, free: 3.035 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005864/0.0444, allocations: 8.813 MB / 378.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.04441, allocations: 0 / 378.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.04441, allocations: 4 kB / 378.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.904e-05/0.04451, allocations: 0 / 378.7 MB, free: 10.19 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.01448/0.05899, allocations: 7.345 MB / 386.1 MB, free: 2.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.05903, allocations: 11.98 kB / 386.1 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007528/0.06655, allocations: 2.653 MB / 388.7 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00419/0.07074, allocations: 3.065 MB / 391.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.07088, allocations: 307.8 kB / 392.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005186/0.0714, allocations: 407.8 kB / 392.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01757/0.08896, allocations: 13.5 MB / 406 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/0.08907, allocations: 47.62 kB / 406.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004874/0.08956, allocations: 191.9 kB / 406.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002312/0.09187, allocations: 2.198 MB / 408.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01669/0.1086, allocations: 12.83 MB / 421.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2062/0.3148, allocations: 46.18 MB / 467.5 MB, free: 83.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/0.3265, allocations: 6.145 MB / 473.6 MB, free: 83.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002605/0.3291, allocations: 3.716 MB / 477.3 MB, free: 82.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004067/0.3295, allocations: 182.6 kB / 477.5 MB, free: 82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.3296, allocations: 54.97 kB / 477.5 MB, free: 81.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=214): time 5.7e-06/0.3296, allocations: 0 / 477.5 MB, free: 81.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.04971/0.3793, allocations: 37.21 MB / 0.5027 GB, free: 48.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.3794, allocations: 209.9 kB / 0.5029 GB, free: 48.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003483/0.3828, allocations: 4.274 MB / 0.5071 GB, free: 44.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002487/0.3831, allocations: 73.09 kB / 0.5071 GB, free: 44.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009731/0.3841, allocations: 3.564 MB / 0.5106 GB, free: 40.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005504/0.3846, allocations: 0.9836 MB / 0.5116 GB, free: 39.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/0.3859, allocations: 1.647 MB / 0.5132 GB, free: 38.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.495e-05/0.386, allocations: 309 kB / 0.5135 GB, free: 37.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003195/0.3892, allocations: 4.358 MB / 0.5177 GB, free: 33.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004056/0.3932, allocations: 8.302 MB / 0.5258 GB, free: 23.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008391/0.4016, allocations: 13.43 MB / 0.539 GB, free: 8.051 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.267e-05/0.4017, allocations: 40 kB / 0.539 GB, free: 8.012 MB / 410.7 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.01466/0.4163, allocations: 14.84 MB / 0.5535 GB, free: 9.148 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.754e-05/0.4164, allocations: 63.94 kB / 0.5535 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-05/0.4164, allocations: 136 kB / 0.5537 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003735/0.4202, allocations: 2.452 MB / 0.5561 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003489/0.4237, allocations: 1.86 MB / 0.5579 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/0.4379, allocations: 16.47 MB / 0.574 GB, free: 3.863 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004385/0.4423, allocations: 0.511 MB / 0.5745 GB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006316/0.443, allocations: 0.5154 MB / 0.575 GB, free: 2.836 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 36 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (826): * Single equations (assignments): 820 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (4,21,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003698/0.4467, allocations: 2.404 MB / 0.5773 GB, free: 432 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008105/0.4475, allocations: 393.4 kB / 0.5777 GB, free: 36 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.4578, allocations: 9.692 MB / 0.5872 GB, free: 6.316 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/0.4578, allocations: 28 kB / 0.5872 GB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.4578, allocations: 12 kB / 0.5872 GB, free: 6.277 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.4578, allocations: 11.95 kB / 0.5872 GB, free: 6.266 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0186/0.4764, allocations: 16.65 MB / 0.6035 GB, free: 5.637 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.4764, allocations: 4 kB / 0.6035 GB, free: 5.633 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.478, allocations: 0.6547 MB / 0.6041 GB, free: 4.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003397/0.4814, allocations: 2.238 MB / 0.6063 GB, free: 2.734 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002273/0.4816, allocations: 151.8 kB / 0.6064 GB, free: 2.586 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/0.4942, allocations: 15.16 MB / 0.6212 GB, free: 3.145 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4942, allocations: 3.938 kB / 0.6212 GB, free: 3.141 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1782/0.6724, allocations: 15.24 MB / 0.6361 GB, free: 172 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008071/0.6733, allocations: 384.6 kB / 0.6365 GB, free: 171.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003504/0.6736, allocations: 47.41 kB / 0.6365 GB, free: 171.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.6751, allocations: 273.2 kB / 0.6368 GB, free: 171.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004977/0.6756, allocations: 281.2 kB / 0.6371 GB, free: 171.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/0.6758, allocations: 173.7 kB / 0.6372 GB, free: 171.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002242/0.678, allocations: 2.515 MB / 0.6397 GB, free: 171 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.678, allocations: 0 / 0.6397 GB, free: 171 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004125/0.6822, allocations: 1.51 MB / 0.6412 GB, free: 170.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (195): * Single equations (assignments): 189 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (4,18,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004823/0.6827, allocations: 209.2 kB / 0.6414 GB, free: 170.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008515/0.6912, allocations: 10.13 MB / 0.6513 GB, free: 163.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6912, allocations: 2 kB / 0.6513 GB, free: 163.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003403/0.6946, allocations: 4.447 MB / 0.6556 GB, free: 159.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.6967, allocations: 473.8 kB / 0.6561 GB, free: 159.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.7093, allocations: 13.75 MB / 0.6695 GB, free: 147 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/0.7114, allocations: 3.206 MB / 0.6726 GB, free: 143.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001748/0.7131, allocations: 0.6795 MB / 0.6733 GB, free: 143 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7131, allocations: 0 / 0.6733 GB, free: 143 MB / 490.7 MB Notification: Performance of Templates: time 0.24/0.9532, allocations: 148 MB / 0.8178 GB, free: 165.8 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/BevelGear1D/BevelGear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[2001]=0.400000 File[13603]=1.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.838198883458972]