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.001394/0.001394, allocations: 82.41 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001572/0.001572, allocations: 159.6 kB / 24.5 MB, free: 3.719 MB / 14.72 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 1.463/1.463, allocations: 177.1 MB / 204.7 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001962/0.001962, allocations: 65.52 kB / 325.5 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.09682, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01474/0.1116, allocations: 11.53 MB / 390.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.1232, allocations: 4.471 MB / 394.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003356/0.1265, allocations: 103.5 kB / 395 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008212/0.1348, allocations: 3.952 MB / 399 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00561/0.1404, allocations: 2.101 MB / 401.1 MB, free: 9.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.1424, allocations: 0.8306 MB / 401.9 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006581/0.149, allocations: 4.779 MB / 406.7 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004718/0.1537, allocations: 3.895 MB / 410.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.1566, allocations: 1.967 MB / 412.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004175/0.1607, allocations: 2.679 MB / 415.2 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008902/0.1616, allocations: 456 kB / 415.7 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.1639, allocations: 1.213 MB / 416.9 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002212/0.1661, allocations: 2.357 MB / 419.2 MB, free: 6.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002446/0.1685, allocations: 2.031 MB / 421.3 MB, free: 4.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009709/0.1782, allocations: 8.76 MB / 430 MB, free: 12.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1782, allocations: 0 / 430 MB, free: 12.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1782, allocations: 0 / 430 MB, free: 12.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002358/0.1785, allocations: 0 / 430 MB, free: 12.13 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.02948/0.208, allocations: 7.357 MB / 437.4 MB, free: 4.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.208, allocations: 11.98 kB / 437.4 MB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01706/0.2251, allocations: 2.657 MB / 440.1 MB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007756/0.2328, allocations: 3.073 MB / 443.1 MB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/0.2331, allocations: 303.7 kB / 443.4 MB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/0.2342, allocations: 407.8 kB / 443.8 MB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02805/0.2622, allocations: 13.5 MB / 457.3 MB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/0.2624, allocations: 43.64 kB / 457.4 MB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005796/0.2629, allocations: 195.9 kB / 457.6 MB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004496/0.2674, allocations: 2.198 MB / 459.8 MB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02773/0.2952, allocations: 12.83 MB / 472.6 MB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2583/0.5535, allocations: 46.14 MB / 0.5066 GB, free: 47.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02263/0.5761, allocations: 6.135 MB / 0.5126 GB, free: 42.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003981/0.5801, allocations: 3.72 MB / 0.5162 GB, free: 38.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008907/0.581, allocations: 184.9 kB / 0.5164 GB, free: 38.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.581, allocations: 63.81 kB / 0.5164 GB, free: 38.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=214): time 5.971e-06/0.581, allocations: 0 / 0.5164 GB, free: 38.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.09646/0.6775, allocations: 37.12 MB / 0.5527 GB, free: 1.051 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.6776, allocations: 209.9 kB / 0.5529 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006647/0.6842, allocations: 4.192 MB / 0.557 GB, free: 12.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007807/0.685, allocations: 73.7 kB / 0.557 GB, free: 12.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003101/0.6881, allocations: 3.598 MB / 0.5606 GB, free: 8.965 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001606/0.6897, allocations: 0.9992 MB / 0.5615 GB, free: 7.977 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004052/0.6937, allocations: 1.666 MB / 0.5632 GB, free: 6.305 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6939, allocations: 301.1 kB / 0.5635 GB, free: 6.008 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008307/0.7022, allocations: 4.363 MB / 0.5677 GB, free: 1.637 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01088/0.7131, allocations: 8.301 MB / 0.5758 GB, free: 7.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01946/0.7325, allocations: 13.43 MB / 0.5889 GB, free: 8.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001429/0.7327, allocations: 43.98 kB / 0.589 GB, free: 8.027 MB / 478.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.03047/0.7631, allocations: 14.83 MB / 0.6035 GB, free: 9.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.7633, allocations: 67.94 kB / 0.6035 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002352/0.7635, allocations: 136 kB / 0.6037 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00764/0.7712, allocations: 2.456 MB / 0.6061 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007349/0.7785, allocations: 1.856 MB / 0.6079 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02593/0.8045, allocations: 16.48 MB / 0.624 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007065/0.8115, allocations: 491.4 kB / 0.6244 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001724/0.8132, allocations: 0.5231 MB / 0.6249 GB, free: 2.883 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.005975/0.8192, allocations: 2.399 MB / 0.6273 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/0.8207, allocations: 393.4 kB / 0.6277 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02097/0.8417, allocations: 9.692 MB / 0.6371 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.366e-05/0.8417, allocations: 31.98 kB / 0.6372 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.478e-05/0.8418, allocations: 12 kB / 0.6372 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-05/0.8418, allocations: 11.97 kB / 0.6372 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03868/0.8805, allocations: 16.58 MB / 0.6534 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.8e-05/0.8806, allocations: 0 / 0.6534 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003727/0.8843, allocations: 0.6514 MB / 0.654 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007202/0.8915, allocations: 2.235 MB / 0.6562 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008314/0.8923, allocations: 155.8 kB / 0.6563 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02284/0.9152, allocations: 15.14 MB / 0.6711 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9152, allocations: 3.938 kB / 0.6711 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.222/1.137, allocations: 15.26 MB / 0.686 GB, free: 187.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000946/1.138, allocations: 359.1 kB / 0.6864 GB, free: 187.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008244/1.139, allocations: 53.34 kB / 0.6864 GB, free: 187.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003256/1.142, allocations: 236.7 kB / 0.6866 GB, free: 187.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007826/1.143, allocations: 275.3 kB / 0.6869 GB, free: 187.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003782/1.143, allocations: 182.3 kB / 0.6871 GB, free: 187.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003093/1.146, allocations: 2.446 MB / 0.6895 GB, free: 186.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.146, allocations: 3.094 kB / 0.6895 GB, free: 186.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006298/1.153, allocations: 1.425 MB / 0.6909 GB, free: 186.7 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.0007386/1.154, allocations: 201.4 kB / 0.6911 GB, free: 186.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01331/1.167, allocations: 10.13 MB / 0.7009 GB, free: 183.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.167, allocations: 0 / 0.7009 GB, free: 183.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005732/1.173, allocations: 4.448 MB / 0.7053 GB, free: 180.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/1.175, allocations: 456.2 kB / 0.7057 GB, free: 180.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/1.192, allocations: 13.37 MB / 0.7188 GB, free: 168.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00335/1.195, allocations: 3.226 MB / 0.7219 GB, free: 165.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00471/1.2, allocations: 2.33 MB / 0.7242 GB, free: 163.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001833/1.202, allocations: 0.6287 MB / 0.7248 GB, free: 163 MB / 0.545 GB Notification: Performance of SimCode: time 1.483e-06/1.202, allocations: 3.938 kB / 0.7248 GB, free: 163 MB / 0.545 GB Notification: Performance of Templates: time 0.1057/1.307, allocations: 75.04 MB / 0.7981 GB, free: 88.34 MB / 0.545 GB " [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 -s ida -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/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_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[2502]=1.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.868096431018785]