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.00226/0.00226, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.082/2.082, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001089/0.001089, allocations: 86.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2794/0.2794, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.544e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5055/0.6264, allocations: 109.5 MB / 0.5797 GB, free: 10.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.6268, allocations: 84.92 kB / 0.5798 GB, free: 10.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416/2.043, allocations: 286 MB / 0.8591 GB, free: 32.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.415e-06/2.043, allocations: 0 / 0.8591 GB, free: 32.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008119/2.043, allocations: 280 kB / 0.8593 GB, free: 32.68 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: 5460 * Number of variables: 5460 Notification: Performance of Generate backend data structure: time 0.05313/2.097, allocations: 13.19 MB / 0.8722 GB, free: 19.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/2.097, allocations: 8.031 kB / 0.8722 GB, free: 19.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1344/2.231, allocations: 18.54 MB / 0.8903 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05788/2.289, allocations: 14.9 MB / 0.9049 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00186/2.291, allocations: 1.103 MB / 0.906 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.7683/3.059, allocations: 1.457 MB / 0.9074 GB, free: 58.72 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1197/3.179, allocations: 36.25 MB / 0.9428 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001088/3.18, allocations: 136.9 kB / 0.9429 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00859/3.189, allocations: 0.6609 MB / 0.9436 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007886/3.197, allocations: 3.715 MB / 0.9472 GB, free: 53.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09585/3.293, allocations: 32.54 MB / 0.979 GB, free: 51 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2699/3.562, allocations: 140.5 MB / 1.116 GB, free: 8.742 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.8739/4.436, allocations: 15.93 MB / 1.132 GB, free: 111.9 MB / 0.5732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02351/4.46, allocations: 9.564 MB / 1.141 GB, free: 111.8 MB / 0.5732 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1363/4.596, allocations: 35.73 MB / 1.176 GB, free: 109.4 MB / 0.5732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/4.597, allocations: 109.3 kB / 1.176 GB, free: 109.3 MB / 0.5732 GB Notification: Performance of pre-optimization done (n=747): time 1.823e-05/4.597, allocations: 0 / 1.176 GB, free: 109.3 MB / 0.5732 GB Notification: Performance of matching and sorting (n=829): time 0.3704/4.967, allocations: 69.94 MB / 1.244 GB, free: 90.22 MB / 0.5732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/4.967, allocations: 313.1 kB / 1.245 GB, free: 89.92 MB / 0.5732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02535/4.992, allocations: 9.285 MB / 1.254 GB, free: 86.71 MB / 0.5732 GB Notification: Performance of collectPreVariables (initialization): time 0.002038/4.995, allocations: 142.2 kB / 1.254 GB, free: 86.59 MB / 0.5732 GB Notification: Performance of collectInitialEqns (initialization): time 0.008462/5.003, allocations: 9.495 MB / 1.263 GB, free: 78.17 MB / 0.5732 GB Notification: Performance of collectInitialBindings (initialization): time 0.005201/5.008, allocations: 2.995 MB / 1.266 GB, free: 75.52 MB / 0.5732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004027/5.012, allocations: 358.9 kB / 1.266 GB, free: 75.17 MB / 0.5732 GB Notification: Performance of setup shared object (initialization): time 0.002589/5.015, allocations: 1.111 MB / 1.267 GB, free: 74.27 MB / 0.5732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02048/5.036, allocations: 8.123 MB / 1.275 GB, free: 66.93 MB / 0.5732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02714/5.063, allocations: 17.69 MB / 1.293 GB, free: 46.1 MB / 0.5732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02833/5.091, allocations: 12.08 MB / 1.304 GB, free: 36.41 MB / 0.5732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003888/5.092, allocations: 96 kB / 1.305 GB, free: 36.31 MB / 0.5732 GB Notification: Performance of matching and sorting (n=2404) (initialization): time 0.103/5.195, allocations: 27.18 MB / 1.331 GB, free: 13.28 MB / 0.5732 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004064/5.195, allocations: 148 kB / 1.331 GB, free: 13.14 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008562/5.196, allocations: 328 kB / 1.332 GB, free: 12.82 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4531/5.649, allocations: 2.514 MB / 1.334 GB, free: 95.71 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03123/5.68, allocations: 4.289 MB / 1.338 GB, free: 95.71 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04066/5.721, allocations: 14.37 MB / 1.352 GB, free: 93.02 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03206/5.753, allocations: 1.098 MB / 1.353 GB, free: 93.02 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00651/5.76, allocations: 0.9969 MB / 1.354 GB, free: 93.02 MB / 0.5732 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 () * 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.01002/5.77, allocations: 1.415 MB / 1.356 GB, free: 92.9 MB / 0.5732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005282/5.775, allocations: 1.016 MB / 1.357 GB, free: 92.89 MB / 0.5732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06492/5.84, allocations: 15.8 MB / 1.372 GB, free: 92.5 MB / 0.5732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004398/5.841, allocations: 163.3 kB / 1.372 GB, free: 92.5 MB / 0.5732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.31e-05/5.841, allocations: 17.62 kB / 1.372 GB, free: 92.5 MB / 0.5732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000203/5.841, allocations: 31.88 kB / 1.372 GB, free: 92.5 MB / 0.5732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1481/5.989, allocations: 34.72 MB / 1.406 GB, free: 89.13 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001456/5.989, allocations: 7.594 kB / 1.406 GB, free: 89.13 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01933/6.009, allocations: 1.398 MB / 1.408 GB, free: 89.09 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01393/6.023, allocations: 1.773 MB / 1.409 GB, free: 88.73 MB / 0.5732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001976/6.025, allocations: 132.5 kB / 1.409 GB, free: 88.64 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0272/6.052, allocations: 12.91 MB / 1.422 GB, free: 81.95 MB / 0.5732 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/6.052, allocations: 10.88 kB / 1.422 GB, free: 81.95 MB / 0.5732 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0629/6.115, allocations: 26.46 MB / 1.448 GB, free: 71.14 MB / 0.5732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00909/6.124, allocations: 2.254 MB / 1.45 GB, free: 70.38 MB / 0.5732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003984/6.128, allocations: 128 kB / 1.45 GB, free: 70.29 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01136/6.14, allocations: 0.5378 MB / 1.451 GB, free: 70.2 MB / 0.5732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002767/6.142, allocations: 441.5 kB / 1.451 GB, free: 70.14 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001297/6.144, allocations: 187.1 kB / 1.451 GB, free: 70.09 MB / 0.5732 GB Notification: Performance of sorting global known variables: time 0.01763/6.161, allocations: 6.43 MB / 1.458 GB, free: 67.96 MB / 0.5732 GB Notification: Performance of sort global known variables: time 1.372e-06/6.161, allocations: 1.656 kB / 1.458 GB, free: 67.96 MB / 0.5732 GB Notification: Performance of remove unused functions: time 0.02268/6.184, allocations: 3.44 MB / 1.461 GB, free: 67.58 MB / 0.5732 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 () * 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.002449/6.187, allocations: 312.9 kB / 1.461 GB, free: 67.4 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.04561/6.232, allocations: 19.53 MB / 1.48 GB, free: 50.67 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/6.232, allocations: 2.219 kB / 1.48 GB, free: 50.67 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 0.01941/6.252, allocations: 7.64 MB / 1.488 GB, free: 43.72 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01064/6.262, allocations: 1.264 MB / 1.489 GB, free: 42.67 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08877/6.351, allocations: 31.06 MB / 1.519 GB, free: 15.04 MB / 0.5732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02858/6.38, allocations: 10.6 MB / 1.53 GB, free: 7.395 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007911/6.388, allocations: 0.8662 MB / 1.531 GB, free: 6.57 MB / 0.5732 GB Notification: Performance of SimCode: time 1.543e-06/6.388, allocations: 0 / 1.531 GB, free: 6.57 MB / 0.5732 GB Notification: Performance of Templates: time 1.646/8.034, allocations: 321.8 MB / 1.845 GB, free: 114.2 MB / 0.62 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