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.001853/0.001853, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.002166/0.002166, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.539/1.539, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.001605/0.001605, allocations: 51.91 kB / 373.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1051, allocations: 53.33 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.2016/0.3067, allocations: 13.24 MB / 440.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009147/0.3158, allocations: 4.689 MB / 444.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.3182, allocations: 100.8 kB / 444.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007581/0.3257, allocations: 4.12 MB / 449 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006429/0.3322, allocations: 2.081 MB / 451 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.3346, allocations: 0.8335 MB / 451.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00779/0.3424, allocations: 4.768 MB / 456.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005617/0.348, allocations: 4.26 MB / 460.9 MB, free: 9.512 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003863/0.3519, allocations: 1.961 MB / 462.9 MB, free: 8.406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005143/0.357, allocations: 2.884 MB / 465.7 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001315/0.3583, allocations: 451.9 kB / 466.2 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.3614, allocations: 1.347 MB / 467.5 MB, free: 6.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002643/0.364, allocations: 2.359 MB / 469.9 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004488/0.3685, allocations: 2.701 MB / 472.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.3802, allocations: 8.726 MB / 481.3 MB, free: 9.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.3803, allocations: 8 kB / 481.3 MB, free: 9.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3803, allocations: 0 / 481.3 MB, free: 9.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002698/0.3805, allocations: 0 / 481.3 MB, free: 9.848 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.0315/0.412, allocations: 7.12 MB / 488.4 MB, free: 2.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4121, allocations: 11.97 kB / 488.5 MB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01772/0.4298, allocations: 2.595 MB / 491.1 MB, free: 28 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008087/0.4379, allocations: 3.131 MB / 494.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002632/0.4382, allocations: 307.8 kB / 494.5 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/0.4397, allocations: 403.8 kB / 494.9 MB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02956/0.4692, allocations: 13.25 MB / 0.4962 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001325/0.4694, allocations: 51.62 kB / 0.4963 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000608/0.47, allocations: 183.9 kB / 0.4965 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004717/0.4747, allocations: 2.198 MB / 0.4986 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02903/0.5037, allocations: 12.67 MB / 0.511 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07333/0.577, allocations: 49.13 MB / 0.559 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02732/0.6044, allocations: 6.247 MB / 0.5651 GB, free: 6.348 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005524/0.6099, allocations: 3.663 MB / 0.5686 GB, free: 2.676 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.611, allocations: 428.3 kB / 0.569 GB, free: 2.203 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/0.611, allocations: 67.86 kB / 0.5691 GB, free: 2.125 MB / 478.1 MB Notification: Performance of pre-optimization done (n=214): time 5.991e-06/0.611, allocations: 1.688 kB / 0.5691 GB, free: 2.125 MB / 478.1 MB Notification: Performance of matching and sorting (n=252): time 0.1137/0.7247, allocations: 36.28 MB / 0.6045 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.7248, allocations: 209.9 kB / 0.6047 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006805/0.7316, allocations: 4.423 MB / 0.6091 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008306/0.7325, allocations: 61.7 kB / 0.6091 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003016/0.7355, allocations: 3.582 MB / 0.6126 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001863/0.7373, allocations: 0.9884 MB / 0.6136 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002817/0.7402, allocations: 1.604 MB / 0.6151 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7403, allocations: 305.1 kB / 0.6154 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2352/0.9754, allocations: 4.327 MB / 0.6197 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009612/0.9851, allocations: 8.216 MB / 0.6277 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01726/1.002, allocations: 13.37 MB / 0.6407 GB, free: 145 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002354/1.003, allocations: 38.88 kB / 0.6408 GB, free: 145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=899) (initialization): time 0.02673/1.029, allocations: 14.75 MB / 0.6552 GB, free: 140.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.443e-05/1.029, allocations: 61.06 kB / 0.6552 GB, free: 140.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/1.03, allocations: 135.8 kB / 0.6554 GB, free: 140.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006391/1.036, allocations: 2.451 MB / 0.6578 GB, free: 139.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006715/1.043, allocations: 1.785 MB / 0.6595 GB, free: 139.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01795/1.061, allocations: 17.04 MB / 0.6761 GB, free: 127.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007949/1.069, allocations: 467.9 kB / 0.6766 GB, free: 127.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/1.07, allocations: 0.4956 MB / 0.6771 GB, free: 127 MB / 0.5137 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.003713/1.073, allocations: 2.383 MB / 0.6794 GB, free: 124.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/1.075, allocations: 415.1 kB / 0.6798 GB, free: 124.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/1.088, allocations: 9.603 MB / 0.6892 GB, free: 114.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.25e-05/1.089, allocations: 27.83 kB / 0.6892 GB, free: 114.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/1.089, allocations: 12.98 kB / 0.6892 GB, free: 114.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/1.089, allocations: 15.95 kB / 0.6892 GB, free: 114.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0242/1.113, allocations: 17.97 MB / 0.7068 GB, free: 96.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/1.113, allocations: 0 / 0.7068 GB, free: 96.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002961/1.116, allocations: 0.587 MB / 0.7074 GB, free: 96.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005831/1.122, allocations: 2.236 MB / 0.7095 GB, free: 94.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005499/1.122, allocations: 134.1 kB / 0.7097 GB, free: 93.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01612/1.138, allocations: 15.67 MB / 0.725 GB, free: 78.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.138, allocations: 3.938 kB / 0.725 GB, free: 78.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01932/1.158, allocations: 15.13 MB / 0.7397 GB, free: 62.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/1.159, allocations: 475.5 kB / 0.7402 GB, free: 62.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006464/1.159, allocations: 40 kB / 0.7402 GB, free: 62.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002866/1.162, allocations: 215.7 kB / 0.7404 GB, free: 62.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007222/1.163, allocations: 246.2 kB / 0.7407 GB, free: 61.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003023/1.163, allocations: 153.2 kB / 0.7408 GB, free: 61.72 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003123/1.166, allocations: 2.777 MB / 0.7435 GB, free: 58.94 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/1.166, allocations: 3.938 kB / 0.7435 GB, free: 58.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005709/1.172, allocations: 1.417 MB / 0.7449 GB, free: 57.52 MB / 0.5137 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.0005248/1.172, allocations: 184.1 kB / 0.7451 GB, free: 57.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01244/1.185, allocations: 10.05 MB / 0.7549 GB, free: 47.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.185, allocations: 0 / 0.7549 GB, free: 47.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00536/1.19, allocations: 4.392 MB / 0.7592 GB, free: 42.86 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/1.193, allocations: 0.4891 MB / 0.7597 GB, free: 42.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.212, allocations: 13.31 MB / 0.7727 GB, free: 29.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003227/1.215, allocations: 3.745 MB / 0.7763 GB, free: 25.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00522/1.22, allocations: 2.375 MB / 0.7787 GB, free: 22.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/1.222, allocations: 0.5378 MB / 0.7792 GB, free: 22.41 MB / 0.5137 GB Notification: Performance of SimCode: time 1.984e-06/1.222, allocations: 0 / 0.7792 GB, free: 22.41 MB / 0.5137 GB Notification: Performance of Templates: time 0.3616/1.584, allocations: 77.32 MB / 0.8547 GB, free: 150.9 MB / 0.5294 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: 7.997601464390755]