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.001089/0.001089, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, allocations: 227.2 MB / 245 MB, free: 5.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009494/0.0009493, allocations: 103.5 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002339/0.0002339, allocations: 4 kB / 357.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2065, allocations: 51.49 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.3233, allocations: 100.1 MB / 0.4976 GB, free: 6.418 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.3236, allocations: 95.94 kB / 0.4977 GB, free: 6.324 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3836/0.7072, allocations: 106.5 MB / 0.6017 GB, free: 8.082 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.889e-06/0.7073, allocations: 0 / 0.6017 GB, free: 8.082 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003853/0.7077, allocations: 108 kB / 0.6018 GB, free: 7.977 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.01686/0.7246, allocations: 5.605 MB / 0.6072 GB, free: 2.297 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.7246, allocations: 8.031 kB / 0.6073 GB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02516/0.7498, allocations: 6.924 MB / 0.614 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01649/0.7663, allocations: 5.816 MB / 0.6197 GB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004631/0.7668, allocations: 390.3 kB / 0.6201 GB, free: 5.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002889/0.7697, allocations: 0.5114 MB / 0.6206 GB, free: 4.578 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/0.7955, allocations: 12.32 MB / 0.6326 GB, free: 7.105 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002013/0.7958, allocations: 71.39 kB / 0.6327 GB, free: 7.035 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008276/0.7966, allocations: 247.9 kB / 0.6329 GB, free: 6.793 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001334/0.798, allocations: 1.066 MB / 0.6339 GB, free: 5.727 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/0.8171, allocations: 10.06 MB / 0.6438 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.243/1.06, allocations: 55.56 MB / 0.698 GB, free: 50.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00836/1.069, allocations: 4.187 MB / 0.7021 GB, free: 50.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.011/1.08, allocations: 9.361 MB / 0.7113 GB, free: 48.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/1.08, allocations: 56.62 kB / 0.7113 GB, free: 48.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=171): time 3.496e-06/1.08, allocations: 0 / 0.7113 GB, free: 48.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=197): time 0.03706/1.117, allocations: 17.7 MB / 0.7286 GB, free: 44.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/1.117, allocations: 203.5 kB / 0.7288 GB, free: 44.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00492/1.122, allocations: 4.14 MB / 0.7328 GB, free: 44.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002321/1.122, allocations: 52.75 kB / 0.7329 GB, free: 44.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00148/1.123, allocations: 3.661 MB / 0.7365 GB, free: 42.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005081/1.124, allocations: 0.7549 MB / 0.7372 GB, free: 41.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/1.124, allocations: 121.8 kB / 0.7373 GB, free: 41.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002328/1.124, allocations: 0.5736 MB / 0.7379 GB, free: 41.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/1.127, allocations: 2.092 MB / 0.7399 GB, free: 41.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003384/1.13, allocations: 5.937 MB / 0.7457 GB, free: 35.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003369/1.134, allocations: 3.458 MB / 0.7491 GB, free: 34.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.406e-05/1.134, allocations: 39.31 kB / 0.7491 GB, free: 34.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01042/1.144, allocations: 8.517 MB / 0.7574 GB, free: 31.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/1.144, allocations: 66.34 kB / 0.7575 GB, free: 31.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-05/1.144, allocations: 134.6 kB / 0.7576 GB, free: 31.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002193/1.146, allocations: 0.9364 MB / 0.7586 GB, free: 31.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003477/1.15, allocations: 1.428 MB / 0.7599 GB, free: 31.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006915/1.157, allocations: 7.614 MB / 0.7674 GB, free: 26.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003829/1.161, allocations: 345.3 kB / 0.7677 GB, free: 26.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004226/1.161, allocations: 383.8 kB / 0.7681 GB, free: 26.32 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.003233/1.164, allocations: 2.484 MB / 0.7705 GB, free: 25.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005335/1.165, allocations: 415.2 kB / 0.7709 GB, free: 24.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004686/1.17, allocations: 3.223 MB / 0.774 GB, free: 22.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/1.17, allocations: 20 kB / 0.7741 GB, free: 22.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.17, allocations: 11.05 kB / 0.7741 GB, free: 22.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/1.17, allocations: 7.172 kB / 0.7741 GB, free: 22.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/1.182, allocations: 8.587 MB / 0.7825 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/1.182, allocations: 4 kB / 0.7825 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/1.183, allocations: 301.8 kB / 0.7828 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001939/1.185, allocations: 0.686 MB / 0.7834 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/1.185, allocations: 43.14 kB / 0.7835 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00605/1.191, allocations: 6.735 MB / 0.7901 GB, free: 8.184 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.191, allocations: 0 / 0.7901 GB, free: 8.184 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006534/1.198, allocations: 5.795 MB / 0.7957 GB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009588/1.199, allocations: 450.1 kB / 0.7961 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003707/1.199, allocations: 34.62 kB / 0.7962 GB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/1.201, allocations: 91.61 kB / 0.7963 GB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/1.201, allocations: 120.1 kB / 0.7964 GB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.201, allocations: 56.25 kB / 0.7964 GB, free: 2.402 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003792/1.205, allocations: 2.927 MB / 0.7993 GB, free: 0 / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.205, allocations: 336 / 0.7993 GB, free: 0 / 442.7 MB Notification: Performance of remove unused functions: time 0.006202/1.211, allocations: 1.191 MB / 0.8005 GB, free: 14.98 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.0004513/1.211, allocations: 178.2 kB / 0.8006 GB, free: 14.81 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007811/1.219, allocations: 5.359 MB / 0.8059 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.219, allocations: 0 / 0.8059 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002572/1.222, allocations: 1.806 MB / 0.8076 GB, free: 8.473 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/1.224, allocations: 0.5262 MB / 0.8081 GB, free: 8.039 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/1.244, allocations: 12.86 MB / 0.8207 GB, free: 12.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003957/1.248, allocations: 3.968 MB / 0.8246 GB, free: 9.621 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004578/1.252, allocations: 2.004 MB / 0.8265 GB, free: 8.352 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006335/1.253, allocations: 267 kB / 0.8268 GB, free: 8.098 MB / 474.7 MB Notification: Performance of SimCode: time 7.31e-07/1.253, allocations: 0 / 0.8268 GB, free: 8.098 MB / 474.7 MB Notification: Performance of Templates: time 0.2491/1.502, allocations: 39.29 MB / 0.8651 GB, free: 122.8 MB / 490.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