Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009855/0.0009855, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 225.6 MB / 234.8 MB, free: 3.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007866/0.0007866, allocations: 94.64 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1898/0.1898, allocations: 45.15 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.882e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4373/0.5562, allocations: 111.7 MB / 0.6135 GB, free: 7.176 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.5565, allocations: 82.22 kB / 0.6136 GB, free: 7.137 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6813/1.238, allocations: 161.1 MB / 0.7709 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.502e-06/1.238, allocations: 1.031 kB / 0.7709 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005885/1.238, allocations: 153.2 kB / 0.771 GB, free: 105.8 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3026 * Number of variables: 3026 Notification: Performance of Generate backend data structure: time 0.02582/1.264, allocations: 7.382 MB / 0.7782 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.264, allocations: 10.06 kB / 0.7782 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03829/1.303, allocations: 10.05 MB / 0.788 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01806/1.321, allocations: 7.38 MB / 0.7952 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004709/1.321, allocations: 262.7 kB / 0.7955 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003777/1.325, allocations: 483.1 kB / 0.796 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02034/1.345, allocations: 12.78 MB / 0.8084 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03486/1.38, allocations: 18.37 MB / 0.8264 GB, free: 97.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004126/1.381, allocations: 93.05 kB / 0.8265 GB, free: 97.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002768/1.383, allocations: 49.7 kB / 0.8265 GB, free: 97.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002346/1.386, allocations: 2.049 MB / 0.8285 GB, free: 97.33 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08413/1.47, allocations: 79.64 MB / 0.9063 GB, free: 35.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008244/1.478, allocations: 7.846 MB / 0.9139 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005413/1.484, allocations: 4.819 MB / 0.9186 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003312/1.484, allocations: 69.39 kB / 0.9187 GB, free: 23.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/1.484, allocations: 73.11 kB / 0.9188 GB, free: 22.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=431): time 1.335e-05/1.484, allocations: 0 / 0.9188 GB, free: 22.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=479): time 0.08049/1.565, allocations: 38.62 MB / 0.9565 GB, free: 6.473 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/1.565, allocations: 226.8 kB / 0.9567 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01072/1.576, allocations: 5.057 MB / 0.9617 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001082/1.577, allocations: 25.7 kB / 0.9617 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.2932/1.87, allocations: 5.715 MB / 0.9673 GB, free: 112.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002717/1.873, allocations: 1.698 MB / 0.9689 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/1.874, allocations: 0 / 0.9689 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0007027/1.875, allocations: 0.8089 MB / 0.9697 GB, free: 111 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006966/1.881, allocations: 4.495 MB / 0.9741 GB, free: 111 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01174/1.893, allocations: 10.86 MB / 0.9847 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009973/1.903, allocations: 7.014 MB / 0.9916 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002163/1.904, allocations: 65.88 kB / 0.9916 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1517) (initialization): time 0.02622/1.93, allocations: 15.39 MB / 1.007 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/1.93, allocations: 100.7 kB / 1.007 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002195/1.93, allocations: 228.1 kB / 1.007 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003675/1.934, allocations: 1.71 MB / 1.009 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008662/1.943, allocations: 2.647 MB / 1.011 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/1.955, allocations: 13.24 MB / 1.024 GB, free: 96.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008212/1.963, allocations: 457.5 kB / 1.025 GB, free: 96.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002412/1.966, allocations: 0.6538 MB / 1.025 GB, free: 96.13 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1028 * Number of states: 0 () * Number of discrete variables: 53 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],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 (1393): * Single equations (assignments): 1380 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 42,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003409/1.969, allocations: 0.6733 MB / 1.026 GB, free: 95.72 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/1.971, allocations: 0.5709 MB / 1.026 GB, free: 95.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01608/1.987, allocations: 8.792 MB / 1.035 GB, free: 93.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000112/1.987, allocations: 83.98 kB / 1.035 GB, free: 93.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.025e-05/1.987, allocations: 10.19 kB / 1.035 GB, free: 93.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.166e-05/1.987, allocations: 17.72 kB / 1.035 GB, free: 93.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03658/2.024, allocations: 19.09 MB / 1.054 GB, free: 86.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.805e-05/2.024, allocations: 14.55 kB / 1.054 GB, free: 86.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003432/2.027, allocations: 0.7483 MB / 1.055 GB, free: 86.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003415/2.031, allocations: 1.342 MB / 1.056 GB, free: 86.43 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006599/2.031, allocations: 22.12 kB / 1.056 GB, free: 86.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/2.042, allocations: 12.14 MB / 1.068 GB, free: 78.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.561e-05/2.043, allocations: 14.81 kB / 1.068 GB, free: 78.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01895/2.061, allocations: 16.01 MB / 1.083 GB, free: 67.27 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/2.063, allocations: 0.5852 MB / 1.084 GB, free: 66.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001591/2.065, allocations: 19.14 kB / 1.084 GB, free: 66.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003422/2.068, allocations: 230.7 kB / 1.084 GB, free: 66.54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000817/2.069, allocations: 289.4 kB / 1.084 GB, free: 66.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005181/2.069, allocations: 123.8 kB / 1.085 GB, free: 66.23 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005875/2.075, allocations: 3.357 MB / 1.088 GB, free: 63.33 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.11e-07/2.075, allocations: 0 / 1.088 GB, free: 63.33 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01134/2.087, allocations: 1.713 MB / 1.09 GB, free: 61.62 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (362): * Single equations (assignments): 349 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 39,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001461/2.088, allocations: 186.2 kB / 1.09 GB, free: 61.45 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01597/2.104, allocations: 11.08 MB / 1.101 GB, free: 51.32 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/2.104, allocations: 5.844 kB / 1.101 GB, free: 51.31 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006049/2.11, allocations: 4.5 MB / 1.105 GB, free: 47.19 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003809/2.114, allocations: 0.5466 MB / 1.105 GB, free: 46.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02978/2.144, allocations: 16.64 MB / 1.122 GB, free: 31.68 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009823/2.154, allocations: 6.129 MB / 1.128 GB, free: 27.15 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01089/2.165, allocations: 4.19 MB / 1.132 GB, free: 24.49 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002314/2.167, allocations: 425 kB / 1.132 GB, free: 24.09 MB / 0.5417 GB Notification: Performance of SimCode: time 1.062e-06/2.167, allocations: 0 / 1.132 GB, free: 24.09 MB / 0.5417 GB Notification: Performance of Templates: time 0.4032/2.57, allocations: 60.24 MB / 1.191 GB, free: 107 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/GearConstraint/GearConstraint.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches