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.001892/0.001892, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 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.001796/0.001796, allocations: 209.9 kB / 23.73 MB, free: 4.387 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.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.001829/0.001829, allocations: 47.91 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2487, allocations: 53.36 MB / 431.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.0149/0.2636, allocations: 11.53 MB / 443.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.2736, allocations: 4.469 MB / 447.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/0.2755, allocations: 99.5 kB / 447.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007682/0.2832, allocations: 3.956 MB / 451.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005613/0.2888, allocations: 2.105 MB / 453.7 MB, free: 460 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.2911, allocations: 0.8462 MB / 454.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007199/0.2983, allocations: 4.763 MB / 459.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005501/0.3038, allocations: 3.903 MB / 463.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/0.3078, allocations: 1.963 MB / 465.2 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004289/0.3121, allocations: 2.675 MB / 467.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000993/0.3131, allocations: 459.9 kB / 468.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.3155, allocations: 1.217 MB / 469.6 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002351/0.3179, allocations: 2.353 MB / 471.9 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002511/0.3204, allocations: 2.031 MB / 473.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009469/0.3298, allocations: 8.766 MB / 482.7 MB, free: 3.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3299, allocations: 0 / 482.7 MB, free: 3.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3299, allocations: 0 / 482.7 MB, free: 3.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000155/0.33, allocations: 4 kB / 482.7 MB, free: 3.332 MB / 382.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.02787/0.3579, allocations: 7.041 MB / 489.7 MB, free: 12.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3579, allocations: 16.03 kB / 489.8 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01692/0.3748, allocations: 2.595 MB / 492.4 MB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009091/0.3839, allocations: 3.065 MB / 495.4 MB, free: 6.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.3842, allocations: 299.8 kB / 495.7 MB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/0.3855, allocations: 403.8 kB / 496.1 MB, free: 5.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02677/0.4123, allocations: 13.34 MB / 0.4975 GB, free: 7.699 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/0.4124, allocations: 47.58 kB / 0.4975 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005718/0.413, allocations: 183.9 kB / 0.4977 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00446/0.4175, allocations: 2.202 MB / 0.4999 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02755/0.445, allocations: 12.63 MB / 0.5122 GB, free: 8.621 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2955/0.7405, allocations: 45.89 MB / 0.557 GB, free: 70.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02142/0.7619, allocations: 5.784 MB / 0.5627 GB, free: 69.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003696/0.7656, allocations: 3.687 MB / 0.5663 GB, free: 68.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006679/0.7663, allocations: 180 kB / 0.5664 GB, free: 68.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.7663, allocations: 58.66 kB / 0.5665 GB, free: 68.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 4.489e-06/0.7663, allocations: 0 / 0.5665 GB, free: 68.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.09133/0.8576, allocations: 35.97 MB / 0.6016 GB, free: 36.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/0.8577, allocations: 209.4 kB / 0.6018 GB, free: 35.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005187/0.8629, allocations: 4.181 MB / 0.6059 GB, free: 31.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007008/0.8636, allocations: 61.7 kB / 0.606 GB, free: 31.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001552/0.8651, allocations: 3.612 MB / 0.6095 GB, free: 28.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001281/0.8664, allocations: 0.9873 MB / 0.6105 GB, free: 27.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002985/0.8694, allocations: 1.608 MB / 0.612 GB, free: 25.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.8695, allocations: 309 kB / 0.6123 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005328/0.8748, allocations: 4.327 MB / 0.6165 GB, free: 21.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007126/0.8819, allocations: 8.261 MB / 0.6246 GB, free: 11.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0155/0.8974, allocations: 13.37 MB / 0.6377 GB, free: 11.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001648/0.8976, allocations: 39.38 kB / 0.6377 GB, free: 11.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.03175/0.9293, allocations: 14.7 MB / 0.6521 GB, free: 13.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002636/0.9296, allocations: 67.94 kB / 0.6521 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003214/0.9299, allocations: 136 kB / 0.6523 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007695/0.9376, allocations: 2.457 MB / 0.6547 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007271/0.9449, allocations: 1.778 MB / 0.6564 GB, free: 8.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02492/0.9698, allocations: 16.49 MB / 0.6725 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00693/0.9767, allocations: 470.7 kB / 0.6729 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001889/0.9786, allocations: 0.4958 MB / 0.6734 GB, free: 6.844 MB / 494.1 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.006256/0.9849, allocations: 2.385 MB / 0.6758 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001875/0.9868, allocations: 381.5 kB / 0.6761 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02082/1.008, allocations: 9.563 MB / 0.6855 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.806e-05/1.008, allocations: 31.94 kB / 0.6855 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.321e-05/1.008, allocations: 12.69 kB / 0.6855 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.234e-05/1.008, allocations: 11.95 kB / 0.6855 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03692/1.045, allocations: 16.37 MB / 0.7015 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/1.045, allocations: 4 kB / 0.7015 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0035/1.048, allocations: 0.5888 MB / 0.7021 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006867/1.055, allocations: 2.239 MB / 0.7043 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007516/1.056, allocations: 135.8 kB / 0.7044 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02248/1.078, allocations: 15.12 MB / 0.7192 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.078, allocations: 4 kB / 0.7192 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02714/1.105, allocations: 15.09 MB / 0.7339 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/1.107, allocations: 365.3 kB / 0.7343 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001357/1.108, allocations: 36 kB / 0.7343 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003607/1.112, allocations: 231.2 kB / 0.7345 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001004/1.113, allocations: 245.5 kB / 0.7348 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005685/1.113, allocations: 143.8 kB / 0.7349 GB, free: 7.484 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004698/1.118, allocations: 2.452 MB / 0.7373 GB, free: 5.051 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/1.118, allocations: 0 / 0.7373 GB, free: 5.051 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006988/1.125, allocations: 1.41 MB / 0.7387 GB, free: 3.641 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.0008384/1.126, allocations: 186.8 kB / 0.7388 GB, free: 3.453 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2534/1.379, allocations: 10.04 MB / 0.7486 GB, free: 196.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.379, allocations: 0 / 0.7486 GB, free: 196.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009299/1.388, allocations: 4.399 MB / 0.7529 GB, free: 195 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004407/1.393, allocations: 433.8 kB / 0.7534 GB, free: 194.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/1.415, allocations: 13.34 MB / 0.7664 GB, free: 187.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003618/1.419, allocations: 3.222 MB / 0.7695 GB, free: 185.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00512/1.424, allocations: 2.339 MB / 0.7718 GB, free: 183.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/1.426, allocations: 0.5176 MB / 0.7723 GB, free: 183.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.233e-06/1.426, allocations: 4 kB / 0.7723 GB, free: 183.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1104/1.536, allocations: 80.25 MB / 0.8507 GB, free: 104 MB / 0.545 GB " [Timeout remaining time 658] 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 -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/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_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: 8.233246985822916]