Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001742/0.001742, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008814/0.0008815, allocations: 90.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1939/0.1939, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003385, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1171, allocations: 58.86 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4115/0.5286, allocations: 108.8 MB / 0.585 GB, free: 7.227 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003623/0.5291, allocations: 85.33 kB / 0.5851 GB, free: 7.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2739/0.803, allocations: 106.7 MB / 0.6893 GB, free: 4.281 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.803, allocations: 0 / 0.6893 GB, free: 4.281 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003945/0.8034, allocations: 108 kB / 0.6894 GB, free: 4.176 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.02007/0.8235, allocations: 5.74 MB / 0.695 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.8236, allocations: 12.03 kB / 0.695 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02706/0.8507, allocations: 6.88 MB / 0.7018 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02011/0.8708, allocations: 6.918 MB / 0.7085 GB, free: 484 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005298/0.8714, allocations: 402.7 kB / 0.7089 GB, free: 80 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3051/1.177, allocations: 0.5242 MB / 0.7094 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03368/1.21, allocations: 12.41 MB / 0.7215 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004/1.211, allocations: 76.17 kB / 0.7216 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001447/1.212, allocations: 256.9 kB / 0.7219 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002783/1.215, allocations: 1.129 MB / 0.723 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02217/1.237, allocations: 9.997 MB / 0.7327 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06386/1.301, allocations: 56.74 MB / 0.7881 GB, free: 68.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009336/1.311, allocations: 4.173 MB / 0.7922 GB, free: 66.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01449/1.325, allocations: 9.504 MB / 0.8015 GB, free: 61.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/1.325, allocations: 53.19 kB / 0.8015 GB, free: 61.81 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=190): time 6.522e-06/1.325, allocations: 0 / 0.8015 GB, free: 61.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=212): time 0.04897/1.374, allocations: 18.33 MB / 0.8194 GB, free: 54.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/1.374, allocations: 207.1 kB / 0.8196 GB, free: 54.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008285/1.383, allocations: 4.245 MB / 0.8238 GB, free: 52.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004645/1.383, allocations: 57.08 kB / 0.8238 GB, free: 52.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002035/1.385, allocations: 3.78 MB / 0.8275 GB, free: 50.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009574/1.386, allocations: 0.8055 MB / 0.8283 GB, free: 49.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/1.386, allocations: 132.9 kB / 0.8284 GB, free: 49.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002876/1.387, allocations: 0.5838 MB / 0.829 GB, free: 48.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003057/1.39, allocations: 2.239 MB / 0.8312 GB, free: 48.22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004295/1.394, allocations: 6.178 MB / 0.8372 GB, free: 41.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004519/1.399, allocations: 3.647 MB / 0.8408 GB, free: 38.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-05/1.399, allocations: 40 kB / 0.8408 GB, free: 38.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=852) (initialization): time 0.01434/1.413, allocations: 8.894 MB / 0.8495 GB, free: 30.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.978e-05/1.413, allocations: 65.56 kB / 0.8496 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001605/1.413, allocations: 141.6 kB / 0.8497 GB, free: 30.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/1.416, allocations: 0.9354 MB / 0.8506 GB, free: 29.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00452/1.42, allocations: 1.496 MB / 0.8521 GB, free: 28.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007399/1.428, allocations: 7.417 MB / 0.8593 GB, free: 21.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006277/1.434, allocations: 354.7 kB / 0.8597 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001575/1.436, allocations: 395.6 kB / 0.8601 GB, free: 20.51 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 636 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],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 (792): * Single equations (assignments): 787 * 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.006851/1.442, allocations: 2.577 MB / 0.8626 GB, free: 18.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.444, allocations: 430 kB / 0.863 GB, free: 17.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006346/1.45, allocations: 3.529 MB / 0.8664 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-05/1.45, allocations: 20 kB / 0.8664 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/1.45, allocations: 8 kB / 0.8665 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/1.45, allocations: 10.45 kB / 0.8665 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/1.468, allocations: 9.145 MB / 0.8754 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/1.468, allocations: 4 kB / 0.8754 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/1.47, allocations: 331.2 kB / 0.8757 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002181/1.472, allocations: 0.6943 MB / 0.8764 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000284/1.473, allocations: 39.84 kB / 0.8764 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007163/1.48, allocations: 6.739 MB / 0.883 GB, free: 372 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.48, allocations: 0 / 0.883 GB, free: 372 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/1.491, allocations: 6.249 MB / 0.8891 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003476/1.495, allocations: 0.7386 MB / 0.8898 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/1.496, allocations: 32 kB / 0.8899 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/1.498, allocations: 111.5 kB / 0.89 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003802/1.498, allocations: 130.5 kB / 0.8901 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.498, allocations: 55.94 kB / 0.8901 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006361/1.505, allocations: 3.003 MB / 0.8931 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.11e-07/1.505, allocations: 4 kB / 0.8931 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007577/1.512, allocations: 1.177 MB / 0.8942 GB, free: 6.254 MB / 0.5105 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 (163): * Single equations (assignments): 158 * 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.0006327/1.513, allocations: 175.7 kB / 0.8944 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01045/1.524, allocations: 5.687 MB / 0.9 GB, free: 404 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.524, allocations: 0 / 0.9 GB, free: 404 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.2894/1.813, allocations: 1.957 MB / 0.9019 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003823/1.817, allocations: 0.5228 MB / 0.9024 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02763/1.844, allocations: 13.36 MB / 0.9154 GB, free: 107 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009123/1.854, allocations: 4.117 MB / 0.9194 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007156/1.861, allocations: 2.098 MB / 0.9215 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/1.862, allocations: 282.3 kB / 0.9218 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of SimCode: time 2.205e-06/1.862, allocations: 1.625 kB / 0.9218 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.08405/1.946, allocations: 40.83 MB / 0.9616 GB, free: 104.2 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches