Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.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) 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(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 181.8 kB / 8.365 MB, free: 0.7109 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.059/2.059, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001072/0.001072, allocations: 95.3 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.992e-05/1.99e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.339, allocations: 47.57 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.5073, allocations: 97.81 MB / 460.2 MB, free: 4.477 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/0.5077, allocations: 87.95 kB / 460.2 MB, free: 4.391 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7673/1.275, allocations: 104.7 MB / 0.5517 GB, free: 87.47 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.945e-06/1.275, allocations: 0 / 0.5517 GB, free: 87.47 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0004313/1.276, allocations: 106.2 kB / 0.5518 GB, free: 87.47 MB / 395.1 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.02166/1.297, allocations: 5.264 MB / 0.557 GB, free: 84.01 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.297, allocations: 11.03 kB / 0.557 GB, free: 84 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04994/1.347, allocations: 6.936 MB / 0.5637 GB, free: 77.11 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02554/1.373, allocations: 6.825 MB / 0.5704 GB, free: 70.3 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/1.373, allocations: 172 kB / 0.5706 GB, free: 70.13 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002985/1.376, allocations: 331.8 kB / 0.5709 GB, free: 69.8 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01964/1.396, allocations: 7.557 MB / 0.5783 GB, free: 62.25 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03036/1.426, allocations: 11.33 MB / 0.5893 GB, free: 49.78 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004171/1.427, allocations: 79.33 kB / 0.5894 GB, free: 49.7 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002656/1.43, allocations: 32 kB / 0.5894 GB, free: 49.67 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002528/1.432, allocations: 1.129 MB / 0.5905 GB, free: 48.54 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08508/1.517, allocations: 56.04 MB / 0.6453 GB, free: 6.895 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007543/1.525, allocations: 3.504 MB / 0.6487 GB, free: 3.242 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005037/1.53, allocations: 2.272 MB / 0.6509 GB, free: 0.957 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006795/1.531, allocations: 339.2 kB / 0.6512 GB, free: 0.582 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.881e-05/1.531, allocations: 59.86 kB / 0.6513 GB, free: 0.5156 MB / 411.1 MB Notification: Performance of pre-optimization done (n=201): time 5.921e-06/1.531, allocations: 0 / 0.6513 GB, free: 0.5156 MB / 411.1 MB Notification: Performance of matching and sorting (n=228): time 0.3678/1.899, allocations: 19.95 MB / 0.6708 GB, free: 92.83 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/1.899, allocations: 201.9 kB / 0.671 GB, free: 92.61 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/1.909, allocations: 3.676 MB / 0.6746 GB, free: 92.23 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006042/1.91, allocations: 29.52 kB / 0.6746 GB, free: 92.2 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003767/1.914, allocations: 3.734 MB / 0.6782 GB, free: 90 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001576/1.915, allocations: 0.8335 MB / 0.679 GB, free: 89.51 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009356/1.916, allocations: 7.562 kB / 0.6791 GB, free: 89.51 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0007471/1.917, allocations: 0.6036 MB / 0.6796 GB, free: 89.18 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005565/1.923, allocations: 2.175 MB / 0.6818 GB, free: 88.97 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008724/1.931, allocations: 6.254 MB / 0.6879 GB, free: 82.68 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008257/1.94, allocations: 3.66 MB / 0.6914 GB, free: 81.58 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002216/1.94, allocations: 44.03 kB / 0.6915 GB, free: 81.58 MB / 411.1 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.0242/1.964, allocations: 8.104 MB / 0.6994 GB, free: 79.08 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/1.964, allocations: 69.38 kB / 0.6995 GB, free: 79.08 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002368/1.965, allocations: 144.8 kB / 0.6996 GB, free: 79.08 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004554/1.969, allocations: 0.9612 MB / 0.7005 GB, free: 78.89 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009956/1.979, allocations: 1.581 MB / 0.7021 GB, free: 78.7 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/1.993, allocations: 7.241 MB / 0.7092 GB, free: 74.19 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00804/2.001, allocations: 240.8 kB / 0.7094 GB, free: 74.16 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00188/2.003, allocations: 422.9 kB / 0.7098 GB, free: 74.11 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * 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 (835): * Single equations (assignments): 830 * 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.002678/2.005, allocations: 482.1 kB / 0.7103 GB, free: 73.71 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/2.007, allocations: 406 kB / 0.7106 GB, free: 73.5 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/2.018, allocations: 3.482 MB / 0.714 GB, free: 71.98 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.548e-05/2.018, allocations: 27.95 kB / 0.7141 GB, free: 71.95 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.373e-05/2.018, allocations: 8 kB / 0.7141 GB, free: 71.95 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.197e-05/2.018, allocations: 14.5 kB / 0.7141 GB, free: 71.94 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02728/2.045, allocations: 8.555 MB / 0.7224 GB, free: 64.97 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.212e-05/2.045, allocations: 0 / 0.7224 GB, free: 64.97 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003467/2.049, allocations: 362.8 kB / 0.7228 GB, free: 64.68 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003865/2.053, allocations: 0.6755 MB / 0.7235 GB, free: 64.2 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005784/2.053, allocations: 6.672 kB / 0.7235 GB, free: 64.2 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01672/2.07, allocations: 6.199 MB / 0.7295 GB, free: 58.4 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-05/2.07, allocations: 11.41 kB / 0.7295 GB, free: 58.39 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02073/2.091, allocations: 6.329 MB / 0.7357 GB, free: 52.72 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003843/2.095, allocations: 0.7113 MB / 0.7364 GB, free: 52.04 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00184/2.097, allocations: 4 kB / 0.7364 GB, free: 52.04 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005703/2.103, allocations: 80.77 kB / 0.7365 GB, free: 51.99 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001105/2.104, allocations: 146.2 kB / 0.7366 GB, free: 51.9 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003679/2.104, allocations: 58.3 kB / 0.7367 GB, free: 51.84 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.00944/2.114, allocations: 2.495 MB / 0.7391 GB, free: 49.67 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.493e-06/2.114, allocations: 0 / 0.7391 GB, free: 49.67 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.01369/2.127, allocations: 1.028 MB / 0.7401 GB, free: 48.65 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (179): * Single equations (assignments): 174 * 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.001105/2.129, allocations: 163.6 kB / 0.7403 GB, free: 48.5 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.01955/2.148, allocations: 5.475 MB / 0.7456 GB, free: 43.53 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/2.148, allocations: 0 / 0.7456 GB, free: 43.53 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007484/2.156, allocations: 1.942 MB / 0.7475 GB, free: 41.76 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006387/2.162, allocations: 442 kB / 0.7479 GB, free: 41.39 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03859/2.201, allocations: 9.895 MB / 0.7576 GB, free: 32.61 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009348/2.21, allocations: 4.114 MB / 0.7616 GB, free: 29.54 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/2.212, allocations: 332.5 kB / 0.7619 GB, free: 29.22 MB / 411.1 MB Notification: Performance of SimCode: time 1.513e-06/2.212, allocations: 0 / 0.7619 GB, free: 29.22 MB / 411.1 MB Notification: Performance of Templates: time 0.5667/2.779, allocations: 110.2 MB / 0.8695 GB, free: 73.85 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches