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.001629/0.001629, allocations: 201.2 kB / 18.11 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.356/1.356, allocations: 226.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000941/0.0009408, allocations: 95.28 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002021/0.0002022, allocations: 8 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1897, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1075/0.2973, allocations: 100.2 MB / 0.4976 GB, free: 7.285 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.2976, allocations: 89.89 kB / 0.4977 GB, free: 7.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3817/0.6793, allocations: 103.9 MB / 0.5991 GB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.6793, allocations: 0 / 0.5991 GB, free: 12.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002452/0.6796, allocations: 108 kB / 0.5992 GB, free: 12.17 MB / 378.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.01321/0.6928, allocations: 5.429 MB / 0.6045 GB, free: 6.664 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.6929, allocations: 8.031 kB / 0.6045 GB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01981/0.7127, allocations: 5.282 MB / 0.6097 GB, free: 1.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.7239, allocations: 5.118 MB / 0.6147 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003066/0.7242, allocations: 390.7 kB / 0.6151 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001545/0.7258, allocations: 0.5196 MB / 0.6156 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02201/0.7478, allocations: 12.21 MB / 0.6275 GB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002224/0.7481, allocations: 67.5 kB / 0.6276 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007659/0.7489, allocations: 251.8 kB / 0.6278 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00151/0.7504, allocations: 1.07 MB / 0.6289 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01944/0.7698, allocations: 9.915 MB / 0.6385 GB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2735/1.043, allocations: 55.48 MB / 0.6927 GB, free: 52.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009083/1.053, allocations: 4.192 MB / 0.6968 GB, free: 51.78 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002847/1.055, allocations: 2.253 MB / 0.699 GB, free: 51.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0134/1.069, allocations: 9.272 MB / 0.7081 GB, free: 50.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/1.069, allocations: 52.27 kB / 0.7081 GB, free: 50.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=171): time 4.99e-06/1.069, allocations: 5.625 kB / 0.7081 GB, free: 50.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=197): time 0.03955/1.109, allocations: 17.44 MB / 0.7251 GB, free: 46.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/1.109, allocations: 205.6 kB / 0.7253 GB, free: 46.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006181/1.115, allocations: 4.654 MB / 0.7299 GB, free: 45.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005142/1.115, allocations: 55.23 kB / 0.7299 GB, free: 45.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00266/1.118, allocations: 3.65 MB / 0.7335 GB, free: 44.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007675/1.119, allocations: 0.7612 MB / 0.7342 GB, free: 43.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/1.119, allocations: 126.7 kB / 0.7344 GB, free: 43.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002788/1.119, allocations: 0.5679 MB / 0.7349 GB, free: 43.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/1.122, allocations: 2.092 MB / 0.737 GB, free: 42.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003796/1.126, allocations: 5.962 MB / 0.7428 GB, free: 36.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006994/1.133, allocations: 8.775 MB / 0.7514 GB, free: 29.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.981e-05/1.133, allocations: 41.81 kB / 0.7514 GB, free: 29.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01166/1.145, allocations: 8.514 MB / 0.7597 GB, free: 26.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.575e-05/1.145, allocations: 63.5 kB / 0.7598 GB, free: 26.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/1.145, allocations: 136.3 kB / 0.7599 GB, free: 26.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/1.147, allocations: 0.9183 MB / 0.7608 GB, free: 26.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003783/1.151, allocations: 1.432 MB / 0.7622 GB, free: 26.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007106/1.158, allocations: 7.439 MB / 0.7695 GB, free: 21.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004544/1.162, allocations: 340.6 kB / 0.7698 GB, free: 20.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006129/1.163, allocations: 384.4 kB / 0.7702 GB, free: 20.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (760): * Single equations (assignments): 755 * 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.003647/1.167, allocations: 2.482 MB / 0.7726 GB, free: 18.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006207/1.167, allocations: 418.6 kB / 0.773 GB, free: 18.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004826/1.172, allocations: 3.217 MB / 0.7761 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/1.172, allocations: 24.98 kB / 0.7761 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.172, allocations: 11.94 kB / 0.7762 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/1.172, allocations: 15.25 kB / 0.7762 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/1.186, allocations: 8.588 MB / 0.7846 GB, free: 8.336 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/1.186, allocations: 0 / 0.7846 GB, free: 8.336 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/1.187, allocations: 307.8 kB / 0.7849 GB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001907/1.189, allocations: 0.6846 MB / 0.7855 GB, free: 7.602 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/1.189, allocations: 35.8 kB / 0.7856 GB, free: 7.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005997/1.195, allocations: 6.561 MB / 0.792 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.195, allocations: 4 kB / 0.792 GB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00755/1.203, allocations: 5.676 MB / 0.7975 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.204, allocations: 460.2 kB / 0.7979 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003867/1.204, allocations: 32 kB / 0.798 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.205, allocations: 96.17 kB / 0.7981 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/1.206, allocations: 123.8 kB / 0.7982 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/1.206, allocations: 48 kB / 0.7982 GB, free: 11.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004487/1.21, allocations: 2.932 MB / 0.8011 GB, free: 9.398 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.21, allocations: 0 / 0.8011 GB, free: 9.398 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005588/1.216, allocations: 1.132 MB / 0.8022 GB, free: 8.273 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 142 * 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.0004875/1.216, allocations: 186.5 kB / 0.8024 GB, free: 8.098 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008182/1.225, allocations: 5.358 MB / 0.8076 GB, free: 3.371 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.225, allocations: 4 kB / 0.8076 GB, free: 3.367 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002705/1.227, allocations: 1.796 MB / 0.8094 GB, free: 1.766 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/1.231, allocations: 0.5475 MB / 0.8099 GB, free: 1.305 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/1.25, allocations: 12.81 MB / 0.8224 GB, free: 5.617 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004495/1.254, allocations: 3.858 MB / 0.8262 GB, free: 2.645 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004899/1.259, allocations: 2.001 MB / 0.8281 GB, free: 1.375 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008281/1.26, allocations: 271 kB / 0.8284 GB, free: 1.117 MB / 474.7 MB Notification: Performance of SimCode: time 9.32e-07/1.26, allocations: 0 / 0.8284 GB, free: 1.117 MB / 474.7 MB Notification: Performance of Templates: time 0.2805/1.541, allocations: 39.51 MB / 0.867 GB, free: 140 MB / 0.4948 GB 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/jenkins1/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