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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 110.7 kB / 17.09 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 198.2 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2027/0.2027, allocations: 43.53 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 71.89 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1114, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2): time 0.03095/0.1424, allocations: 32.45 MB / 0.5202 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01854/0.161, allocations: 7.905 MB / 0.528 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006052/0.1671, allocations: 223.4 kB / 0.5282 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2842/0.4513, allocations: 9.211 MB / 0.5372 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01427/0.4656, allocations: 5.184 MB / 0.5422 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004465/0.4701, allocations: 1.542 MB / 0.5437 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02221/0.4924, allocations: 14.87 MB / 0.5583 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.5061, allocations: 12.21 MB / 0.5702 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01088/0.517, allocations: 5.533 MB / 0.5756 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01155/0.5286, allocations: 7.463 MB / 0.5829 GB, free: 1.176 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003287/0.5319, allocations: 1.199 MB / 0.584 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00529/0.5372, allocations: 1.955 MB / 0.586 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008597/0.5458, allocations: 6.957 MB / 0.5927 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01357/0.5594, allocations: 7.877 MB / 0.6004 GB, free: 15.24 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03095/0.5904, allocations: 24.66 MB / 0.6245 GB, free: 7.086 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.5905, allocations: 0 / 0.6245 GB, free: 7.086 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5905, allocations: 0 / 0.6245 GB, free: 7.086 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0007651/0.5913, allocations: 4 kB / 0.6245 GB, free: 7.082 MB / 478.1 MB 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.03897/0.6302, allocations: 15.85 MB / 0.64 GB, free: 7.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.6303, allocations: 15.45 kB / 0.64 GB, free: 7.469 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03679/0.6671, allocations: 9.434 MB / 0.6492 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02244/0.6896, allocations: 9.433 MB / 0.6584 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009164/0.6906, allocations: 0.7907 MB / 0.6592 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005194/0.6958, allocations: 1.089 MB / 0.6603 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06898/0.7648, allocations: 36.95 MB / 0.6964 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005375/0.7653, allocations: 115 kB / 0.6965 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003679/0.769, allocations: 0.4902 MB / 0.6969 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0125/0.7816, allocations: 7.806 MB / 0.7046 GB, free: 4.551 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06675/0.8483, allocations: 33.39 MB / 0.7372 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6606/1.509, allocations: 131 MB / 0.8651 GB, free: 67.69 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03086/1.54, allocations: 16.16 MB / 0.8809 GB, free: 58.95 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01149/1.551, allocations: 10.13 MB / 0.8908 GB, free: 48.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05576/1.607, allocations: 36.45 MB / 0.9264 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/1.607, allocations: 100 kB / 0.9265 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=747): time 1.192e-05/1.607, allocations: 0.6562 kB / 0.9265 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=829): time 0.7063/2.314, allocations: 86.67 MB / 1.011 GB, free: 236.5 MB / 0.6545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001781/2.314, allocations: 305.3 kB / 1.011 GB, free: 236.2 MB / 0.6545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02072/2.335, allocations: 10.65 MB / 1.022 GB, free: 232.9 MB / 0.6545 GB Notification: Performance of collectPreVariables (initialization): time 0.001803/2.336, allocations: 141 kB / 1.022 GB, free: 232.8 MB / 0.6545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005923/2.342, allocations: 9.697 MB / 1.031 GB, free: 226.3 MB / 0.6545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003502/2.346, allocations: 3.01 MB / 1.034 GB, free: 224.1 MB / 0.6545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006638/2.352, allocations: 3.773 MB / 1.038 GB, free: 222.4 MB / 0.6545 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/2.352, allocations: 301.1 kB / 1.038 GB, free: 222.1 MB / 0.6545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01336/2.366, allocations: 8.929 MB / 1.047 GB, free: 219.1 MB / 0.6545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01786/2.384, allocations: 18.56 MB / 1.065 GB, free: 203.4 MB / 0.6545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03329/2.417, allocations: 29.48 MB / 1.094 GB, free: 179.6 MB / 0.6545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003431/2.417, allocations: 96 kB / 1.094 GB, free: 179.5 MB / 0.6545 GB Notification: Performance of matching and sorting (n=2474) (initialization): time 0.05246/2.47, allocations: 30.38 MB / 1.124 GB, free: 151.6 MB / 0.6545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001841/2.47, allocations: 148 kB / 1.124 GB, free: 151.4 MB / 0.6545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003734/2.471, allocations: 332.6 kB / 1.124 GB, free: 151.1 MB / 0.6545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008893/2.479, allocations: 3.678 MB / 1.128 GB, free: 147.4 MB / 0.6545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01484/2.494, allocations: 4.422 MB / 1.132 GB, free: 143 MB / 0.6545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02193/2.516, allocations: 19.92 MB / 1.152 GB, free: 122.8 MB / 0.6545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01367/2.53, allocations: 1.131 MB / 1.153 GB, free: 121.7 MB / 0.6545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003006/2.533, allocations: 1.011 MB / 1.154 GB, free: 120.7 MB / 0.6545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1503 * 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 (2278): * Single equations (assignments): 2261 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,36,77.8%), (3,36,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01332/2.546, allocations: 7.179 MB / 1.161 GB, free: 113.5 MB / 0.6545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003193/2.55, allocations: 0.9987 MB / 1.162 GB, free: 112.4 MB / 0.6545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03263/2.582, allocations: 17.99 MB / 1.179 GB, free: 94.39 MB / 0.6545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001658/2.582, allocations: 35.88 kB / 1.179 GB, free: 94.36 MB / 0.6545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/2.582, allocations: 3.938 kB / 1.179 GB, free: 94.35 MB / 0.6545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00692/2.589, allocations: 2.343 MB / 1.182 GB, free: 91.98 MB / 0.6545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003855/2.593, allocations: 131.5 kB / 1.182 GB, free: 91.85 MB / 0.6545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007142/2.6, allocations: 0.5689 MB / 1.182 GB, free: 91.29 MB / 0.6545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002269/2.603, allocations: 457.3 kB / 1.183 GB, free: 90.84 MB / 0.6545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03178/2.634, allocations: 17.98 MB / 1.2 GB, free: 72.93 MB / 0.6545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02975/2.664, allocations: 25.41 MB / 1.225 GB, free: 47.42 MB / 0.6545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.281/2.945, allocations: 7.247 MB / 1.232 GB, free: 216.6 MB / 0.6545 GB Notification: Performance of sorting global known variables: time 0.01122/2.957, allocations: 6.59 MB / 1.239 GB, free: 216.3 MB / 0.6545 GB Notification: Performance of Backend: time 6.51e-07/2.957, allocations: 0.6562 kB / 1.239 GB, free: 216.3 MB / 0.6545 GB Notification: Performance of simCode: created initialization part: time 0.03107/2.988, allocations: 15.03 MB / 1.253 GB, free: 211.8 MB / 0.6545 GB Notification: Performance of SimCode: time 0.05012/3.038, allocations: 30.55 MB / 1.283 GB, free: 199.1 MB / 0.6545 GB Notification: Performance of Templates: time 0.2319/3.27, allocations: 162.1 MB / 1.441 GB, free: 52.7 MB / 0.6545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint2/GearConstraint2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches