Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002196/0.002203, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.302/2.302, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001813/0.001813, allocations: 89.56 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.289/0.289, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.977e-05/2.993e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4489, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2401/0.689, allocations: 108.1 MB / 0.5715 GB, free: 7.191 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004812/0.6896, allocations: 87.94 kB / 0.5715 GB, free: 7.105 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9517/1.641, allocations: 104.4 MB / 0.6735 GB, free: 105.6 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.605e-06/1.641, allocations: 3.281 kB / 0.6735 GB, free: 105.6 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0003843/1.642, allocations: 104.4 kB / 0.6736 GB, free: 105.6 MB / 475.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.02152/1.663, allocations: 5.253 MB / 0.6787 GB, free: 103.4 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.663, allocations: 7.688 kB / 0.6787 GB, free: 103.4 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05009/1.713, allocations: 6.9 MB / 0.6854 GB, free: 103.1 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02625/1.74, allocations: 6.877 MB / 0.6922 GB, free: 100.9 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004038/1.74, allocations: 172.9 kB / 0.6923 GB, free: 100.9 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0032/1.743, allocations: 320.6 kB / 0.6926 GB, free: 100.9 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01975/1.763, allocations: 7.21 MB / 0.6997 GB, free: 98.37 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0308/1.794, allocations: 11.16 MB / 0.7106 GB, free: 92.21 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003497/1.795, allocations: 73.48 kB / 0.7106 GB, free: 92.18 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002076/1.797, allocations: 34.72 kB / 0.7107 GB, free: 92.18 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002505/1.799, allocations: 1.133 MB / 0.7118 GB, free: 91.95 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08467/1.884, allocations: 55.58 MB / 0.7661 GB, free: 36.5 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008134/1.892, allocations: 3.419 MB / 0.7694 GB, free: 32.94 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005977/1.898, allocations: 2.159 MB / 0.7715 GB, free: 30.77 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007563/1.899, allocations: 348 kB / 0.7718 GB, free: 30.38 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.735e-05/1.899, allocations: 51.81 kB / 0.7719 GB, free: 30.32 MB / 475.1 MB Notification: Performance of pre-optimization done (n=199): time 8.736e-06/1.899, allocations: 4 kB / 0.7719 GB, free: 30.32 MB / 475.1 MB Notification: Performance of matching and sorting (n=221): time 0.06842/1.968, allocations: 18.69 MB / 0.7901 GB, free: 11.54 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.067e-05/1.968, allocations: 201.2 kB / 0.7903 GB, free: 11.3 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009413/1.977, allocations: 3.692 MB / 0.7939 GB, free: 7.598 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006069/1.978, allocations: 25.7 kB / 0.794 GB, free: 7.566 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003401/1.981, allocations: 3.722 MB / 0.7976 GB, free: 3.793 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001423/1.983, allocations: 0.8173 MB / 0.7984 GB, free: 2.965 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009148/1.984, allocations: 4 kB / 0.7984 GB, free: 2.961 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0005709/1.984, allocations: 0.5999 MB / 0.799 GB, free: 2.352 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005461/1.99, allocations: 2.141 MB / 0.8011 GB, free: 212 kB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01134/2.001, allocations: 6.206 MB / 0.8071 GB, free: 7.953 MB / 491.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009762/2.011, allocations: 3.623 MB / 0.8107 GB, free: 4.328 MB / 491.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001746/2.011, allocations: 40 kB / 0.8107 GB, free: 4.289 MB / 491.1 MB Notification: Performance of matching and sorting (n=888) (initialization): time 0.02859/2.04, allocations: 8.021 MB / 0.8185 GB, free: 12.26 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001879/2.04, allocations: 68.95 kB / 0.8186 GB, free: 12.19 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003502/2.04, allocations: 148 kB / 0.8188 GB, free: 12.05 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00787/2.048, allocations: 0.9399 MB / 0.8197 GB, free: 11.1 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01099/2.059, allocations: 1.56 MB / 0.8212 GB, free: 9.539 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0151/2.074, allocations: 7.077 MB / 0.8281 GB, free: 2.234 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007351/2.082, allocations: 235.4 kB / 0.8283 GB, free: 2.004 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001752/2.084, allocations: 411.9 kB / 0.8287 GB, free: 1.602 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * 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 () * 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 (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.002236/2.086, allocations: 492.3 kB / 0.8292 GB, free: 1.117 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/2.087, allocations: 406.8 kB / 0.8296 GB, free: 0.7148 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3682/2.455, allocations: 3.39 MB / 0.8329 GB, free: 119.7 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.272e-05/2.456, allocations: 23.16 kB / 0.8329 GB, free: 119.7 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-05/2.456, allocations: 7.75 kB / 0.8329 GB, free: 119.7 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.743e-05/2.456, allocations: 14.77 kB / 0.8329 GB, free: 119.7 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02982/2.485, allocations: 8.354 MB / 0.8411 GB, free: 119.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.364e-05/2.486, allocations: 1.125 kB / 0.8411 GB, free: 119.1 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003563/2.489, allocations: 347.5 kB / 0.8414 GB, free: 119.1 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0042/2.493, allocations: 0.6725 MB / 0.8421 GB, free: 119.1 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004909/2.494, allocations: 13.91 kB / 0.8421 GB, free: 119.1 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01227/2.506, allocations: 6.2 MB / 0.8481 GB, free: 116.6 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/2.506, allocations: 1.406 kB / 0.8482 GB, free: 116.6 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.016/2.522, allocations: 6.19 MB / 0.8542 GB, free: 115.4 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003106/2.525, allocations: 0.7066 MB / 0.8549 GB, free: 115.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001306/2.527, allocations: 3.688 kB / 0.8549 GB, free: 115.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003395/2.53, allocations: 82.73 kB / 0.855 GB, free: 115.2 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006979/2.531, allocations: 137 kB / 0.8551 GB, free: 115.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002509/2.531, allocations: 57.31 kB / 0.8552 GB, free: 115.1 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.006971/2.538, allocations: 2.503 MB / 0.8576 GB, free: 114.2 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.142e-06/2.538, allocations: 0 / 0.8576 GB, free: 114.2 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.008749/2.547, allocations: 1.026 MB / 0.8586 GB, free: 114.2 MB / 0.4952 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 (172): * Single equations (assignments): 167 * 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.000905/2.548, allocations: 147.7 kB / 0.8587 GB, free: 114.1 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01272/2.561, allocations: 5.401 MB / 0.864 GB, free: 112.4 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/2.561, allocations: 0 / 0.864 GB, free: 112.4 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.004927/2.566, allocations: 1.898 MB / 0.8659 GB, free: 111.6 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004189/2.57, allocations: 450.6 kB / 0.8663 GB, free: 111.4 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02782/2.598, allocations: 9.81 MB / 0.8759 GB, free: 107.8 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009193/2.607, allocations: 4.112 MB / 0.8799 GB, free: 106.3 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001888/2.609, allocations: 327.2 kB / 0.8802 GB, free: 106.3 MB / 0.4952 GB Notification: Performance of SimCode: time 1.463e-06/2.609, allocations: 0 / 0.8802 GB, free: 106.3 MB / 0.4952 GB Notification: Performance of Templates: time 0.1973/2.806, allocations: 109.7 MB / 0.9873 GB, free: 21.75 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches