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.001396/0.001396, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.001546/0.001546, allocations: 160.9 kB / 24.26 MB, free: 148 kB / 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 1.449/1.449, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 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 1.372e-06/1.372e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.594e-05, allocations: 5.125 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01619/0.01622, allocations: 11.54 MB / 283.7 MB, free: 6.207 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.02695, allocations: 4.47 MB / 288.2 MB, free: 1.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.02875, allocations: 99.5 kB / 288.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1228/0.1515, allocations: 4.226 MB / 292.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006507/0.158, allocations: 2.168 MB / 294.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.1603, allocations: 0.9048 MB / 295.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007827/0.1681, allocations: 5.201 MB / 300.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00566/0.1738, allocations: 4.287 MB / 305.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004523/0.1783, allocations: 2.899 MB / 308 MB, free: 9.582 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003282/0.1816, allocations: 2.716 MB / 310.7 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008307/0.1824, allocations: 460 kB / 311.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.1845, allocations: 1.281 MB / 312.4 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001526/0.186, allocations: 2.457 MB / 314.9 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.1877, allocations: 1.612 MB / 316.5 MB, free: 3.324 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.1978, allocations: 8.842 MB / 325.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1978, allocations: 0 / 325.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1978, allocations: 0 / 325.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002551/0.1981, allocations: 0 / 325.4 MB, free: 10.82 MB / 282.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.03219/0.2303, allocations: 7.339 MB / 332.7 MB, free: 3.531 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.2303, allocations: 11.98 kB / 332.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01837/0.2487, allocations: 3.245 MB / 335.9 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008347/0.257, allocations: 3.088 MB / 339 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003126/0.2574, allocations: 309.8 kB / 339.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001287/0.2586, allocations: 411.1 kB / 339.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03278/0.2914, allocations: 13.52 MB / 353.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002235/0.2917, allocations: 55.06 kB / 353.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001113/0.2928, allocations: 192.2 kB / 353.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00747/0.3002, allocations: 2.201 MB / 355.7 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04556/0.3458, allocations: 12.86 MB / 368.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07749/0.4233, allocations: 45.26 MB / 413.8 MB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02626/0.4495, allocations: 6.168 MB / 420 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006089/0.4556, allocations: 3.726 MB / 423.7 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009204/0.4566, allocations: 205 kB / 423.9 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.559e-05/0.4566, allocations: 55.81 kB / 424 MB, free: 7.379 MB / 378.7 MB Notification: Performance of pre-optimization done (n=214): time 8.175e-06/0.4566, allocations: 3.984 kB / 424 MB, free: 7.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=252): time 0.2912/0.7478, allocations: 37.65 MB / 461.6 MB, free: 108.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.7479, allocations: 209.9 kB / 461.8 MB, free: 108.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004324/0.7522, allocations: 4.242 MB / 466.1 MB, free: 104.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006982/0.7529, allocations: 73.7 kB / 466.1 MB, free: 104.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001512/0.7544, allocations: 3.548 MB / 469.7 MB, free: 101.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00104/0.7555, allocations: 0.9808 MB / 470.7 MB, free: 100.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001899/0.7574, allocations: 1.643 MB / 472.3 MB, free: 98.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.282e-05/0.7574, allocations: 301.1 kB / 472.6 MB, free: 98.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004617/0.762, allocations: 4.382 MB / 477 MB, free: 93.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005871/0.7679, allocations: 8.265 MB / 485.3 MB, free: 83.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/0.7799, allocations: 13.4 MB / 498.7 MB, free: 68.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/0.78, allocations: 39.94 kB / 498.7 MB, free: 68.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02204/0.8021, allocations: 15.21 MB / 0.5019 GB, free: 53.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.815e-05/0.8022, allocations: 67.94 kB / 0.5019 GB, free: 53.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/0.8023, allocations: 138.1 kB / 0.5021 GB, free: 53.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007463/0.8097, allocations: 2.951 MB / 0.5049 GB, free: 50.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006515/0.8162, allocations: 1.852 MB / 0.5067 GB, free: 48.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01752/0.8338, allocations: 16.64 MB / 0.523 GB, free: 31.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006891/0.8406, allocations: 0.515 MB / 0.5235 GB, free: 30.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/0.842, allocations: 0.5191 MB / 0.524 GB, free: 30.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * 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 (823): * Single equations (assignments): 817 * 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,15,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.003947/0.8459, allocations: 2.39 MB / 0.5263 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/0.8474, allocations: 477.4 kB / 0.5268 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/0.8609, allocations: 9.715 MB / 0.5363 GB, free: 17.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.645e-05/0.861, allocations: 28 kB / 0.5363 GB, free: 17.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/0.861, allocations: 8 kB / 0.5363 GB, free: 17.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.179e-05/0.861, allocations: 15.95 kB / 0.5363 GB, free: 17.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02554/0.8866, allocations: 16.05 MB / 0.552 GB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.8866, allocations: 4 kB / 0.552 GB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003015/0.8896, allocations: 0.6591 MB / 0.5527 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008161/0.8978, allocations: 2.732 MB / 0.5553 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006634/0.8984, allocations: 151.8 kB / 0.5555 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1434/1.042, allocations: 15.16 MB / 0.5703 GB, free: 118.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.042, allocations: 5.125 kB / 0.5703 GB, free: 118.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02027/1.062, allocations: 15.38 MB / 0.5853 GB, free: 113.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.063, allocations: 380.5 kB / 0.5856 GB, free: 113.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006485/1.064, allocations: 47.28 kB / 0.5857 GB, free: 113.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002935/1.067, allocations: 278.1 kB / 0.586 GB, free: 113.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008303/1.068, allocations: 273.5 kB / 0.5862 GB, free: 113.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003447/1.068, allocations: 175.2 kB / 0.5864 GB, free: 113.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002999/1.071, allocations: 2.505 MB / 0.5888 GB, free: 112.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/1.071, allocations: 3.406 kB / 0.5888 GB, free: 112.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005783/1.077, allocations: 1.503 MB / 0.5903 GB, free: 112.1 MB / 394.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%), (5,17,88.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.0006629/1.077, allocations: 215.6 kB / 0.5905 GB, free: 111.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0123/1.09, allocations: 10.3 MB / 0.6006 GB, free: 103.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/1.09, allocations: 3.828 kB / 0.6006 GB, free: 103.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005193/1.095, allocations: 4.488 MB / 0.605 GB, free: 98.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/1.098, allocations: 0.5647 MB / 0.6055 GB, free: 98.35 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/1.114, allocations: 13.65 MB / 0.6188 GB, free: 84.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003075/1.117, allocations: 3.223 MB / 0.622 GB, free: 81.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004853/1.122, allocations: 2.31 MB / 0.6242 GB, free: 79.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/1.124, allocations: 0.6287 MB / 0.6249 GB, free: 78.54 MB / 394.7 MB Notification: Performance of SimCode: time 1.673e-06/1.124, allocations: 0 / 0.6249 GB, free: 78.54 MB / 394.7 MB Notification: Performance of Templates: time 0.101/1.225, allocations: 75.19 MB / 0.6983 GB, free: 3.816 MB / 394.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[2502]=1.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.091324770008214]