Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.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.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001656/0.001656, allocations: 180.5 kB / 17.41 MB, free: 4.41 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.406/2.406, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.001094/0.001094, allocations: 82.42 kB / 271.9 MB, free: 8.258 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.5908/0.5908, allocations: 43.55 MB / 363.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006596/0.0006598, allocations: 12 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2312, allocations: 58.86 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.797/1.028, allocations: 109.7 MB / 0.5871 GB, free: 8.668 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004531/1.029, allocations: 95.88 kB / 0.5872 GB, free: 8.574 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.635/2.664, allocations: 281.6 MB / 0.8622 GB, free: 252 kB / 0.4948 GB Notification: Performance of FrontEnd: time 8.416e-06/2.664, allocations: 3.984 kB / 0.8622 GB, free: 248 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.106/3.771, allocations: 276.5 kB / 0.8625 GB, free: 39.6 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5460 * Number of variables: 5460 Notification: Performance of Generate backend data structure: time 0.1075/3.878, allocations: 13.69 MB / 0.8758 GB, free: 37.02 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 8.865e-05/3.878, allocations: 9.219 kB / 0.8758 GB, free: 37.02 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1289/4.007, allocations: 15.24 MB / 0.8907 GB, free: 36.01 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07461/4.082, allocations: 13.64 MB / 0.904 GB, free: 34.36 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003949/4.086, allocations: 1.106 MB / 0.9051 GB, free: 34.33 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01817/4.104, allocations: 1.47 MB / 0.9065 GB, free: 34.31 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1914/4.296, allocations: 36.27 MB / 0.942 GB, free: 28.64 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002834/4.299, allocations: 132.4 kB / 0.9421 GB, free: 28.63 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01728/4.316, allocations: 0.6698 MB / 0.9428 GB, free: 28.63 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01106/4.327, allocations: 3.722 MB / 0.9464 GB, free: 28.6 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1208/4.448, allocations: 32.68 MB / 0.9783 GB, free: 22.61 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.164/5.612, allocations: 140.3 MB / 1.115 GB, free: 30.01 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06144/5.674, allocations: 15.77 MB / 1.131 GB, free: 28.14 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03133/5.705, allocations: 9.722 MB / 1.14 GB, free: 28.08 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1433/5.848, allocations: 35.47 MB / 1.175 GB, free: 25.48 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/5.849, allocations: 96.69 kB / 1.175 GB, free: 25.44 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=747): time 3.89e-05/5.849, allocations: 0 / 1.175 GB, free: 25.44 MB / 0.5574 GB Notification: Performance of matching and sorting (n=829): time 0.3946/6.243, allocations: 81.9 MB / 1.255 GB, free: 3.145 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002487/6.244, allocations: 318.8 kB / 1.255 GB, free: 2.781 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07102/6.315, allocations: 11.86 MB / 1.267 GB, free: 13.21 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.003408/6.318, allocations: 140 kB / 1.267 GB, free: 13.07 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0158/6.334, allocations: 9.837 MB / 1.277 GB, free: 4.297 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.008082/6.342, allocations: 2.99 MB / 1.279 GB, free: 1.645 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005876/6.348, allocations: 358.6 kB / 1.28 GB, free: 1.297 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.004632/6.353, allocations: 1.1 MB / 1.281 GB, free: 424 kB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.08006/6.433, allocations: 11.03 MB / 1.292 GB, free: 0 / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7975/7.231, allocations: 17.97 MB / 1.309 GB, free: 109.3 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07836/7.309, allocations: 28.5 MB / 1.337 GB, free: 97.01 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002254/7.312, allocations: 94.94 kB / 1.337 GB, free: 97.01 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2404) (initialization): time 0.1277/7.439, allocations: 27.92 MB / 1.364 GB, free: 94.47 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.002058/7.442, allocations: 147 kB / 1.364 GB, free: 94.47 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00257/7.444, allocations: 333.2 kB / 1.365 GB, free: 94.47 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01449/7.459, allocations: 2.37 MB / 1.367 GB, free: 94.41 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03366/7.493, allocations: 4.287 MB / 1.371 GB, free: 94.07 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0407/7.533, allocations: 14.4 MB / 1.385 GB, free: 90.07 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04154/7.575, allocations: 1.104 MB / 1.386 GB, free: 89.79 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01018/7.585, allocations: 0.9973 MB / 1.387 GB, free: 89.65 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1513 * Number of states: 0 () * Number of discrete variables: 93 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.actuatedRevolute_a.cylinderColor[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],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2208): * Single equations (assignments): 2191 * Array equations: 15 * 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 {(3,77.8%) 36,(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.04532/7.631, allocations: 7.188 MB / 1.394 GB, free: 86.73 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007883/7.639, allocations: 1.017 MB / 1.395 GB, free: 86.73 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06299/7.702, allocations: 16.06 MB / 1.411 GB, free: 80.7 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004948/7.702, allocations: 165.3 kB / 1.411 GB, free: 80.68 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001994/7.703, allocations: 11.28 kB / 1.411 GB, free: 80.68 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004065/7.703, allocations: 37.88 kB / 1.411 GB, free: 80.68 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1467/7.85, allocations: 34.98 MB / 1.445 GB, free: 66.45 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001881/7.85, allocations: 4 kB / 1.446 GB, free: 66.45 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01256/7.863, allocations: 1.396 MB / 1.447 GB, free: 65.35 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009009/7.872, allocations: 1.776 MB / 1.449 GB, free: 64.11 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003435/7.875, allocations: 135.1 kB / 1.449 GB, free: 63.98 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0274/7.903, allocations: 12.95 MB / 1.461 GB, free: 52.57 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.632e-05/7.903, allocations: 11.94 kB / 1.461 GB, free: 52.56 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07882/7.982, allocations: 25.31 MB / 1.486 GB, free: 30.44 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01363/7.995, allocations: 2.254 MB / 1.488 GB, free: 28.36 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00848/8.004, allocations: 125.1 kB / 1.488 GB, free: 28.24 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0142/8.018, allocations: 0.5338 MB / 1.489 GB, free: 27.9 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004437/8.023, allocations: 448.4 kB / 1.489 GB, free: 27.62 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003313/8.026, allocations: 195.1 kB / 1.49 GB, free: 27.43 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.02918/8.055, allocations: 6.516 MB / 1.496 GB, free: 22.14 MB / 0.5887 GB Notification: Performance of sort global known variables: time 5.81e-07/8.056, allocations: 0 / 1.496 GB, free: 22.14 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.04701/8.103, allocations: 4.727 MB / 1.501 GB, free: 21.4 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (gc1.actuatedRevolute_b.phi,gc1.actuatedRevolute_b.w,gc2.actuatedRevolute_b.phi,gc2.actuatedRevolute_b.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 (655): * Single equations (assignments): 638 * Array equations: 15 * 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%) 32,(1,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.8174/8.92, allocations: 307.3 kB / 1.501 GB, free: 106.4 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.07875/8.999, allocations: 19.9 MB / 1.52 GB, free: 106 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-05/8.999, allocations: 6.562 kB / 1.52 GB, free: 106 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.03142/9.03, allocations: 7.785 MB / 1.528 GB, free: 105.7 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04346/9.074, allocations: 1.347 MB / 1.529 GB, free: 105.6 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.197/9.271, allocations: 42.84 MB / 1.571 GB, free: 90.73 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05595/9.327, allocations: 10.29 MB / 1.581 GB, free: 89.64 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0111/9.338, allocations: 0.8721 MB / 1.582 GB, free: 89.63 MB / 0.5887 GB Notification: Performance of SimCode: time 3.818e-06/9.338, allocations: 0 / 1.582 GB, free: 89.63 MB / 0.5887 GB Notification: Performance of Templates: time 1.531/10.87, allocations: 335.1 MB / 1.909 GB, free: 12.93 MB / 0.6199 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint2/GearConstraint2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches