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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 202.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008379/0.0008379, allocations: 89.03 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1798/0.1798, allocations: 45.16 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.876e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.5492, allocations: 110.8 MB / 0.6125 GB, free: 8.129 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.5495, allocations: 81.89 kB / 0.6126 GB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8876/1.437, allocations: 279.7 MB / 0.8858 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.313e-06/1.437, allocations: 3.938 kB / 0.8858 GB, free: 67.76 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005911/1.438, allocations: 271.5 kB / 0.886 GB, free: 67.5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5288 * Number of variables: 5288 Notification: Performance of Generate backend data structure: time 0.0348/1.472, allocations: 12.94 MB / 0.8987 GB, free: 54.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.473, allocations: 8.031 kB / 0.8987 GB, free: 54.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06584/1.538, allocations: 18.46 MB / 0.9167 GB, free: 35.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0316/1.57, allocations: 13.2 MB / 0.9296 GB, free: 22.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006668/1.571, allocations: 464 kB / 0.93 GB, free: 22.33 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006619/1.577, allocations: 0.8356 MB / 0.9309 GB, free: 21.49 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6176/2.195, allocations: 23.57 MB / 0.9539 GB, free: 63.44 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0731/2.268, allocations: 32.15 MB / 0.9853 GB, free: 57.91 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008942/2.269, allocations: 133.5 kB / 0.9854 GB, free: 57.91 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007703/2.277, allocations: 62.75 kB / 0.9855 GB, free: 57.91 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004291/2.281, allocations: 3.591 MB / 0.989 GB, free: 57.88 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1696/2.451, allocations: 132.7 MB / 1.119 GB, free: 13.14 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01872/2.47, allocations: 14.03 MB / 1.132 GB, free: 5.645 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01837/2.488, allocations: 9.399 MB / 1.141 GB, free: 15.26 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001977/2.49, allocations: 1.301 MB / 1.143 GB, free: 13.83 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/2.49, allocations: 103 kB / 1.143 GB, free: 13.72 MB / 0.573 GB Notification: Performance of pre-optimization done (n=768): time 1.229e-05/2.49, allocations: 0 / 1.143 GB, free: 13.72 MB / 0.573 GB Notification: Performance of matching and sorting (n=843): time 0.7751/3.265, allocations: 76.13 MB / 1.217 GB, free: 119.2 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/3.266, allocations: 316 kB / 1.217 GB, free: 118.9 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01341/3.279, allocations: 8.118 MB / 1.225 GB, free: 118.2 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 0.001409/3.28, allocations: 34.22 kB / 1.225 GB, free: 118.1 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.004752/3.285, allocations: 9.624 MB / 1.235 GB, free: 112.8 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 0.003182/3.288, allocations: 2.949 MB / 1.238 GB, free: 110.9 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008654/3.289, allocations: 0 / 1.238 GB, free: 110.9 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 0.0007765/3.29, allocations: 1.122 MB / 1.239 GB, free: 110.6 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008654/3.299, allocations: 7.643 MB / 1.246 GB, free: 110.6 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01457/3.313, allocations: 17.54 MB / 1.263 GB, free: 97.91 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01858/3.332, allocations: 11.65 MB / 1.275 GB, free: 94.6 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006095/3.333, allocations: 105.6 kB / 1.275 GB, free: 94.6 MB / 0.5888 GB Notification: Performance of matching and sorting (n=2451) (initialization): time 0.04882/3.381, allocations: 25.09 MB / 1.299 GB, free: 86.88 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002591/3.382, allocations: 154.3 kB / 1.3 GB, free: 86.88 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005577/3.382, allocations: 353.5 kB / 1.3 GB, free: 86.88 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006337/3.389, allocations: 2.386 MB / 1.302 GB, free: 85.85 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01529/3.404, allocations: 4.364 MB / 1.306 GB, free: 82.12 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/3.419, allocations: 13.68 MB / 1.32 GB, free: 70.02 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01337/3.433, allocations: 0.7318 MB / 1.321 GB, free: 69.47 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003674/3.436, allocations: 1.03 MB / 1.322 GB, free: 68.46 MB / 0.5888 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1588 * Number of states: 0 () * Number of discrete variables: 97 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (2255): * Single equations (assignments): 2238 * 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.003299/3.44, allocations: 0.9965 MB / 1.322 GB, free: 67.46 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002046/3.442, allocations: 0.9602 MB / 1.323 GB, free: 66.49 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02272/3.465, allocations: 16.1 MB / 1.339 GB, free: 53.09 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001518/3.465, allocations: 164.6 kB / 1.339 GB, free: 52.95 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.331e-05/3.465, allocations: 12 kB / 1.339 GB, free: 52.93 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.856e-05/3.465, allocations: 37.45 kB / 1.339 GB, free: 52.93 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05363/3.518, allocations: 33.96 MB / 1.373 GB, free: 24.3 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/3.519, allocations: 12.22 kB / 1.373 GB, free: 24.29 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006045/3.525, allocations: 1.405 MB / 1.374 GB, free: 23.18 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004812/3.529, allocations: 1.76 MB / 1.376 GB, free: 21.93 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008346/3.53, allocations: 34.66 kB / 1.376 GB, free: 21.91 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01372/3.544, allocations: 12.29 MB / 1.388 GB, free: 11.47 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3733/3.917, allocations: 21.81 kB / 1.388 GB, free: 106.4 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04162/3.959, allocations: 27.72 MB / 1.415 GB, free: 101.1 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002778/3.962, allocations: 0.9103 MB / 1.416 GB, free: 101 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002188/3.964, allocations: 22.91 kB / 1.416 GB, free: 101 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005098/3.969, allocations: 420.1 kB / 1.416 GB, free: 101 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/3.97, allocations: 481.3 kB / 1.417 GB, free: 101 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004969/3.971, allocations: 210.2 kB / 1.417 GB, free: 101 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.009592/3.98, allocations: 5.409 MB / 1.422 GB, free: 100.7 MB / 0.5888 GB Notification: Performance of sort global known variables: time 2.51e-07/3.98, allocations: 0 / 1.422 GB, free: 100.7 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.01563/3.996, allocations: 2.889 MB / 1.425 GB, free: 100.7 MB / 0.5888 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (663): * Single equations (assignments): 646 * 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.001322/3.997, allocations: 221.9 kB / 1.425 GB, free: 100.6 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.02559/4.023, allocations: 18.47 MB / 1.443 GB, free: 100.2 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/4.023, allocations: 0 / 1.443 GB, free: 100.2 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.01006/4.033, allocations: 7.607 MB / 1.451 GB, free: 99.94 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005763/4.039, allocations: 0.9516 MB / 1.451 GB, free: 99.9 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05545/4.094, allocations: 28.91 MB / 1.48 GB, free: 91.78 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02823/4.123, allocations: 10.3 MB / 1.49 GB, free: 88.89 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.0248/4.147, allocations: 6.991 MB / 1.497 GB, free: 87.94 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00353/4.151, allocations: 0.7007 MB / 1.497 GB, free: 87.28 MB / 0.5888 GB Notification: Performance of SimCode: time 7.22e-07/4.151, allocations: 0 / 1.497 GB, free: 87.28 MB / 0.5888 GB Notification: Performance of Templates: time 0.1671/4.318, allocations: 90.93 MB / 1.586 GB, free: 17.04 MB / 0.5888 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint2/GearConstraint2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches