Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.GearConstraint,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.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,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.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001582/0.001581, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001129/0.001128, allocations: 78.67 kB / 267.5 MB, free: 14.04 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.2752/0.2752, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.25e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5073/0.6251, allocations: 108.7 MB / 0.579 GB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.6255, allocations: 85.61 kB / 0.5791 GB, free: 11.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4487/1.074, allocations: 107.3 MB / 0.6838 GB, free: 7.617 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.074, allocations: 0 / 0.6838 GB, free: 7.617 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005163/1.075, allocations: 115.9 kB / 0.684 GB, free: 7.504 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: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.02402/1.099, allocations: 5.267 MB / 0.6891 GB, free: 2.168 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/1.099, allocations: 15.97 kB / 0.6891 GB, free: 2.152 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05257/1.152, allocations: 6.931 MB / 0.6959 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0268/1.178, allocations: 6.887 MB / 0.7026 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000677/1.179, allocations: 403.1 kB / 0.703 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003172/1.182, allocations: 0.5387 MB / 0.7035 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3938/1.576, allocations: 12.67 MB / 0.7159 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005013/1.577, allocations: 75.27 kB / 0.716 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002837/1.58, allocations: 260 kB / 0.7162 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003078/1.583, allocations: 1.132 MB / 0.7173 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03468/1.617, allocations: 10.29 MB / 0.7274 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08478/1.702, allocations: 57.21 MB / 0.7832 GB, free: 68.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0175/1.72, allocations: 4.368 MB / 0.7875 GB, free: 66.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004969/1.725, allocations: 2.384 MB / 0.7898 GB, free: 65.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02632/1.751, allocations: 9.962 MB / 0.7996 GB, free: 60.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.277e-05/1.751, allocations: 58.81 kB / 0.7996 GB, free: 60.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=192): time 6.783e-06/1.751, allocations: 0 / 0.7996 GB, free: 60.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=218): time 0.07497/1.826, allocations: 16.19 MB / 0.8154 GB, free: 54.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.686e-05/1.827, allocations: 203.5 kB / 0.8156 GB, free: 54.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/1.837, allocations: 4.212 MB / 0.8197 GB, free: 52.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005611/1.838, allocations: 56.27 kB / 0.8198 GB, free: 52.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003325/1.841, allocations: 3.635 MB / 0.8233 GB, free: 49.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0014/1.842, allocations: 0.835 MB / 0.8242 GB, free: 49.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/1.844, allocations: 133.2 kB / 0.8243 GB, free: 48.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005787/1.844, allocations: 0.584 MB / 0.8249 GB, free: 48.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005809/1.85, allocations: 2.196 MB / 0.827 GB, free: 47.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008575/1.859, allocations: 6.154 MB / 0.833 GB, free: 41.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008361/1.867, allocations: 3.642 MB / 0.8366 GB, free: 38.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001571/1.867, allocations: 40 kB / 0.8366 GB, free: 38.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.02467/1.892, allocations: 8.671 MB / 0.8451 GB, free: 30.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.892, allocations: 64 kB / 0.8451 GB, free: 30.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001885/1.892, allocations: 144 kB / 0.8453 GB, free: 30.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004391/1.897, allocations: 0.9361 MB / 0.8462 GB, free: 29.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009442/1.906, allocations: 1.512 MB / 0.8477 GB, free: 28.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/1.92, allocations: 7.41 MB / 0.8549 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00797/1.928, allocations: 363.5 kB / 0.8552 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00149/1.929, allocations: 406.8 kB / 0.8556 GB, free: 21.05 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 638 * 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 (798): * Single equations (assignments): 793 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001614/1.931, allocations: 0.5998 MB / 0.8562 GB, free: 20.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/1.932, allocations: 434.1 kB / 0.8566 GB, free: 20.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/1.943, allocations: 3.542 MB / 0.8601 GB, free: 17.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.235e-05/1.943, allocations: 24 kB / 0.8601 GB, free: 17.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.082e-05/1.943, allocations: 8 kB / 0.8601 GB, free: 17.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.006e-05/1.943, allocations: 11.58 kB / 0.8601 GB, free: 17.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02591/1.969, allocations: 9.238 MB / 0.8692 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.536e-05/1.969, allocations: 4 kB / 0.8692 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003319/1.972, allocations: 343 kB / 0.8695 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003754/1.976, allocations: 0.6909 MB / 0.8702 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003984/1.976, allocations: 39.09 kB / 0.8702 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/1.989, allocations: 6.55 MB / 0.8766 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.99, allocations: 0 / 0.8766 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02275/2.012, allocations: 6.544 MB / 0.883 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003061/2.015, allocations: 0.7457 MB / 0.8837 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001145/2.017, allocations: 35 kB / 0.8837 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00341/2.02, allocations: 111.1 kB / 0.8839 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006713/2.021, allocations: 131.6 kB / 0.884 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002321/2.021, allocations: 55.84 kB / 0.884 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008326/2.029, allocations: 2.969 MB / 0.8869 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.62e-07/2.029, allocations: 0 / 0.8869 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00848/2.038, allocations: 1.187 MB / 0.8881 GB, free: 8.938 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (169): * Single equations (assignments): 164 * 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.0009445/2.039, allocations: 179.8 kB / 0.8883 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01583/2.055, allocations: 5.642 MB / 0.8938 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/2.055, allocations: 0 / 0.8938 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005701/2.061, allocations: 1.951 MB / 0.8957 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004719/2.065, allocations: 0.5404 MB / 0.8962 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3976/2.463, allocations: 9.91 MB / 0.9059 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01197/2.475, allocations: 4.116 MB / 0.9099 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002101/2.477, allocations: 336.2 kB / 0.9102 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.533e-06/2.477, allocations: 0 / 0.9102 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.2321/2.709, allocations: 112.2 MB / 1.02 GB, free: 55.97 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches