Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.00124/0.00124, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.000771/0.0007709, allocations: 98.83 kB / 270.2 MB, free: 13.35 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.2232/0.2232, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.000337, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1236, allocations: 58.86 MB / 490.3 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.405/0.5286, allocations: 109.5 MB / 0.5857 GB, free: 6.582 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.5289, allocations: 88.39 kB / 0.5858 GB, free: 6.535 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9766/1.506, allocations: 285.7 MB / 0.8648 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.585e-06/1.506, allocations: 0 / 0.8648 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001162/1.507, allocations: 280 kB / 0.8651 GB, free: 29.02 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.04735/1.554, allocations: 14.11 MB / 0.8788 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.554, allocations: 12.03 kB / 0.8788 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0708/1.625, allocations: 18.52 MB / 0.8969 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3679/1.993, allocations: 14.95 MB / 0.9115 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001749/1.995, allocations: 1.099 MB / 0.9126 GB, free: 58.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01158/2.006, allocations: 1.462 MB / 0.914 GB, free: 58.81 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1037/2.11, allocations: 36.59 MB / 0.9498 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009787/2.111, allocations: 130.2 kB / 0.9499 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008491/2.12, allocations: 0.6668 MB / 0.9505 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005457/2.125, allocations: 3.717 MB / 0.9542 GB, free: 53.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07067/2.196, allocations: 33.12 MB / 0.9865 GB, free: 50.08 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.577/2.773, allocations: 140.5 MB / 1.124 GB, free: 88.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04033/2.813, allocations: 15.79 MB / 1.139 GB, free: 86.61 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07989/2.893, allocations: 35.73 MB / 1.174 GB, free: 84.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.277e-05/2.893, allocations: 97.97 kB / 1.174 GB, free: 84.15 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=747): time 1.319e-05/2.893, allocations: 0 / 1.174 GB, free: 84.15 MB / 0.5573 GB Notification: Performance of matching and sorting (n=829): time 0.2287/3.122, allocations: 83.25 MB / 1.255 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/3.122, allocations: 311.8 kB / 1.256 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02386/3.146, allocations: 9.379 MB / 1.265 GB, free: 45.11 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002296/3.148, allocations: 140.8 kB / 1.265 GB, free: 44.97 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.009357/3.158, allocations: 9.835 MB / 1.275 GB, free: 36.24 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005488/3.163, allocations: 2.992 MB / 1.278 GB, free: 33.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002545/3.166, allocations: 357.8 kB / 1.278 GB, free: 33.24 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001557/3.168, allocations: 1.102 MB / 1.279 GB, free: 32.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01375/3.181, allocations: 8.333 MB / 1.287 GB, free: 25.25 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02316/3.205, allocations: 17.9 MB / 1.305 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0266/3.231, allocations: 12.5 MB / 1.317 GB, free: 10.95 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004319/3.232, allocations: 95.75 kB / 1.317 GB, free: 10.86 MB / 0.573 GB Notification: Performance of matching and sorting (n=2404) (initialization): time 0.4984/3.73, allocations: 28.11 MB / 1.344 GB, free: 96.44 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003023/3.73, allocations: 145.2 kB / 1.345 GB, free: 96.44 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007351/3.731, allocations: 336 kB / 1.345 GB, free: 96.44 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007654/3.739, allocations: 2.412 MB / 1.347 GB, free: 96.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01867/3.758, allocations: 4.291 MB / 1.351 GB, free: 96.06 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/3.777, allocations: 14.83 MB / 1.366 GB, free: 93.19 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01886/3.796, allocations: 1.091 MB / 1.367 GB, free: 93.19 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005583/3.802, allocations: 0.9971 MB / 1.368 GB, free: 93.19 MB / 0.573 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.02312/3.825, allocations: 7.182 MB / 1.375 GB, free: 92.71 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003978/3.829, allocations: 1.012 MB / 1.376 GB, free: 92.71 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03253/3.861, allocations: 16.06 MB / 1.392 GB, free: 92.28 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002359/3.862, allocations: 164.7 kB / 1.392 GB, free: 92.28 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.813e-05/3.862, allocations: 13.75 kB / 1.392 GB, free: 92.28 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001009/3.862, allocations: 33.05 kB / 1.392 GB, free: 92.28 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.084/3.946, allocations: 34.99 MB / 1.426 GB, free: 81.21 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.58e-05/3.946, allocations: 8.188 kB / 1.426 GB, free: 81.21 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007956/3.954, allocations: 1.395 MB / 1.427 GB, free: 81.11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00586/3.96, allocations: 1.785 MB / 1.429 GB, free: 80.74 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001893/3.962, allocations: 131.2 kB / 1.429 GB, free: 80.65 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01684/3.978, allocations: 13.36 MB / 1.442 GB, free: 73.71 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-06/3.979, allocations: 19.72 kB / 1.442 GB, free: 73.71 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04331/4.022, allocations: 26.85 MB / 1.468 GB, free: 57.21 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008994/4.031, allocations: 2.251 MB / 1.471 GB, free: 55.13 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003789/4.035, allocations: 126 kB / 1.471 GB, free: 55.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007631/4.042, allocations: 0.5368 MB / 1.471 GB, free: 54.68 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001825/4.044, allocations: 440.6 kB / 1.472 GB, free: 54.41 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005558/4.045, allocations: 189.4 kB / 1.472 GB, free: 54.23 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01372/4.059, allocations: 6.515 MB / 1.478 GB, free: 48.93 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.31e-07/4.059, allocations: 0 / 1.478 GB, free: 48.93 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02403/4.083, allocations: 3.447 MB / 1.482 GB, free: 45.5 MB / 0.573 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.002439/4.085, allocations: 315.1 kB / 1.482 GB, free: 45.21 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03624/4.121, allocations: 19.88 MB / 1.501 GB, free: 27.73 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/4.121, allocations: 7.797 kB / 1.501 GB, free: 27.73 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01555/4.137, allocations: 7.801 MB / 1.509 GB, free: 20.85 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01172/4.149, allocations: 1.25 MB / 1.51 GB, free: 19.79 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4716/4.62, allocations: 40.98 MB / 1.55 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03721/4.658, allocations: 10.58 MB / 1.561 GB, free: 99.34 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02506/4.683, allocations: 6.678 MB / 1.567 GB, free: 99.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006119/4.689, allocations: 0.7211 MB / 1.568 GB, free: 99.22 MB / 0.5886 GB Notification: Performance of SimCode: time 1.713e-06/4.689, allocations: 3.766 kB / 1.568 GB, free: 99.22 MB / 0.5886 GB Notification: Performance of Templates: time 0.2151/4.904, allocations: 103 MB / 1.668 GB, free: 74.12 MB / 0.5886 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches