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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 105.3 kB / 16.94 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 191.6 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2014/0.2014, allocations: 43.52 MB / 314.6 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 70.89 kB / 383.4 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.09489, allocations: 57.79 MB / 441.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01434/0.1093, allocations: 14.2 MB / 455.4 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01051/0.1199, allocations: 4.63 MB / 460 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002882/0.1228, allocations: 99.69 kB / 460.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00836/0.1312, allocations: 4.213 MB / 464.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006682/0.1379, allocations: 2.268 MB / 466.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.1407, allocations: 0.9126 MB / 467.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00893/0.1496, allocations: 5.855 MB / 473.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008541/0.1582, allocations: 5.266 MB / 478.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004659/0.1629, allocations: 2.189 MB / 480.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005082/0.1681, allocations: 2.94 MB / 483.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001939/0.17, allocations: 495.9 kB / 484.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003846/0.1739, allocations: 1.362 MB / 485.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004039/0.178, allocations: 2.634 MB / 488.3 MB, free: 7.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005877/0.1839, allocations: 2.995 MB / 491.2 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.1969, allocations: 9.288 MB / 0.4888 GB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.779e-06/0.197, allocations: 0 / 0.4888 GB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.197, allocations: 3.938 kB / 0.4888 GB, free: 11.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003981/0.1974, allocations: 4 kB / 0.4888 GB, free: 11.29 MB / 382.1 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.01837/0.2158, allocations: 6.322 MB / 0.495 GB, free: 4.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.2159, allocations: 11.89 kB / 0.495 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/0.229, allocations: 2.602 MB / 0.4975 GB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0098/0.2389, allocations: 3.977 MB / 0.5014 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00036/0.2393, allocations: 312.4 kB / 0.5017 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001915/0.2412, allocations: 427.8 kB / 0.5021 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02666/0.2679, allocations: 11.97 MB / 0.5138 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002948/0.2682, allocations: 59.47 kB / 0.5139 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00153/0.2698, allocations: 191.8 kB / 0.5141 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004164/0.2739, allocations: 2.206 MB / 0.5162 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02176/0.2957, allocations: 10.13 MB / 0.5261 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.265/0.5607, allocations: 47.14 MB / 0.5721 GB, free: 50.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009919/0.5707, allocations: 4.367 MB / 0.5764 GB, free: 48.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002931/0.5737, allocations: 2.514 MB / 0.5789 GB, free: 46.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01348/0.5872, allocations: 9.975 MB / 0.5886 GB, free: 38.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.5873, allocations: 59.81 kB / 0.5887 GB, free: 38.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=190): time 4.488e-06/0.5873, allocations: 0 / 0.5887 GB, free: 38.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=212): time 0.05334/0.6406, allocations: 20.81 MB / 0.609 GB, free: 17.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/0.6407, allocations: 205.2 kB / 0.6092 GB, free: 17.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006105/0.6469, allocations: 4.827 MB / 0.6139 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005076/0.6474, allocations: 53.22 kB / 0.6139 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001832/0.6492, allocations: 3.706 MB / 0.6176 GB, free: 8.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009704/0.6502, allocations: 0.8199 MB / 0.6184 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001717/0.652, allocations: 1.376 MB / 0.6197 GB, free: 6.426 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.652, allocations: 301.1 kB / 0.62 GB, free: 6.129 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003293/0.6553, allocations: 2.555 MB / 0.6225 GB, free: 3.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005821/0.6612, allocations: 6.516 MB / 0.6288 GB, free: 11.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/0.6729, allocations: 9.738 MB / 0.6384 GB, free: 15.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/0.6731, allocations: 40 kB / 0.6384 GB, free: 15.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=888) (initialization): time 0.02105/0.6942, allocations: 10.18 MB / 0.6483 GB, free: 5.184 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.6944, allocations: 67.94 kB / 0.6484 GB, free: 5.117 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002385/0.6947, allocations: 144 kB / 0.6485 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004891/0.6996, allocations: 1.611 MB / 0.6501 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005582/0.7052, allocations: 1.556 MB / 0.6516 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01378/0.719, allocations: 10.02 MB / 0.6614 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005359/0.7244, allocations: 375.4 kB / 0.6618 GB, free: 7.133 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001418/0.7258, allocations: 410.8 kB / 0.6622 GB, free: 6.734 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * 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 (828): * Single equations (assignments): 823 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005713/0.7316, allocations: 2.575 MB / 0.6647 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001303/0.7329, allocations: 418.6 kB / 0.6651 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/0.743, allocations: 4.545 MB / 0.6695 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.667e-05/0.7431, allocations: 23.94 kB / 0.6695 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.229e-05/0.7431, allocations: 8 kB / 0.6695 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.756e-05/0.7431, allocations: 7.969 kB / 0.6696 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02337/0.7665, allocations: 10.32 MB / 0.6796 GB, free: 4.734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/0.7666, allocations: 0 / 0.6796 GB, free: 4.734 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/0.7684, allocations: 331.5 kB / 0.6799 GB, free: 4.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004258/0.7727, allocations: 1.371 MB / 0.6813 GB, free: 3.031 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003804/0.7731, allocations: 39.98 kB / 0.6813 GB, free: 2.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/0.7855, allocations: 9.382 MB / 0.6905 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.7855, allocations: 3.938 kB / 0.6905 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/0.7986, allocations: 7.472 MB / 0.6978 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/0.801, allocations: 0.7766 MB / 0.6985 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001133/0.8021, allocations: 35.94 kB / 0.6986 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00232/0.8044, allocations: 131.8 kB / 0.6987 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005012/0.805, allocations: 129.1 kB / 0.6988 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/0.8052, allocations: 52 kB / 0.6989 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005809/0.811, allocations: 3.045 MB / 0.7018 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.41e-07/0.811, allocations: 0 / 0.7018 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006586/0.8176, allocations: 1.257 MB / 0.7031 GB, free: 12.38 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006789/0.8183, allocations: 161.6 kB / 0.7032 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01396/0.8323, allocations: 7.66 MB / 0.7107 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.8323, allocations: 0 / 0.7107 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003818/0.8362, allocations: 2.16 MB / 0.7128 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004015/0.8402, allocations: 0.5535 MB / 0.7134 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0237/0.8639, allocations: 12.31 MB / 0.7254 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005666/0.8696, allocations: 3.963 MB / 0.7293 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/0.871, allocations: 339.4 kB / 0.7296 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.871, allocations: 0 / 0.7296 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of Templates: time 0.3127/1.184, allocations: 117.8 MB / 0.8446 GB, free: 81.69 MB / 0.5137 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches