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.001305/0.001305, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009682/0.0009682, allocations: 92.08 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1986/0.1986, allocations: 45.15 MB / 383.8 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.148e-05, allocations: 4 kB / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4079/0.5162, allocations: 110.1 MB / 0.6119 GB, free: 8.797 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.5165, allocations: 86.02 kB / 0.612 GB, free: 8.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2542/0.7707, allocations: 103.9 MB / 0.7134 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7707, allocations: 0 / 0.7134 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004155/0.7712, allocations: 104 kB / 0.7135 GB, free: 8.789 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.01667/0.7879, allocations: 5.132 MB / 0.7186 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.7879, allocations: 12.03 kB / 0.7186 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02788/0.8158, allocations: 6.896 MB / 0.7253 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01639/0.8322, allocations: 5.833 MB / 0.731 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/0.8326, allocations: 168 kB / 0.7312 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002529/0.8352, allocations: 307.8 kB / 0.7315 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01435/0.8496, allocations: 6.884 MB / 0.7382 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02751/0.8771, allocations: 10.73 MB / 0.7486 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004533/0.8776, allocations: 83.23 kB / 0.7487 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002483/0.8801, allocations: 36 kB / 0.7488 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00171/0.8819, allocations: 1.062 MB / 0.7498 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3232/1.205, allocations: 54.12 MB / 0.8027 GB, free: 90.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003774/1.209, allocations: 3.201 MB / 0.8058 GB, free: 89.35 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/1.211, allocations: 1.999 MB / 0.8077 GB, free: 89.31 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003063/1.211, allocations: 333.9 kB / 0.808 GB, free: 89.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/1.211, allocations: 54.06 kB / 0.8081 GB, free: 88.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=178): time 4.488e-06/1.211, allocations: 3.75 kB / 0.8081 GB, free: 88.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=200): time 0.02898/1.24, allocations: 17.19 MB / 0.8249 GB, free: 84.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/1.24, allocations: 196.3 kB / 0.8251 GB, free: 84.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00446/1.245, allocations: 3.587 MB / 0.8286 GB, free: 82.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002468/1.245, allocations: 26.55 kB / 0.8286 GB, free: 82.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001588/1.246, allocations: 3.683 MB / 0.8322 GB, free: 80.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005694/1.247, allocations: 0.7478 MB / 0.8329 GB, free: 79.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/1.247, allocations: 3.625 kB / 0.8329 GB, free: 79.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002391/1.247, allocations: 0.5806 MB / 0.8335 GB, free: 79.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/1.25, allocations: 1.976 MB / 0.8354 GB, free: 78.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00413/1.254, allocations: 5.899 MB / 0.8412 GB, free: 72.58 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003982/1.258, allocations: 3.398 MB / 0.8445 GB, free: 71.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.314e-05/1.258, allocations: 40.97 kB / 0.8446 GB, free: 71.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=844) (initialization): time 0.01045/1.268, allocations: 7.715 MB / 0.8521 GB, free: 69.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.993e-05/1.268, allocations: 62.75 kB / 0.8521 GB, free: 69.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/1.268, allocations: 142.3 kB / 0.8523 GB, free: 69.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/1.271, allocations: 0.9361 MB / 0.8532 GB, free: 68.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003897/1.275, allocations: 1.474 MB / 0.8546 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006738/1.281, allocations: 7.072 MB / 0.8615 GB, free: 64.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004445/1.286, allocations: 219.9 kB / 0.8618 GB, free: 64.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005955/1.286, allocations: 395.8 kB / 0.8621 GB, free: 64.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 640 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (784): * Single equations (assignments): 779 * 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.0009858/1.287, allocations: 475.1 kB / 0.8626 GB, free: 63.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004872/1.288, allocations: 384.7 kB / 0.8629 GB, free: 63.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004804/1.293, allocations: 3.056 MB / 0.8659 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/1.293, allocations: 24.34 kB / 0.866 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.293, allocations: 17.3 kB / 0.866 GB, free: 62.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/1.293, allocations: 7.594 kB / 0.866 GB, free: 62.47 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/1.306, allocations: 7.739 MB / 0.8735 GB, free: 59.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/1.306, allocations: 0 / 0.8735 GB, free: 59.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/1.307, allocations: 303.7 kB / 0.8738 GB, free: 58.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002083/1.309, allocations: 0.6712 MB / 0.8745 GB, free: 58.49 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002273/1.31, allocations: 11.23 kB / 0.8745 GB, free: 58.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006128/1.316, allocations: 6.196 MB / 0.8805 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.316, allocations: 7.938 kB / 0.8806 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006735/1.323, allocations: 5.625 MB / 0.886 GB, free: 47.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/1.324, allocations: 415.6 kB / 0.8864 GB, free: 47.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009177/1.325, allocations: 3.844 kB / 0.8864 GB, free: 47.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/1.326, allocations: 74.14 kB / 0.8865 GB, free: 47.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/1.327, allocations: 122 kB / 0.8866 GB, free: 47.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/1.327, allocations: 59.38 kB / 0.8867 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004675/1.332, allocations: 2.429 MB / 0.8891 GB, free: 44.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/1.332, allocations: 0 / 0.8891 GB, free: 44.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006414/1.338, allocations: 0.9766 MB / 0.89 GB, free: 43.98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (150): * Single equations (assignments): 145 * 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.0004771/1.338, allocations: 158.4 kB / 0.8902 GB, free: 43.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007645/1.346, allocations: 4.993 MB / 0.895 GB, free: 39.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/1.346, allocations: 0 / 0.895 GB, free: 39.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002251/1.348, allocations: 1.734 MB / 0.8967 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/1.351, allocations: 461.5 kB / 0.8972 GB, free: 37.37 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/1.368, allocations: 8.716 MB / 0.9057 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005922/1.374, allocations: 3.961 MB / 0.9096 GB, free: 26.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004884/1.379, allocations: 2.081 MB / 0.9116 GB, free: 25.31 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006342/1.38, allocations: 258.6 kB / 0.9118 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of SimCode: time 1.193e-06/1.38, allocations: 0 / 0.9118 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.06289/1.443, allocations: 34.7 MB / 0.9457 GB, free: 12.17 MB / 0.5417 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