Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00125/0.00125, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2151/0.2151, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 71.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3125, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2): time 0.02969/0.3422, allocations: 30.83 MB / 0.5618 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01688/0.3592, allocations: 7.643 MB / 0.5692 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005897/0.3651, allocations: 219.4 kB / 0.5695 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0165/0.3816, allocations: 9.127 MB / 0.5784 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01323/0.3949, allocations: 5.097 MB / 0.5833 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004277/0.3992, allocations: 1.529 MB / 0.5848 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02206/0.4213, allocations: 15.28 MB / 0.5998 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01942/0.4408, allocations: 12.01 MB / 0.6115 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009625/0.4505, allocations: 5.347 MB / 0.6167 GB, free: 10.34 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/0.4617, allocations: 7.173 MB / 0.6237 GB, free: 3.145 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004314/0.4661, allocations: 1.145 MB / 0.6248 GB, free: 2 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007464/0.4736, allocations: 1.905 MB / 0.6267 GB, free: 96 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009071/0.4827, allocations: 6.647 MB / 0.6332 GB, free: 9.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01329/0.496, allocations: 7.519 MB / 0.6405 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02998/0.526, allocations: 23.51 MB / 0.6635 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5261, allocations: 3.938 kB / 0.6635 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5261, allocations: 0 / 0.6635 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0009248/0.527, allocations: 4 kB / 0.6635 GB, free: 10.27 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5230 * Number of variables: 5230 Notification: Performance of Generate backend data structure: time 0.03794/0.5649, allocations: 15.25 MB / 0.6784 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.565, allocations: 13.11 kB / 0.6784 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0384/0.6034, allocations: 9.313 MB / 0.6875 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0225/0.626, allocations: 8.949 MB / 0.6962 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008825/0.6269, allocations: 0.7659 MB / 0.697 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00509/0.632, allocations: 1.062 MB / 0.698 GB, free: 6.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6135/1.246, allocations: 35.55 MB / 0.7327 GB, free: 139.5 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004856/1.246, allocations: 112.7 kB / 0.7328 GB, free: 139.5 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002764/1.249, allocations: 480.9 kB / 0.7333 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01109/1.26, allocations: 7.45 MB / 0.7406 GB, free: 137.2 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05558/1.316, allocations: 32.18 MB / 0.772 GB, free: 112.8 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1582/1.474, allocations: 127 MB / 0.8961 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03526/1.509, allocations: 15.58 MB / 0.9113 GB, free: 15.61 MB / 0.6076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01445/1.524, allocations: 9.786 MB / 0.9208 GB, free: 5.793 MB / 0.6076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07061/1.594, allocations: 35.24 MB / 0.9553 GB, free: 2.367 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.256e-05/1.594, allocations: 94.86 kB / 0.9554 GB, free: 2.262 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=705): time 1.049e-05/1.594, allocations: 0 / 0.9554 GB, free: 2.262 MB / 0.6388 GB Notification: Performance of matching and sorting (n=787): time 0.7571/2.351, allocations: 83.64 MB / 1.037 GB, free: 196.5 MB / 0.6545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/2.352, allocations: 312.3 kB / 1.037 GB, free: 196.1 MB / 0.6545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01365/2.365, allocations: 10.36 MB / 1.047 GB, free: 185.8 MB / 0.6545 GB Notification: Performance of collectPreVariables (initialization): time 0.001766/2.367, allocations: 133.7 kB / 1.048 GB, free: 185.6 MB / 0.6545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004843/2.372, allocations: 9.377 MB / 1.057 GB, free: 176.2 MB / 0.6545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003876/2.376, allocations: 2.854 MB / 1.06 GB, free: 173.4 MB / 0.6545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006055/2.382, allocations: 3.648 MB / 1.063 GB, free: 169.8 MB / 0.6545 GB Notification: Performance of setup shared object (initialization): time 5.817e-05/2.382, allocations: 305.1 kB / 1.063 GB, free: 169.5 MB / 0.6545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01188/2.394, allocations: 8.589 MB / 1.072 GB, free: 160.9 MB / 0.6545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01816/2.412, allocations: 17.94 MB / 1.089 GB, free: 138.4 MB / 0.6545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03245/2.445, allocations: 28.45 MB / 1.117 GB, free: 105.4 MB / 0.6545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003401/2.445, allocations: 92 kB / 1.117 GB, free: 105.4 MB / 0.6545 GB Notification: Performance of matching and sorting (n=2392) (initialization): time 0.0539/2.499, allocations: 29.4 MB / 1.146 GB, free: 75.92 MB / 0.6545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/2.499, allocations: 144 kB / 1.146 GB, free: 75.78 MB / 0.6545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003968/2.499, allocations: 323.9 kB / 1.146 GB, free: 75.46 MB / 0.6545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009781/2.509, allocations: 3.665 MB / 1.15 GB, free: 71.79 MB / 0.6545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01563/2.525, allocations: 4.254 MB / 1.154 GB, free: 67.52 MB / 0.6545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02339/2.548, allocations: 19.89 MB / 1.173 GB, free: 47.35 MB / 0.6545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01439/2.563, allocations: 1.096 MB / 1.175 GB, free: 46.26 MB / 0.6545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003461/2.566, allocations: 0.9747 MB / 1.175 GB, free: 45.29 MB / 0.6545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1463 * Number of states: 0 () * Number of discrete variables: 97 (torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (2196): * Single equations (assignments): 2179 * 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.01598/2.582, allocations: 6.944 MB / 1.182 GB, free: 38.32 MB / 0.6545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002309/2.585, allocations: 0.9679 MB / 1.183 GB, free: 37.34 MB / 0.6545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02756/2.612, allocations: 17.23 MB / 1.2 GB, free: 20.03 MB / 0.6545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001512/2.612, allocations: 31.88 kB / 1.2 GB, free: 20 MB / 0.6545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/2.612, allocations: 0 / 1.2 GB, free: 20 MB / 0.6545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002771/2.615, allocations: 0.9453 MB / 1.201 GB, free: 19.02 MB / 0.6545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002941/2.618, allocations: 108 kB / 1.201 GB, free: 18.91 MB / 0.6545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006439/2.625, allocations: 0.5456 MB / 1.202 GB, free: 18.37 MB / 0.6545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002335/2.627, allocations: 444.4 kB / 1.202 GB, free: 17.93 MB / 0.6545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3423/2.969, allocations: 17.25 MB / 1.219 GB, free: 196 MB / 0.6545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02946/2.999, allocations: 24.19 MB / 1.243 GB, free: 187.8 MB / 0.6545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008007/3.007, allocations: 6.898 MB / 1.249 GB, free: 185.2 MB / 0.6545 GB Notification: Performance of sorting global known variables: time 0.008901/3.016, allocations: 6.413 MB / 1.256 GB, free: 183.1 MB / 0.6545 GB Notification: Performance of Backend: time 4.41e-07/3.016, allocations: 0 / 1.256 GB, free: 183.1 MB / 0.6545 GB Notification: Performance of simCode: created initialization part: time 0.02799/3.044, allocations: 14.48 MB / 1.27 GB, free: 177.9 MB / 0.6545 GB Notification: Performance of SimCode: time 0.0477/3.091, allocations: 29.52 MB / 1.298 GB, free: 154.6 MB / 0.6545 GB Notification: Performance of Templates: time 0.2293/3.321, allocations: 154.4 MB / 1.449 GB, free: 3.242 MB / 0.6545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint2/GearConstraint2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches