Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 181.9 kB / 16.4 MB, free: 5.723 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.031/2.031, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001124/0.001124, allocations: 91.56 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5005/0.5005, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004872, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1228, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4945/0.6174, allocations: 110.4 MB / 0.5866 GB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.6178, allocations: 79.95 kB / 0.5866 GB, free: 8.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9784/1.596, allocations: 164.1 MB / 0.7469 GB, free: 79.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.756e-06/1.596, allocations: 0 / 0.7469 GB, free: 79.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000487/1.597, allocations: 164.2 kB / 0.747 GB, free: 79.24 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: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.03338/1.63, allocations: 7.994 MB / 0.7548 GB, free: 75.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.63, allocations: 7.875 kB / 0.7548 GB, free: 75.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.074/1.704, allocations: 10.06 MB / 0.7647 GB, free: 73.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03027/1.735, allocations: 8.462 MB / 0.7729 GB, free: 69.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008322/1.735, allocations: 0.6222 MB / 0.7735 GB, free: 69.67 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005149/1.741, allocations: 0.8273 MB / 0.7743 GB, free: 69.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05921/1.8, allocations: 20.56 MB / 0.7944 GB, free: 51.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004735/1.8, allocations: 95.11 kB / 0.7945 GB, free: 51.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00385/1.804, allocations: 388.8 kB / 0.7949 GB, free: 51.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003904/1.808, allocations: 2.108 MB / 0.7969 GB, free: 49.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05049/1.859, allocations: 18.07 MB / 0.8146 GB, free: 31.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5345/2.393, allocations: 85.16 MB / 0.8977 GB, free: 51.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02768/2.421, allocations: 8.052 MB / 0.9056 GB, free: 50.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006006/2.422, allocations: 63.03 kB / 0.9057 GB, free: 50.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.03e-05/2.422, allocations: 80.78 kB / 0.9057 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=450): time 9.428e-06/2.422, allocations: 0 / 0.9057 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=501): time 0.1747/2.596, allocations: 44.12 MB / 0.9488 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/2.597, allocations: 229.3 kB / 0.9491 GB, free: 42.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01279/2.609, allocations: 5.753 MB / 0.9547 GB, free: 40.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001174/2.611, allocations: 94.27 kB / 0.9548 GB, free: 40.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004586/2.615, allocations: 5.525 MB / 0.9602 GB, free: 36.67 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002901/2.618, allocations: 1.82 MB / 0.9619 GB, free: 35.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001692/2.62, allocations: 224.3 kB / 0.9621 GB, free: 35.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001012/2.621, allocations: 0.8072 MB / 0.9629 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01247/2.633, allocations: 4.909 MB / 0.9677 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01658/2.65, allocations: 11.07 MB / 0.9785 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01665/2.667, allocations: 7.356 MB / 0.9857 GB, free: 20.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002154/2.667, allocations: 65.02 kB / 0.9858 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1490) (initialization): time 0.05006/2.717, allocations: 16.98 MB / 1.002 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002539/2.717, allocations: 99.72 kB / 1.002 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005629/2.718, allocations: 211 kB / 1.003 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/2.73, allocations: 1.719 MB / 1.004 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02408/2.754, allocations: 2.609 MB / 1.007 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04339/2.797, allocations: 14.38 MB / 1.021 GB, free: 44 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02397/2.821, allocations: 0.7697 MB / 1.022 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004439/2.826, allocations: 0.6345 MB / 1.022 GB, free: 15.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 979 * Number of states: 0 () * Number of discrete variables: 51 (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.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 (1366): * Single equations (assignments): 1353 * 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.01753/2.844, allocations: 4.2 MB / 1.026 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002035/2.846, allocations: 0.6169 MB / 1.027 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0323/2.878, allocations: 9.725 MB / 1.037 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002239/2.878, allocations: 97.56 kB / 1.037 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.594e-05/2.878, allocations: 8 kB / 1.037 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001139/2.878, allocations: 20.91 kB / 1.037 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07388/2.952, allocations: 21.84 MB / 1.058 GB, free: 0.7344 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000122/2.952, allocations: 12 kB / 1.058 GB, free: 0.7227 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01087/2.963, allocations: 0.7943 MB / 1.059 GB, free: 92 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007485/2.971, allocations: 1.362 MB / 1.06 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001276/2.972, allocations: 97.42 kB / 1.06 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02658/2.999, allocations: 13.26 MB / 1.073 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.778e-05/2.999, allocations: 15.94 kB / 1.073 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4243/3.423, allocations: 17.31 MB / 1.09 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005421/3.429, allocations: 1.384 MB / 1.091 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002372/3.431, allocations: 91.53 kB / 1.091 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006799/3.438, allocations: 312.6 kB / 1.092 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001813/3.44, allocations: 302 kB / 1.092 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005539/3.44, allocations: 127.2 kB / 1.092 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01071/3.451, allocations: 4.007 MB / 1.096 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.11e-07/3.451, allocations: 0 / 1.096 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01408/3.465, allocations: 2.042 MB / 1.098 GB, free: 137.2 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 (385): * Single equations (assignments): 372 * 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.001693/3.467, allocations: 256.8 kB / 1.098 GB, free: 137.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03048/3.497, allocations: 12.17 MB / 1.11 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/3.497, allocations: 1.156 kB / 1.11 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01258/3.51, allocations: 4.938 MB / 1.115 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006448/3.517, allocations: 0.7253 MB / 1.116 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06159/3.578, allocations: 24.93 MB / 1.14 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01556/3.594, allocations: 6.296 MB / 1.146 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004103/3.598, allocations: 0.5299 MB / 1.147 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of SimCode: time 8.41e-07/3.598, allocations: 0 / 1.147 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.8505/4.448, allocations: 258.3 MB / 1.399 GB, free: 79.95 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/GearConstraint/GearConstraint.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches