Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 177.3 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 86.77 kB / 292.1 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.317/0.317, allocations: 44.22 MB / 387.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003063, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3549, allocations: 61.9 MB / 0.5096 GB, free: 38.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.5007, allocations: 111.6 MB / 0.6185 GB, free: 15.49 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.501, allocations: 75.97 kB / 0.6186 GB, free: 15.42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6389/1.14, allocations: 162.2 MB / 0.7769 GB, free: 68.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.14, allocations: 3.938 kB / 0.777 GB, free: 68.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005424/1.141, allocations: 156 kB / 0.7771 GB, free: 68.02 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: 3026 * Number of variables: 3026 Notification: Performance of Generate backend data structure: time 0.02721/1.168, allocations: 7.82 MB / 0.7847 GB, free: 60.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.168, allocations: 12.02 kB / 0.7847 GB, free: 60.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03657/1.204, allocations: 10.01 MB / 0.7945 GB, free: 50.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02303/1.228, allocations: 8.063 MB / 0.8024 GB, free: 41.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009693/1.229, allocations: 0.6057 MB / 0.803 GB, free: 41.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006013/1.235, allocations: 0.8005 MB / 0.8038 GB, free: 40.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05012/1.285, allocations: 20.08 MB / 0.8234 GB, free: 18.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006529/1.285, allocations: 95.11 kB / 0.8235 GB, free: 18.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004705/1.29, allocations: 387.7 kB / 0.8238 GB, free: 18.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003/1.293, allocations: 2.049 MB / 0.8258 GB, free: 16.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03604/1.329, allocations: 17.64 MB / 0.8431 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4191/1.748, allocations: 83.52 MB / 0.9246 GB, free: 41.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01541/1.764, allocations: 7.818 MB / 0.9323 GB, free: 40.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003702/1.764, allocations: 58.69 kB / 0.9323 GB, free: 40.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/1.764, allocations: 76.48 kB / 0.9324 GB, free: 40.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=429): time 1.094e-05/1.764, allocations: 0 / 0.9324 GB, free: 40.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=476): time 0.1007/1.865, allocations: 40.34 MB / 0.9718 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.865, allocations: 237 kB / 0.972 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.875, allocations: 5.641 MB / 0.9775 GB, free: 30.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009505/1.876, allocations: 88.67 kB / 0.9776 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00327/1.88, allocations: 5.578 MB / 0.9831 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00218/1.882, allocations: 1.734 MB / 0.9848 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006001/1.882, allocations: 214.7 kB / 0.985 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005213/1.883, allocations: 0.7831 MB / 0.9857 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005839/1.889, allocations: 4.702 MB / 0.9903 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008698/1.898, allocations: 10.74 MB / 1.001 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009154/1.907, allocations: 7.084 MB / 1.008 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001759/1.907, allocations: 61.56 kB / 1.008 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.02811/1.935, allocations: 16.61 MB / 1.024 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003103/1.935, allocations: 96 kB / 1.024 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004725/1.936, allocations: 212 kB / 1.024 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004345/1.94, allocations: 1.715 MB / 1.026 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008783/1.949, allocations: 2.52 MB / 1.028 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01802/1.967, allocations: 14.36 MB / 1.042 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009232/1.976, allocations: 0.6391 MB / 1.043 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002598/1.979, allocations: 0.6222 MB / 1.044 GB, free: 2.098 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.01478/1.994, allocations: 4.329 MB / 1.048 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002387/1.996, allocations: 0.6015 MB / 1.048 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01932/2.016, allocations: 9.214 MB / 1.057 GB, free: 6.766 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001315/2.016, allocations: 95.69 kB / 1.058 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.973e-05/2.016, allocations: 13.38 kB / 1.058 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.293e-05/2.016, allocations: 21.95 kB / 1.058 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04562/2.061, allocations: 21.02 MB / 1.078 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.104e-05/2.062, allocations: 12 kB / 1.078 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003532/2.065, allocations: 0.7496 MB / 1.079 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003763/2.069, allocations: 1.361 MB / 1.08 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006531/2.07, allocations: 95.7 kB / 1.08 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2841/2.354, allocations: 13.22 MB / 1.093 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-05/2.354, allocations: 15.22 kB / 1.093 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02126/2.375, allocations: 16.51 MB / 1.109 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001804/2.377, allocations: 0.6247 MB / 1.11 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001138/2.378, allocations: 81.66 kB / 1.11 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002801/2.381, allocations: 291.3 kB / 1.11 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007132/2.381, allocations: 295.4 kB / 1.111 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003487/2.382, allocations: 123.1 kB / 1.111 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.006371/2.388, allocations: 3.926 MB / 1.115 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/2.388, allocations: 0 / 1.115 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01096/2.399, allocations: 1.974 MB / 1.116 GB, free: 127.4 MB / 0.5573 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.001095/2.4, allocations: 247.1 kB / 1.117 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02115/2.421, allocations: 11.65 MB / 1.128 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-05/2.422, allocations: 6.594 kB / 1.128 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007233/2.429, allocations: 4.697 MB / 1.133 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005205/2.434, allocations: 0.7268 MB / 1.133 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03844/2.472, allocations: 23.2 MB / 1.156 GB, free: 112 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01137/2.484, allocations: 6.127 MB / 1.162 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01024/2.494, allocations: 4.001 MB / 1.166 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002174/2.496, allocations: 436.7 kB / 1.166 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.463e-06/2.496, allocations: 0 / 1.166 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.1212/2.618, allocations: 67.28 MB / 1.232 GB, free: 63.24 MB / 0.5573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches