Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.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.Parts.Rotor1D.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_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.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_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 198.4 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 226.5 MB / 244.1 MB, free: 8.105 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008315/0.0008316, allocations: 97.34 kB / 296.1 MB, free: 6.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2875/0.2875, allocations: 44.83 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002567, allocations: 12 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2776, allocations: 62.95 MB / 0.5165 GB, free: 37.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.4036, allocations: 110.8 MB / 0.6247 GB, free: 10.61 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.404, allocations: 91.94 kB / 0.6247 GB, free: 10.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4406/0.8446, allocations: 104 MB / 0.7263 GB, free: 96.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.8446, allocations: 0 / 0.7263 GB, free: 96.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002072/0.8448, allocations: 100.7 kB / 0.7264 GB, free: 96.22 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01279/0.8576, allocations: 5.428 MB / 0.7317 GB, free: 93.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.8577, allocations: 7.094 kB / 0.7318 GB, free: 93.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01963/0.8773, allocations: 5.286 MB / 0.7369 GB, free: 92.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.8882, allocations: 5.165 MB / 0.742 GB, free: 90.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002874/0.8885, allocations: 394.1 kB / 0.7423 GB, free: 90.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001938/0.8905, allocations: 0.515 MB / 0.7428 GB, free: 90.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02006/0.9105, allocations: 12.22 MB / 0.7548 GB, free: 82.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000204/0.9108, allocations: 72.5 kB / 0.7548 GB, free: 82.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007929/0.9116, allocations: 251 kB / 0.7551 GB, free: 82.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001102/0.9127, allocations: 1.069 MB / 0.7561 GB, free: 82.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01635/0.9291, allocations: 9.907 MB / 0.7658 GB, free: 75.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04814/0.9772, allocations: 55.5 MB / 0.82 GB, free: 18.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008807/0.9861, allocations: 4.193 MB / 0.8241 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00246/0.9886, allocations: 2.261 MB / 0.8263 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01254/1.001, allocations: 9.282 MB / 0.8354 GB, free: 2.102 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/1.001, allocations: 47.56 kB / 0.8354 GB, free: 2.047 MB / 490.7 MB Notification: Performance of pre-optimization done (n=171): time 5.119e-06/1.001, allocations: 3.938 kB / 0.8354 GB, free: 2.043 MB / 490.7 MB Notification: Performance of matching and sorting (n=197): time 0.04595/1.047, allocations: 17.45 MB / 0.8524 GB, free: 484 kB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/1.047, allocations: 201.2 kB / 0.8526 GB, free: 240 kB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009297/1.057, allocations: 4.659 MB / 0.8572 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004134/1.057, allocations: 57.7 kB / 0.8572 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002992/1.06, allocations: 3.658 MB / 0.8608 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009424/1.061, allocations: 0.7559 MB / 0.8616 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005442/1.062, allocations: 128 kB / 0.8617 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005116/1.062, allocations: 0.5706 MB / 0.8622 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003577/1.066, allocations: 2.089 MB / 0.8643 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006069/1.072, allocations: 5.958 MB / 0.8701 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/1.082, allocations: 8.778 MB / 0.8787 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/1.082, allocations: 44 kB / 0.8787 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.2423/1.325, allocations: 8.508 MB / 0.887 GB, free: 128 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.011e-05/1.325, allocations: 66.44 kB / 0.8871 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/1.325, allocations: 139.8 kB / 0.8872 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002192/1.327, allocations: 0.911 MB / 0.8881 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004054/1.331, allocations: 1.433 MB / 0.8895 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007366/1.338, allocations: 7.427 MB / 0.8968 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005237/1.344, allocations: 339.2 kB / 0.8971 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001283/1.345, allocations: 385 kB / 0.8974 GB, free: 125.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 47 (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 (760): * Single equations (assignments): 755 * 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.005155/1.35, allocations: 2.489 MB / 0.8999 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009191/1.351, allocations: 414.2 kB / 0.9003 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005726/1.357, allocations: 3.223 MB / 0.9034 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.859e-05/1.357, allocations: 21.12 kB / 0.9034 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/1.357, allocations: 7.719 kB / 0.9034 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/1.357, allocations: 15.08 kB / 0.9035 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/1.373, allocations: 8.596 MB / 0.9119 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/1.373, allocations: 4.25 kB / 0.9119 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/1.375, allocations: 299.4 kB / 0.9121 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0022/1.377, allocations: 0.6898 MB / 0.9128 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/1.377, allocations: 36.47 kB / 0.9129 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00678/1.384, allocations: 6.57 MB / 0.9193 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/1.384, allocations: 7.375 kB / 0.9193 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007612/1.392, allocations: 5.673 MB / 0.9248 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.393, allocations: 449.5 kB / 0.9252 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007064/1.394, allocations: 30.34 kB / 0.9253 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/1.395, allocations: 108.5 kB / 0.9254 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/1.395, allocations: 114 kB / 0.9255 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/1.396, allocations: 52.14 kB / 0.9255 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004361/1.4, allocations: 2.935 MB / 0.9284 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/1.4, allocations: 0 / 0.9284 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005722/1.406, allocations: 1.136 MB / 0.9295 GB, free: 113.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (147): * Single equations (assignments): 142 * 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.0004345/1.406, allocations: 182.4 kB / 0.9297 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007605/1.414, allocations: 5.357 MB / 0.9349 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.414, allocations: 1.781 kB / 0.9349 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002521/1.416, allocations: 1.811 MB / 0.9367 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004523/1.421, allocations: 0.5459 MB / 0.9372 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02197/1.443, allocations: 13.39 MB / 0.9503 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004062/1.447, allocations: 3.863 MB / 0.9541 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/1.448, allocations: 319 kB / 0.9544 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.332e-06/1.448, allocations: 2.156 kB / 0.9544 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.1263/1.574, allocations: 111.7 MB / 1.063 GB, free: 4.508 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches