Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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) 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(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00124/0.00124, allocations: 98.67 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.97e-05/1.974e-05, allocations: 4 kB / 343.7 MB, free: 8.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.119, allocations: 51.47 MB / 395.2 MB, free: 4.797 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4073/0.5263, allocations: 99.41 MB / 494.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/0.5267, allocations: 85 kB / 494.6 MB, free: 9.988 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5889/1.116, allocations: 104.3 MB / 0.5849 GB, free: 72.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.815e-06/1.116, allocations: 0 / 0.5849 GB, free: 72.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004489/1.116, allocations: 113.5 kB / 0.585 GB, free: 72.42 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.02021/1.136, allocations: 5.141 MB / 0.59 GB, free: 70.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/1.136, allocations: 6.625 kB / 0.59 GB, free: 70.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02915/1.166, allocations: 6.94 MB / 0.5968 GB, free: 70.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01881/1.185, allocations: 5.779 MB / 0.6024 GB, free: 69.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004689/1.185, allocations: 168.9 kB / 0.6026 GB, free: 69.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003556/1.189, allocations: 310.1 kB / 0.6029 GB, free: 69.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02101/1.21, allocations: 7.224 MB / 0.61 GB, free: 69.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03204/1.242, allocations: 10.91 MB / 0.6206 GB, free: 66.26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000746/1.243, allocations: 76.38 kB / 0.6207 GB, free: 66.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002791/1.245, allocations: 33.94 kB / 0.6207 GB, free: 66.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002167/1.248, allocations: 1.068 MB / 0.6218 GB, free: 66.24 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0713/1.319, allocations: 54.57 MB / 0.675 GB, free: 42.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004272/1.323, allocations: 3.296 MB / 0.6783 GB, free: 41.17 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002528/1.326, allocations: 2.112 MB / 0.6803 GB, free: 40.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004204/1.326, allocations: 332.3 kB / 0.6806 GB, free: 39.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/1.326, allocations: 62.56 kB / 0.6807 GB, free: 39.87 MB / 458.7 MB Notification: Performance of pre-optimization done (n=180): time 5.239e-06/1.326, allocations: 0 / 0.6807 GB, free: 39.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=207): time 0.04393/1.37, allocations: 18.98 MB / 0.6992 GB, free: 31.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/1.37, allocations: 197.8 kB / 0.6994 GB, free: 31.69 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008793/1.379, allocations: 3.571 MB / 0.7029 GB, free: 30.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004925/1.38, allocations: 29.27 kB / 0.7029 GB, free: 30.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003367/1.383, allocations: 3.693 MB / 0.7065 GB, free: 27.38 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001219/1.384, allocations: 0.7746 MB / 0.7073 GB, free: 26.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007586/1.385, allocations: 0 / 0.7073 GB, free: 26.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006156/1.386, allocations: 0.5815 MB / 0.7079 GB, free: 26.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002882/1.389, allocations: 2.01 MB / 0.7098 GB, free: 25.67 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004382/1.393, allocations: 5.947 MB / 0.7156 GB, free: 19.44 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004303/1.397, allocations: 3.435 MB / 0.719 GB, free: 18.13 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-05/1.397, allocations: 41.28 kB / 0.719 GB, free: 18.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.01323/1.411, allocations: 7.796 MB / 0.7266 GB, free: 11.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.965e-05/1.411, allocations: 64 kB / 0.7267 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/1.411, allocations: 143.5 kB / 0.7268 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002689/1.414, allocations: 0.9526 MB / 0.7278 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004969/1.419, allocations: 1.494 MB / 0.7292 GB, free: 9.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009843/1.428, allocations: 7.25 MB / 0.7363 GB, free: 2.762 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005877/1.434, allocations: 216.2 kB / 0.7365 GB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009724/1.435, allocations: 399.6 kB / 0.7369 GB, free: 2.195 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 47 (fixed.color[3],fixed.color[2],fixed.color[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],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (791): * Single equations (assignments): 786 * Array equations: 3 * 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%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001096/1.436, allocations: 477.1 kB / 0.7374 GB, free: 1.727 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006598/1.437, allocations: 390.9 kB / 0.7377 GB, free: 1.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3577/1.795, allocations: 3.399 MB / 0.7411 GB, free: 77.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.574e-05/1.795, allocations: 23.31 kB / 0.7411 GB, free: 77.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/1.795, allocations: 16.38 kB / 0.7411 GB, free: 77.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.707e-05/1.795, allocations: 10.88 kB / 0.7411 GB, free: 77.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/1.81, allocations: 7.9 MB / 0.7488 GB, free: 77.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/1.81, allocations: 1.25 kB / 0.7488 GB, free: 77.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/1.811, allocations: 324.9 kB / 0.7491 GB, free: 77.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001996/1.813, allocations: 0.6682 MB / 0.7498 GB, free: 77.35 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/1.813, allocations: 11.47 kB / 0.7498 GB, free: 77.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006146/1.82, allocations: 6.196 MB / 0.7558 GB, free: 74.89 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.82, allocations: 4.219 kB / 0.7558 GB, free: 74.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007906/1.828, allocations: 5.768 MB / 0.7615 GB, free: 74.12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.829, allocations: 423.2 kB / 0.7619 GB, free: 74.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/1.829, allocations: 6.688 kB / 0.7619 GB, free: 74.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/1.831, allocations: 69.78 kB / 0.762 GB, free: 74.03 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/1.831, allocations: 126.1 kB / 0.7621 GB, free: 74.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/1.831, allocations: 55.58 kB / 0.7621 GB, free: 74.03 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004021/1.835, allocations: 2.416 MB / 0.7645 GB, free: 73.85 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.835, allocations: 3.969 kB / 0.7645 GB, free: 73.85 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006286/1.842, allocations: 0.9957 MB / 0.7655 GB, free: 73.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * Array equations: 3 * 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%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004979/1.842, allocations: 150.8 kB / 0.7656 GB, free: 73.76 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009131/1.851, allocations: 5.085 MB / 0.7706 GB, free: 73.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/1.851, allocations: 1.188 kB / 0.7706 GB, free: 73.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002998/1.854, allocations: 1.769 MB / 0.7723 GB, free: 73.28 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/1.858, allocations: 450.5 kB / 0.7727 GB, free: 73.26 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/1.879, allocations: 8.78 MB / 0.7813 GB, free: 71.47 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005746/1.885, allocations: 3.97 MB / 0.7852 GB, free: 70.65 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006646/1.891, allocations: 2.081 MB / 0.7872 GB, free: 70.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000877/1.892, allocations: 259.2 kB / 0.7875 GB, free: 70.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.232e-06/1.892, allocations: 0 / 0.7875 GB, free: 70.6 MB / 458.7 MB Notification: Performance of Templates: time 0.07136/1.964, allocations: 35.05 MB / 0.8217 GB, free: 69.07 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches