Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 227.2 MB / 245 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008052/0.0008053, allocations: 106.4 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.306/0.306, allocations: 45.24 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.0002732, allocations: 8 kB / 468.4 MB, free: 7.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3104, allocations: 63.23 MB / 0.5192 GB, free: 43.44 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.4425, allocations: 110.8 MB / 0.6274 GB, free: 10.81 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.4428, allocations: 83.95 kB / 0.6275 GB, free: 10.73 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4905/0.9333, allocations: 106.1 MB / 0.7311 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9333, allocations: 0 / 0.7311 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004247/0.9338, allocations: 104.2 kB / 0.7312 GB, free: 94.7 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.01935/0.9531, allocations: 5.598 MB / 0.7367 GB, free: 92.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.9532, allocations: 9.625 kB / 0.7367 GB, free: 92.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02602/0.9792, allocations: 6.887 MB / 0.7434 GB, free: 92.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01705/0.9963, allocations: 5.87 MB / 0.7492 GB, free: 91.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004447/0.9968, allocations: 391.2 kB / 0.7495 GB, free: 91.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002338/0.9991, allocations: 0.5125 MB / 0.75 GB, free: 91.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02256/1.022, allocations: 11.94 MB / 0.7617 GB, free: 85.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002098/1.022, allocations: 81.03 kB / 0.7618 GB, free: 85.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007276/1.023, allocations: 252 kB / 0.762 GB, free: 85.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001113/1.024, allocations: 1.061 MB / 0.763 GB, free: 85.37 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01666/1.04, allocations: 9.579 MB / 0.7724 GB, free: 82.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05479/1.095, allocations: 55.1 MB / 0.8262 GB, free: 40.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008183/1.104, allocations: 3.954 MB / 0.8301 GB, free: 38.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01273/1.116, allocations: 8.885 MB / 0.8387 GB, free: 29.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/1.116, allocations: 55.56 kB / 0.8388 GB, free: 29.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=169): time 4.529e-06/1.116, allocations: 0 / 0.8388 GB, free: 29.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=191): time 0.03891/1.155, allocations: 17.24 MB / 0.8556 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/1.155, allocations: 201.2 kB / 0.8558 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004983/1.16, allocations: 4.133 MB / 0.8599 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001986/1.161, allocations: 61.64 kB / 0.8599 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001606/1.162, allocations: 3.661 MB / 0.8635 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006006/1.163, allocations: 0.737 MB / 0.8642 GB, free: 3.297 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/1.163, allocations: 120 kB / 0.8643 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002506/1.163, allocations: 0.5704 MB / 0.8649 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/1.166, allocations: 2.066 MB / 0.8669 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005068/1.171, allocations: 5.897 MB / 0.8727 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004525/1.175, allocations: 3.435 MB / 0.876 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.567e-05/1.175, allocations: 40 kB / 0.876 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01481/1.19, allocations: 8.445 MB / 0.8843 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.201e-05/1.19, allocations: 64 kB / 0.8844 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/1.191, allocations: 140 kB / 0.8845 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/1.193, allocations: 0.9172 MB / 0.8854 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004827/1.198, allocations: 1.419 MB / 0.8868 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008919/1.207, allocations: 7.416 MB / 0.894 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004965/1.212, allocations: 327.5 kB / 0.8943 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000748/1.213, allocations: 391.6 kB / 0.8947 GB, free: 1.859 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 47 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (754): * Single equations (assignments): 749 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2612/1.474, allocations: 2.475 MB / 0.8971 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/1.475, allocations: 415.3 kB / 0.8975 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005904/1.481, allocations: 3.157 MB / 0.9006 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/1.481, allocations: 21.84 kB / 0.9006 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/1.481, allocations: 7.375 kB / 0.9006 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.348e-05/1.481, allocations: 8.562 kB / 0.9006 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/1.495, allocations: 8.442 MB / 0.9089 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.495, allocations: 2.75 kB / 0.9089 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/1.496, allocations: 285.5 kB / 0.9092 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00201/1.498, allocations: 0.6889 MB / 0.9098 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/1.499, allocations: 35.55 kB / 0.9099 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006698/1.505, allocations: 6.74 MB / 0.9164 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.505, allocations: 3.609 kB / 0.9164 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008444/1.514, allocations: 5.663 MB / 0.922 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/1.515, allocations: 452.4 kB / 0.9224 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003908/1.516, allocations: 35.98 kB / 0.9224 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/1.517, allocations: 97.14 kB / 0.9225 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/1.517, allocations: 123 kB / 0.9226 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/1.517, allocations: 46.89 kB / 0.9227 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004532/1.522, allocations: 2.929 MB / 0.9256 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.522, allocations: 0 / 0.9256 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006945/1.529, allocations: 1.128 MB / 0.9267 GB, free: 109 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (141): * Single equations (assignments): 136 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005607/1.53, allocations: 175 kB / 0.9268 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009792/1.539, allocations: 5.29 MB / 0.932 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.539, allocations: 1.391 kB / 0.932 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003068/1.542, allocations: 1.776 MB / 0.9337 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/1.546, allocations: 0.5238 MB / 0.9342 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/1.568, allocations: 12.69 MB / 0.9466 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00426/1.572, allocations: 3.959 MB / 0.9505 GB, free: 98.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004635/1.577, allocations: 2.009 MB / 0.9525 GB, free: 98.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006919/1.578, allocations: 262.4 kB / 0.9527 GB, free: 98.32 MB / 0.5261 GB Notification: Performance of SimCode: time 9.71e-07/1.578, allocations: 0 / 0.9527 GB, free: 98.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.06207/1.64, allocations: 39.06 MB / 0.9908 GB, free: 93.09 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches