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.001434/0.001434, allocations: 197.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 227.2 MB / 245 MB, free: 7.551 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008903/0.0008903, allocations: 106.8 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2989/0.2989, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002475/0.0002475, allocations: 12 kB / 468.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3262, allocations: 63.23 MB / 0.5192 GB, free: 43.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.46, allocations: 112.5 MB / 0.629 GB, free: 9.133 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.4603, allocations: 85.58 kB / 0.6291 GB, free: 9.051 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6142/1.074, allocations: 164.3 MB / 0.7896 GB, free: 79.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.064e-06/1.075, allocations: 0 / 0.7896 GB, free: 79.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003301/1.075, allocations: 163.3 kB / 0.7897 GB, free: 79.77 MB / 0.4948 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.01974/1.095, allocations: 7.868 MB / 0.7974 GB, free: 74.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/1.095, allocations: 11.12 kB / 0.7974 GB, free: 74.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03521/1.13, allocations: 10.05 MB / 0.8072 GB, free: 66.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01786/1.148, allocations: 7.413 MB / 0.8145 GB, free: 59.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004309/1.148, allocations: 0.6057 MB / 0.8151 GB, free: 58.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00321/1.151, allocations: 0.7966 MB / 0.8158 GB, free: 57.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02913/1.181, allocations: 20.09 MB / 0.8355 GB, free: 36.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001884/1.181, allocations: 91.11 kB / 0.8355 GB, free: 36.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009485/1.182, allocations: 383.8 kB / 0.8359 GB, free: 35.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001791/1.184, allocations: 2.049 MB / 0.8379 GB, free: 33.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02602/1.21, allocations: 17.65 MB / 0.8551 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3334/1.543, allocations: 83.52 MB / 0.9367 GB, free: 53.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01445/1.558, allocations: 7.813 MB / 0.9443 GB, free: 52.67 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002908/1.558, allocations: 61.38 kB / 0.9444 GB, free: 52.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/1.558, allocations: 75.31 kB / 0.9445 GB, free: 52.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=429): time 7.464e-06/1.558, allocations: 0 / 0.9445 GB, free: 52.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=476): time 0.08622/1.644, allocations: 40.35 MB / 0.9839 GB, free: 46.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/1.644, allocations: 224.6 kB / 0.9841 GB, free: 46.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008021/1.652, allocations: 5.647 MB / 0.9896 GB, free: 44.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008351/1.653, allocations: 91.05 kB / 0.9897 GB, free: 44.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002746/1.656, allocations: 5.575 MB / 0.9951 GB, free: 40.65 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001747/1.658, allocations: 1.733 MB / 0.9968 GB, free: 39.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005624/1.658, allocations: 217.8 kB / 0.997 GB, free: 39.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000458/1.659, allocations: 0.7774 MB / 0.9978 GB, free: 38.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005531/1.664, allocations: 4.705 MB / 1.002 GB, free: 37.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007882/1.672, allocations: 10.73 MB / 1.013 GB, free: 27.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00898/1.681, allocations: 7.082 MB / 1.02 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000152/1.681, allocations: 60.91 kB / 1.02 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.02974/1.711, allocations: 16.61 MB / 1.036 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002621/1.711, allocations: 100.1 kB / 1.036 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004351/1.712, allocations: 211.2 kB / 1.036 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004224/1.716, allocations: 1.71 MB / 1.038 GB, free: 18.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008162/1.724, allocations: 2.52 MB / 1.04 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/1.738, allocations: 14.37 MB / 1.055 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00805/1.746, allocations: 0.6512 MB / 1.055 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002017/1.748, allocations: 0.6121 MB / 1.056 GB, free: 1.492 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 962 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1324): * Single equations (assignments): 1311 * 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.0149/1.763, allocations: 4.556 MB / 1.06 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001648/1.764, allocations: 0.6055 MB / 1.061 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01696/1.781, allocations: 9.216 MB / 1.07 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001234/1.781, allocations: 94.06 kB / 1.07 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.621e-05/1.781, allocations: 8 kB / 1.07 GB, free: 6.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-05/1.781, allocations: 22 kB / 1.07 GB, free: 6.676 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04716/1.829, allocations: 21.01 MB / 1.09 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.301e-05/1.829, allocations: 12 kB / 1.09 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003521/1.832, allocations: 0.7448 MB / 1.091 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003743/1.836, allocations: 1.368 MB / 1.093 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007112/1.837, allocations: 86.73 kB / 1.093 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01552/1.852, allocations: 13.24 MB / 1.106 GB, free: 7.609 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.802e-05/1.852, allocations: 19.69 kB / 1.106 GB, free: 7.594 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2633/2.116, allocations: 16.66 MB / 1.122 GB, free: 137.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/2.117, allocations: 0.6249 MB / 1.122 GB, free: 137.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001061/2.118, allocations: 86.81 kB / 1.123 GB, free: 137.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002611/2.121, allocations: 291.8 kB / 1.123 GB, free: 137.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000592/2.122, allocations: 289.2 kB / 1.123 GB, free: 137.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002876/2.122, allocations: 121.3 kB / 1.123 GB, free: 137.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005768/2.128, allocations: 3.927 MB / 1.127 GB, free: 137.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.41e-07/2.128, allocations: 0 / 1.127 GB, free: 137.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009206/2.137, allocations: 1.978 MB / 1.129 GB, free: 137.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * 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 (359): * Single equations (assignments): 346 * 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.0007224/2.138, allocations: 253 kB / 1.129 GB, free: 137.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0163/2.154, allocations: 11.65 MB / 1.141 GB, free: 136.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/2.154, allocations: 2.562 kB / 1.141 GB, free: 136.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006703/2.161, allocations: 4.702 MB / 1.145 GB, free: 136 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004686/2.165, allocations: 0.72 MB / 1.146 GB, free: 135.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04041/2.206, allocations: 23.2 MB / 1.169 GB, free: 127.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01127/2.217, allocations: 6.123 MB / 1.174 GB, free: 125.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0102/2.227, allocations: 4.009 MB / 1.178 GB, free: 125.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002205/2.23, allocations: 433.1 kB / 1.179 GB, free: 125.1 MB / 0.573 GB Notification: Performance of SimCode: time 1.283e-06/2.23, allocations: 0 / 1.179 GB, free: 125.1 MB / 0.573 GB Notification: Performance of Templates: time 0.1085/2.338, allocations: 67.28 MB / 1.245 GB, free: 90.93 MB / 0.573 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