Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 180.3 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009536/0.0009535, allocations: 102.9 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000276/0.0002761, allocations: 4 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.209, allocations: 50.41 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.3268, allocations: 99.48 MB / 0.4892 GB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.3271, allocations: 101.1 kB / 0.4893 GB, free: 12.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4324/0.7595, allocations: 104.3 MB / 0.5912 GB, free: 21.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.7595, allocations: 4 kB / 0.5912 GB, free: 21.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002317/0.7597, allocations: 104 kB / 0.5913 GB, free: 21.14 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.01313/0.7729, allocations: 5.551 MB / 0.5967 GB, free: 15.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.7729, allocations: 8.031 kB / 0.5967 GB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02407/0.797, allocations: 6.892 MB / 0.6034 GB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.015/0.8121, allocations: 6.458 MB / 0.6097 GB, free: 2.082 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/0.8123, allocations: 390.3 kB / 0.6101 GB, free: 1.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001619/0.814, allocations: 0.5076 MB / 0.6106 GB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02506/0.839, allocations: 12.32 MB / 0.6227 GB, free: 3.719 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002359/0.8393, allocations: 79.23 kB / 0.6227 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001158/0.8405, allocations: 247.9 kB / 0.623 GB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001388/0.8419, allocations: 1.066 MB / 0.624 GB, free: 2.328 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01988/0.8618, allocations: 10.06 MB / 0.6338 GB, free: 8.254 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.258/1.12, allocations: 55.55 MB / 0.6881 GB, free: 41.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009233/1.129, allocations: 4.189 MB / 0.6922 GB, free: 41.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01387/1.143, allocations: 9.365 MB / 0.7013 GB, free: 39.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/1.143, allocations: 52.06 kB / 0.7014 GB, free: 39.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=171): time 5.23e-06/1.143, allocations: 0 / 0.7014 GB, free: 39.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=197): time 0.04643/1.19, allocations: 17.7 MB / 0.7186 GB, free: 35.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.18e-05/1.19, allocations: 202.6 kB / 0.7188 GB, free: 35.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009075/1.199, allocations: 4.144 MB / 0.7229 GB, free: 34.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000428/1.199, allocations: 51.7 kB / 0.7229 GB, free: 34.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002626/1.202, allocations: 3.651 MB / 0.7265 GB, free: 33.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009647/1.203, allocations: 0.7569 MB / 0.7272 GB, free: 32.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006619/1.204, allocations: 131.1 kB / 0.7274 GB, free: 32.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004892/1.204, allocations: 0.576 MB / 0.7279 GB, free: 32.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003059/1.207, allocations: 2.093 MB / 0.73 GB, free: 31.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004778/1.212, allocations: 5.932 MB / 0.7358 GB, free: 25.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00473/1.217, allocations: 3.471 MB / 0.7392 GB, free: 24.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001658/1.217, allocations: 40.16 kB / 0.7392 GB, free: 24.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01459/1.231, allocations: 8.503 MB / 0.7475 GB, free: 21.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/1.232, allocations: 69.38 kB / 0.7476 GB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001908/1.232, allocations: 140.6 kB / 0.7477 GB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/1.234, allocations: 0.9318 MB / 0.7486 GB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004313/1.239, allocations: 1.433 MB / 0.75 GB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007704/1.246, allocations: 7.61 MB / 0.7574 GB, free: 16.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004724/1.251, allocations: 335 kB / 0.7578 GB, free: 16.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009934/1.252, allocations: 391.9 kB / 0.7581 GB, free: 15.64 MB / 426.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.004604/1.257, allocations: 2.483 MB / 0.7606 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008702/1.258, allocations: 414.6 kB / 0.761 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005901/1.263, allocations: 3.221 MB / 0.7641 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/1.264, allocations: 27.67 kB / 0.7641 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/1.264, allocations: 4 kB / 0.7641 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/1.264, allocations: 14.5 kB / 0.7641 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/1.28, allocations: 8.58 MB / 0.7725 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/1.28, allocations: 4 kB / 0.7725 GB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/1.281, allocations: 301.5 kB / 0.7728 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002072/1.283, allocations: 0.6864 MB / 0.7735 GB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/1.283, allocations: 39.75 kB / 0.7735 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009018/1.292, allocations: 6.832 MB / 0.7802 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/1.292, allocations: 11.81 kB / 0.7802 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008952/1.301, allocations: 5.779 MB / 0.7858 GB, free: 7.555 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/1.303, allocations: 457.4 kB / 0.7863 GB, free: 7.098 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004908/1.303, allocations: 32 kB / 0.7863 GB, free: 7.066 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.305, allocations: 102.4 kB / 0.7864 GB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/1.305, allocations: 118.3 kB / 0.7865 GB, free: 6.922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/1.305, allocations: 48 kB / 0.7866 GB, free: 6.875 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004438/1.31, allocations: 2.93 MB / 0.7894 GB, free: 4.469 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.31, allocations: 0 / 0.7894 GB, free: 4.469 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005319/1.315, allocations: 1.135 MB / 0.7905 GB, free: 3.344 MB / 442.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.0004424/1.315, allocations: 180 kB / 0.7907 GB, free: 3.172 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009461/1.325, allocations: 5.416 MB / 0.796 GB, free: 14.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/1.325, allocations: 3.5 kB / 0.796 GB, free: 14.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002829/1.328, allocations: 1.813 MB / 0.7978 GB, free: 12.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002951/1.331, allocations: 0.5193 MB / 0.7983 GB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02158/1.352, allocations: 12.75 MB / 0.8107 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006516/1.359, allocations: 4.071 MB / 0.8147 GB, free: 14.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005477/1.364, allocations: 1.996 MB / 0.8167 GB, free: 12.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.365, allocations: 271.4 kB / 0.8169 GB, free: 12.55 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/1.365, allocations: 7.719 kB / 0.8169 GB, free: 12.55 MB / 474.7 MB Notification: Performance of Templates: time 0.3221/1.687, allocations: 39.3 MB / 0.8553 GB, free: 112.8 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches