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.0009565/0.0009565, allocations: 180.2 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 221.3 MB / 236 MB, free: 2.98 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.0008356/0.0008353, allocations: 88.09 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1662/0.1662, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.343e-05, allocations: 224 / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3588/0.4603, allocations: 109.8 MB / 0.609 GB, free: 11.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.4606, allocations: 83.95 kB / 0.6091 GB, free: 11.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2431/0.7037, allocations: 104 MB / 0.7106 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7038, allocations: 0 / 0.7106 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000248/0.704, allocations: 103.9 kB / 0.7107 GB, free: 2.723 MB / 0.5105 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.2976/1.002, allocations: 5.079 MB / 0.7157 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/1.002, allocations: 9.797 kB / 0.7157 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02824/1.03, allocations: 6.861 MB / 0.7224 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01742/1.047, allocations: 6.476 MB / 0.7287 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004858/1.048, allocations: 384.3 kB / 0.7291 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00236/1.05, allocations: 0.514 MB / 0.7296 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02517/1.076, allocations: 11.84 MB / 0.7412 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001914/1.076, allocations: 74.02 kB / 0.7412 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007072/1.076, allocations: 247.5 kB / 0.7415 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001105/1.078, allocations: 1.068 MB / 0.7425 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01559/1.093, allocations: 9.394 MB / 0.7517 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04873/1.142, allocations: 55.12 MB / 0.8055 GB, free: 68.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008445/1.15, allocations: 3.896 MB / 0.8093 GB, free: 67.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002217/1.153, allocations: 2.101 MB / 0.8114 GB, free: 66.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/1.164, allocations: 8.884 MB / 0.82 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.164, allocations: 50.09 kB / 0.8201 GB, free: 61.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=169): time 5.851e-06/1.164, allocations: 0 / 0.8201 GB, free: 61.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=191): time 0.03578/1.2, allocations: 14.74 MB / 0.8345 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/1.2, allocations: 200.8 kB / 0.8347 GB, free: 53.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007217/1.207, allocations: 4.106 MB / 0.8387 GB, free: 50.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000367/1.208, allocations: 53.7 kB / 0.8387 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0022/1.21, allocations: 3.652 MB / 0.8423 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008551/1.211, allocations: 0.7399 MB / 0.843 GB, free: 46.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000444/1.211, allocations: 127.8 kB / 0.8431 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002808/1.211, allocations: 0.5717 MB / 0.8437 GB, free: 45.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/1.214, allocations: 2.005 MB / 0.8457 GB, free: 43.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003633/1.217, allocations: 5.833 MB / 0.8514 GB, free: 36.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003775/1.221, allocations: 3.423 MB / 0.8547 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-05/1.221, allocations: 44 kB / 0.8547 GB, free: 33.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01239/1.234, allocations: 8.311 MB / 0.8629 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/1.234, allocations: 65.41 kB / 0.8629 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001747/1.234, allocations: 140.1 kB / 0.863 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/1.236, allocations: 0.9242 MB / 0.8639 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004478/1.241, allocations: 1.425 MB / 0.8653 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007565/1.248, allocations: 7.216 MB / 0.8724 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005051/1.254, allocations: 334 kB / 0.8727 GB, free: 16.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/1.255, allocations: 382.7 kB / 0.8731 GB, free: 16.62 MB / 0.5105 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 () * 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.001586/1.256, allocations: 0.6004 MB / 0.8737 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009292/1.257, allocations: 414.6 kB / 0.8741 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005737/1.263, allocations: 3.1 MB / 0.8771 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-05/1.263, allocations: 23.67 kB / 0.8771 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/1.263, allocations: 8 kB / 0.8771 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/1.263, allocations: 6.844 kB / 0.8771 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/1.28, allocations: 8.379 MB / 0.8853 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.542e-05/1.28, allocations: 3.953 kB / 0.8853 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/1.282, allocations: 282.7 kB / 0.8856 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002058/1.284, allocations: 0.6878 MB / 0.8862 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000226/1.284, allocations: 35.98 kB / 0.8863 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006992/1.291, allocations: 6.54 MB / 0.8927 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.291, allocations: 4.062 kB / 0.8927 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008616/1.3, allocations: 5.573 MB / 0.8981 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/1.301, allocations: 455.6 kB / 0.8985 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/1.302, allocations: 28 kB / 0.8986 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/1.305, allocations: 99.89 kB / 0.8987 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003649/1.305, allocations: 117.1 kB / 0.8988 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.305, allocations: 48 kB / 0.8988 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006301/1.311, allocations: 2.892 MB / 0.9017 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.2e-07/1.311, allocations: 0 / 0.9017 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006402/1.318, allocations: 1.12 MB / 0.9027 GB, free: 4.27 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 () * 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.0005803/1.318, allocations: 169.4 kB / 0.9029 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009033/1.327, allocations: 5.187 MB / 0.908 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.327, allocations: 0 / 0.908 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003065/1.331, allocations: 1.749 MB / 0.9097 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/1.334, allocations: 0.5251 MB / 0.9102 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/1.354, allocations: 8.756 MB / 0.9187 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2779/1.632, allocations: 3.962 MB / 0.9226 GB, free: 127.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007159/1.639, allocations: 1.999 MB / 0.9246 GB, free: 127.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009265/1.64, allocations: 268.3 kB / 0.9248 GB, free: 127.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.933e-06/1.64, allocations: 1.156 kB / 0.9248 GB, free: 127.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.07478/1.715, allocations: 39.07 MB / 0.963 GB, free: 125.9 MB / 0.5417 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