Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 164.1 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.415/1.415, allocations: 177.2 MB / 204.9 MB, free: 9.074 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 59.91 kB / 325.6 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0921/0.09366, allocations: 53.33 MB / 378.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01421/0.1079, allocations: 11.53 MB / 390.4 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008836/0.1167, allocations: 4.478 MB / 394.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.1179, allocations: 99.5 kB / 395 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007606/0.1255, allocations: 3.956 MB / 399 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005256/0.1307, allocations: 2.101 MB / 401.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.1327, allocations: 0.8345 MB / 401.9 MB, free: 8.641 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00665/0.1393, allocations: 4.772 MB / 406.7 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004765/0.1441, allocations: 3.899 MB / 410.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/0.1467, allocations: 1.959 MB / 412.5 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003866/0.1506, allocations: 2.679 MB / 415.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008116/0.1514, allocations: 452 kB / 415.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.1536, allocations: 1.225 MB / 416.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002325/0.1559, allocations: 2.353 MB / 419.2 MB, free: 7.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002646/0.1586, allocations: 2.035 MB / 421.3 MB, free: 5.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009532/0.1681, allocations: 8.764 MB / 430 MB, free: 12.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1681, allocations: 0 / 430 MB, free: 12.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1681, allocations: 0 / 430 MB, free: 12.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001448/0.1683, allocations: 0 / 430 MB, free: 12.36 MB / 398.1 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.02945/0.1977, allocations: 7.342 MB / 437.4 MB, free: 4.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1978, allocations: 11.97 kB / 437.4 MB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01777/0.2155, allocations: 2.665 MB / 440 MB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007904/0.2234, allocations: 3.069 MB / 443.1 MB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/0.2237, allocations: 303.7 kB / 443.4 MB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001321/0.225, allocations: 419.7 kB / 443.8 MB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02989/0.2549, allocations: 13.48 MB / 457.3 MB, free: 196 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/0.255, allocations: 43.64 kB / 457.3 MB, free: 152 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005837/0.2556, allocations: 207.9 kB / 457.6 MB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004594/0.2602, allocations: 2.198 MB / 459.8 MB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02701/0.2872, allocations: 12.82 MB / 472.6 MB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2278/0.515, allocations: 46.13 MB / 0.5065 GB, free: 46.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02238/0.5374, allocations: 6.135 MB / 0.5125 GB, free: 41.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003539/0.541, allocations: 3.723 MB / 0.5162 GB, free: 37.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007094/0.5417, allocations: 192.3 kB / 0.5164 GB, free: 37.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.5417, allocations: 60.67 kB / 0.5164 GB, free: 37.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=214): time 4.719e-06/0.5417, allocations: 0 / 0.5164 GB, free: 37.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.1128/0.6545, allocations: 37.12 MB / 0.5527 GB, free: 380 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.6546, allocations: 217.8 kB / 0.5529 GB, free: 120 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006839/0.6614, allocations: 4.182 MB / 0.557 GB, free: 12.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007359/0.6622, allocations: 77.7 kB / 0.557 GB, free: 12.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002868/0.665, allocations: 3.605 MB / 0.5605 GB, free: 8.562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001572/0.6666, allocations: 0.9971 MB / 0.5615 GB, free: 7.578 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003712/0.6703, allocations: 1.662 MB / 0.5631 GB, free: 5.906 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6704, allocations: 301.1 kB / 0.5634 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006808/0.6772, allocations: 4.359 MB / 0.5677 GB, free: 1.242 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0109/0.6881, allocations: 8.309 MB / 0.5758 GB, free: 7.008 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01903/0.7072, allocations: 13.43 MB / 0.5889 GB, free: 7.676 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000141/0.7073, allocations: 40 kB / 0.589 GB, free: 7.637 MB / 478.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.03126/0.7386, allocations: 14.83 MB / 0.6034 GB, free: 8.785 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.7387, allocations: 64 kB / 0.6035 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002236/0.7389, allocations: 136 kB / 0.6036 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007722/0.7467, allocations: 2.458 MB / 0.606 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007329/0.754, allocations: 1.848 MB / 0.6078 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02375/0.7777, allocations: 16.49 MB / 0.6239 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006395/0.7841, allocations: 487.4 kB / 0.6244 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001494/0.7856, allocations: 0.5192 MB / 0.6249 GB, free: 2.492 MB / 0.4981 GB 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.004859/0.7905, allocations: 2.407 MB / 0.6273 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/0.7918, allocations: 393.5 kB / 0.6276 GB, free: 15.68 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01781/0.8096, allocations: 9.692 MB / 0.6371 GB, free: 5.969 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.49e-05/0.8096, allocations: 28 kB / 0.6371 GB, free: 5.941 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-05/0.8096, allocations: 12 kB / 0.6371 GB, free: 5.93 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/0.8096, allocations: 11.95 kB / 0.6372 GB, free: 5.918 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03067/0.8403, allocations: 16.57 MB / 0.6533 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.8403, allocations: 4 kB / 0.6533 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003374/0.8437, allocations: 0.6599 MB / 0.654 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006805/0.8505, allocations: 2.246 MB / 0.6562 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004445/0.851, allocations: 147.8 kB / 0.6563 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02211/0.8731, allocations: 15.13 MB / 0.6711 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.8731, allocations: 3.938 kB / 0.6711 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2162/1.089, allocations: 15.26 MB / 0.686 GB, free: 187 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009202/1.09, allocations: 368.5 kB / 0.6864 GB, free: 187 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006725/1.091, allocations: 47.56 kB / 0.6864 GB, free: 186.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00298/1.094, allocations: 234.8 kB / 0.6866 GB, free: 186.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006631/1.094, allocations: 283 kB / 0.6869 GB, free: 186.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003372/1.095, allocations: 168.1 kB / 0.6871 GB, free: 186.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002829/1.098, allocations: 2.456 MB / 0.6894 GB, free: 186 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.098, allocations: 0 / 0.6894 GB, free: 186 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005377/1.103, allocations: 1.422 MB / 0.6908 GB, free: 185.9 MB / 0.545 GB 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.0004874/1.104, allocations: 205.1 kB / 0.691 GB, free: 185.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01204/1.116, allocations: 10.14 MB / 0.7009 GB, free: 182.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.116, allocations: 5.75 kB / 0.7009 GB, free: 182.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00547/1.121, allocations: 4.437 MB / 0.7053 GB, free: 179.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/1.124, allocations: 461.9 kB / 0.7057 GB, free: 179.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/1.14, allocations: 13.38 MB / 0.7188 GB, free: 167.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003044/1.143, allocations: 3.21 MB / 0.7219 GB, free: 164.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004497/1.147, allocations: 2.34 MB / 0.7242 GB, free: 162.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/1.149, allocations: 0.6248 MB / 0.7248 GB, free: 161.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/1.149, allocations: 0 / 0.7248 GB, free: 161.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1038/1.253, allocations: 75.05 MB / 0.7981 GB, free: 87.14 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/BevelGear1D/BevelGear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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[2502]=1.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.537310701911338]