Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009239/0.000924, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009876/0.0009879, allocations: 98.97 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1781/0.1781, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.585e-05/1.586e-05, allocations: 224 / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 61.91 MB / 0.4947 GB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4397/0.559, allocations: 109.2 MB / 0.6013 GB, free: 3.281 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.5593, allocations: 83.95 kB / 0.6014 GB, free: 3.199 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5739/1.133, allocations: 101.7 MB / 0.7007 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.555e-06/1.133, allocations: 0 / 0.7007 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004244/1.134, allocations: 105.9 kB / 0.7008 GB, free: 105.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.01775/1.151, allocations: 5.09 MB / 0.7058 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.152, allocations: 15.98 kB / 0.7058 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02871/1.18, allocations: 6.862 MB / 0.7125 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01779/1.198, allocations: 6.46 MB / 0.7188 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000378/1.199, allocations: 168.1 kB / 0.7189 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00222/1.201, allocations: 307.1 kB / 0.7192 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01138/1.212, allocations: 6.887 MB / 0.726 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01654/1.229, allocations: 10.72 MB / 0.7364 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001856/1.229, allocations: 73.23 kB / 0.7365 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005765/1.23, allocations: 37.31 kB / 0.7365 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001116/1.231, allocations: 1.066 MB / 0.7376 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04709/1.278, allocations: 54.13 MB / 0.7904 GB, free: 61.15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00311/1.281, allocations: 3.203 MB / 0.7936 GB, free: 59.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/1.283, allocations: 1.997 MB / 0.7955 GB, free: 58.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003114/1.283, allocations: 339.5 kB / 0.7958 GB, free: 58.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/1.283, allocations: 50.94 kB / 0.7959 GB, free: 58.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=178): time 4.218e-06/1.283, allocations: 4 kB / 0.7959 GB, free: 58.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=200): time 0.03074/1.314, allocations: 17.19 MB / 0.8127 GB, free: 50.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/1.314, allocations: 205.2 kB / 0.8129 GB, free: 50.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004262/1.318, allocations: 3.577 MB / 0.8164 GB, free: 47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002787/1.318, allocations: 25.7 kB / 0.8164 GB, free: 46.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001588/1.32, allocations: 3.697 MB / 0.82 GB, free: 43.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006813/1.321, allocations: 0.7433 MB / 0.8207 GB, free: 42.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/1.321, allocations: 0.75 kB / 0.8207 GB, free: 42.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003156/1.321, allocations: 0.5755 MB / 0.8213 GB, free: 42.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/1.324, allocations: 1.981 MB / 0.8232 GB, free: 40.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003464/1.327, allocations: 5.906 MB / 0.829 GB, free: 33.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003668/1.331, allocations: 3.399 MB / 0.8323 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.127e-05/1.331, allocations: 40 kB / 0.8323 GB, free: 30.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=844) (initialization): time 0.01122/1.342, allocations: 7.697 MB / 0.8399 GB, free: 23.49 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.635e-05/1.342, allocations: 70.53 kB / 0.8399 GB, free: 23.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/1.342, allocations: 140 kB / 0.8401 GB, free: 23.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/1.345, allocations: 0.9434 MB / 0.841 GB, free: 22.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004246/1.349, allocations: 1.477 MB / 0.8424 GB, free: 21.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006768/1.356, allocations: 7.063 MB / 0.8493 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005185/1.361, allocations: 222.2 kB / 0.8495 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001529/1.362, allocations: 399.1 kB / 0.8499 GB, free: 14.14 MB / 0.4948 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.001166/1.364, allocations: 476.6 kB / 0.8504 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000951/1.364, allocations: 394.4 kB / 0.8508 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005291/1.37, allocations: 3.051 MB / 0.8537 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.899e-05/1.37, allocations: 20 kB / 0.8538 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/1.37, allocations: 8 kB / 0.8538 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/1.37, allocations: 7.312 kB / 0.8538 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/1.385, allocations: 7.737 MB / 0.8613 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/1.385, allocations: 4 kB / 0.8613 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/1.386, allocations: 309.7 kB / 0.8616 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001973/1.388, allocations: 0.6647 MB / 0.8623 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/1.388, allocations: 11.61 kB / 0.8623 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006424/1.395, allocations: 6.2 MB / 0.8683 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.395, allocations: 0 / 0.8683 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008288/1.403, allocations: 5.629 MB / 0.8738 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/1.405, allocations: 423.9 kB / 0.8742 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006504/1.405, allocations: 4 kB / 0.8742 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/1.407, allocations: 71.89 kB / 0.8743 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003354/1.407, allocations: 121.1 kB / 0.8744 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/1.407, allocations: 59.92 kB / 0.8745 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004528/1.412, allocations: 2.426 MB / 0.8769 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.82e-07/1.412, allocations: 0 / 0.8769 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006395/1.418, allocations: 0.9804 MB / 0.8778 GB, free: 4.754 MB / 0.5105 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.0005018/1.419, allocations: 143.7 kB / 0.8779 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009145/1.428, allocations: 5.007 MB / 0.8828 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.428, allocations: 0 / 0.8828 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003584/1.432, allocations: 1.729 MB / 0.8845 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003627/1.435, allocations: 447.4 kB / 0.8849 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.456, allocations: 8.723 MB / 0.8935 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006181/1.462, allocations: 3.965 MB / 0.8973 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.312/1.774, allocations: 2.078 MB / 0.8994 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.776, allocations: 253 kB / 0.8996 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.984e-06/1.776, allocations: 0 / 0.8996 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.07712/1.853, allocations: 34.71 MB / 0.9335 GB, free: 116.7 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches