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.001344/0.001344, allocations: 196.7 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009194/0.0009192, allocations: 107.9 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3168/0.3168, allocations: 44.81 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003127, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.344, allocations: 62.96 MB / 0.5184 GB, free: 37.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.491, allocations: 111.5 MB / 0.6273 GB, free: 9.766 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.4913, allocations: 87.94 kB / 0.6274 GB, free: 9.684 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179/1.67, allocations: 279.9 MB / 0.9007 GB, free: 50.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.735e-06/1.67, allocations: 0 / 0.9007 GB, free: 50.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0007137/1.671, allocations: 277.9 kB / 0.9009 GB, free: 50.98 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.04355/1.715, allocations: 13.43 MB / 0.9141 GB, free: 45.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/1.715, allocations: 7.281 kB / 0.9141 GB, free: 45.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06144/1.776, allocations: 15.15 MB / 0.9289 GB, free: 44.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0363/1.812, allocations: 12.45 MB / 0.941 GB, free: 43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001191/1.814, allocations: 1.07 MB / 0.9421 GB, free: 42.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007745/1.821, allocations: 1.425 MB / 0.9435 GB, free: 42.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08267/1.904, allocations: 35.33 MB / 0.978 GB, free: 37.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008929/1.905, allocations: 133.6 kB / 0.9781 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006677/1.912, allocations: 0.6477 MB / 0.9787 GB, free: 37.35 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00471/1.917, allocations: 3.594 MB / 0.9822 GB, free: 37.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06346/1.98, allocations: 31.84 MB / 1.013 GB, free: 33.42 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6/2.58, allocations: 137.3 MB / 1.147 GB, free: 40.86 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03145/2.612, allocations: 15.19 MB / 1.162 GB, free: 38.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01312/2.625, allocations: 9.385 MB / 1.171 GB, free: 38.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06515/2.69, allocations: 34.24 MB / 1.205 GB, free: 36.49 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.103e-05/2.69, allocations: 105.7 kB / 1.205 GB, free: 36.44 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=705): time 1.024e-05/2.69, allocations: 0 / 1.205 GB, free: 36.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=787): time 0.2242/2.914, allocations: 80.55 MB / 1.284 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002036/2.915, allocations: 303.4 kB / 1.284 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03392/2.948, allocations: 10.94 MB / 1.295 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001696/2.95, allocations: 137.9 kB / 1.295 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.008931/2.959, allocations: 9.569 MB / 1.304 GB, free: 4.867 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.004659/2.964, allocations: 2.852 MB / 1.307 GB, free: 2.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003074/2.967, allocations: 344.6 kB / 1.307 GB, free: 2.008 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.002554/2.97, allocations: 1.077 MB / 1.308 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04458/3.014, allocations: 10.29 MB / 1.318 GB, free: 0 / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02414/3.038, allocations: 17.41 MB / 1.335 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4047/3.443, allocations: 27.54 MB / 1.362 GB, free: 124.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000353/3.444, allocations: 93.14 kB / 1.362 GB, free: 124.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2328) (initialization): time 0.0567/3.5, allocations: 26.99 MB / 1.389 GB, free: 122.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003303/3.501, allocations: 144.2 kB / 1.389 GB, free: 122.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007777/3.501, allocations: 324 kB / 1.389 GB, free: 122.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007145/3.509, allocations: 2.36 MB / 1.391 GB, free: 122.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01483/3.523, allocations: 4.141 MB / 1.395 GB, free: 121.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01732/3.541, allocations: 14.38 MB / 1.409 GB, free: 119 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01461/3.555, allocations: 1.061 MB / 1.41 GB, free: 119 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003982/3.559, allocations: 0.9656 MB / 1.411 GB, free: 119 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1479 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2132): * Single equations (assignments): 2115 * 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.01937/3.579, allocations: 7.007 MB / 1.418 GB, free: 118.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003153/3.582, allocations: 0.9853 MB / 1.419 GB, free: 118.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02704/3.609, allocations: 15.3 MB / 1.434 GB, free: 118.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002065/3.609, allocations: 161.5 kB / 1.434 GB, free: 118.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.662e-05/3.609, allocations: 12.47 kB / 1.434 GB, free: 118.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001774/3.61, allocations: 40.55 kB / 1.434 GB, free: 118.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07583/3.685, allocations: 33.55 MB / 1.467 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-05/3.685, allocations: 13.62 kB / 1.467 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006699/3.692, allocations: 1.309 MB / 1.468 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005682/3.698, allocations: 1.782 MB / 1.47 GB, free: 106.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001672/3.7, allocations: 120.9 kB / 1.47 GB, free: 106.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/3.715, allocations: 12.96 MB / 1.483 GB, free: 99.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/3.715, allocations: 6.812 kB / 1.483 GB, free: 99.37 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03471/3.749, allocations: 24.13 MB / 1.507 GB, free: 83.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003312/3.753, allocations: 0.963 MB / 1.507 GB, free: 82.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003718/3.757, allocations: 121.5 kB / 1.508 GB, free: 82.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007101/3.764, allocations: 0.5091 MB / 1.508 GB, free: 82.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002161/3.766, allocations: 422.8 kB / 1.508 GB, free: 82.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00072/3.767, allocations: 181.8 kB / 1.509 GB, free: 81.87 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.01323/3.78, allocations: 6.358 MB / 1.515 GB, free: 76.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.51e-07/3.78, allocations: 0 / 1.515 GB, free: 76.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01877/3.799, allocations: 3.327 MB / 1.518 GB, free: 73.39 MB / 0.6355 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 (611): * Single equations (assignments): 594 * 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.001819/3.801, allocations: 309 kB / 1.518 GB, free: 73.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02943/3.83, allocations: 19.09 MB / 1.537 GB, free: 56.22 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/3.83, allocations: 0 / 1.537 GB, free: 56.22 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01191/3.842, allocations: 7.426 MB / 1.544 GB, free: 49.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02199/3.864, allocations: 1.34 MB / 1.546 GB, free: 48.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4478/4.312, allocations: 39.71 MB / 1.584 GB, free: 123.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02964/4.341, allocations: 9.992 MB / 1.594 GB, free: 122.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0247/4.366, allocations: 6.486 MB / 1.6 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00619/4.372, allocations: 0.6947 MB / 1.601 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of SimCode: time 1.502e-06/4.372, allocations: 0 / 1.601 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.2134/4.586, allocations: 100.2 MB / 1.699 GB, free: 105.6 MB / 0.6355 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches