Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 181.2 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008972/0.000897, allocations: 96.08 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002596/0.0002596, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2248, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.3392, allocations: 98.56 MB / 474.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.3395, allocations: 91.95 kB / 474.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4798/0.8194, allocations: 107 MB / 0.5679 GB, free: 48.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.8194, allocations: 0 / 0.5679 GB, free: 48.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000321/0.8197, allocations: 108 kB / 0.568 GB, free: 48.46 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: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.01698/0.8367, allocations: 5.736 MB / 0.5736 GB, free: 42.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.8368, allocations: 8.031 kB / 0.5736 GB, free: 42.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02559/0.8624, allocations: 6.927 MB / 0.5804 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01866/0.8811, allocations: 6.871 MB / 0.5871 GB, free: 28.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003919/0.8815, allocations: 402.7 kB / 0.5874 GB, free: 28.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002747/0.8843, allocations: 0.5387 MB / 0.588 GB, free: 27.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02953/0.9138, allocations: 12.79 MB / 0.6005 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003657/0.9143, allocations: 71.39 kB / 0.6005 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002315/0.9166, allocations: 259.9 kB / 0.6008 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001774/0.9184, allocations: 1.141 MB / 0.6019 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02172/0.9401, allocations: 10.48 MB / 0.6121 GB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3323/1.272, allocations: 57.19 MB / 0.668 GB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/1.283, allocations: 4.404 MB / 0.6723 GB, free: 45.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01523/1.298, allocations: 9.97 MB / 0.682 GB, free: 44.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/1.298, allocations: 57.78 kB / 0.6821 GB, free: 44.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=192): time 6.402e-06/1.298, allocations: 0 / 0.6821 GB, free: 44.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.06725/1.365, allocations: 18.98 MB / 0.7006 GB, free: 40.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.956e-05/1.365, allocations: 208.9 kB / 0.7008 GB, free: 40 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008824/1.374, allocations: 4.251 MB / 0.705 GB, free: 39.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004055/1.375, allocations: 55.73 kB / 0.705 GB, free: 38.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002813/1.377, allocations: 3.776 MB / 0.7087 GB, free: 36.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001197/1.379, allocations: 0.8326 MB / 0.7095 GB, free: 35.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007275/1.379, allocations: 131.1 kB / 0.7096 GB, free: 35.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005822/1.38, allocations: 0.5802 MB / 0.7102 GB, free: 34.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003861/1.384, allocations: 2.255 MB / 0.7124 GB, free: 34.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005917/1.39, allocations: 6.222 MB / 0.7185 GB, free: 28.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005704/1.396, allocations: 3.677 MB / 0.7221 GB, free: 26.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001721/1.396, allocations: 41 kB / 0.7221 GB, free: 26.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=860) (initialization): time 0.0167/1.413, allocations: 8.978 MB / 0.7309 GB, free: 24.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001609/1.413, allocations: 65.72 kB / 0.7309 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002729/1.413, allocations: 143.4 kB / 0.7311 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002607/1.416, allocations: 0.9389 MB / 0.732 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004843/1.42, allocations: 1.515 MB / 0.7335 GB, free: 23.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007974/1.428, allocations: 7.598 MB / 0.7409 GB, free: 16.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006441/1.435, allocations: 362.2 kB / 0.7412 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.436, allocations: 399.5 kB / 0.7416 GB, free: 15.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 638 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],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 (798): * Single equations (assignments): 793 * 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.006098/1.442, allocations: 2.577 MB / 0.7441 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001255/1.444, allocations: 430.5 kB / 0.7445 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007241/1.451, allocations: 3.61 MB / 0.7481 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-05/1.451, allocations: 24 kB / 0.7481 GB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/1.451, allocations: 7.312 kB / 0.7481 GB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/1.451, allocations: 20.8 kB / 0.7481 GB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01821/1.469, allocations: 9.306 MB / 0.7572 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/1.469, allocations: 0 / 0.7572 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.471, allocations: 339.1 kB / 0.7575 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/1.473, allocations: 0.6908 MB / 0.7582 GB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/1.473, allocations: 43.47 kB / 0.7582 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007778/1.481, allocations: 6.737 MB / 0.7648 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.481, allocations: 4 kB / 0.7648 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/1.491, allocations: 6.38 MB / 0.7711 GB, free: 5.402 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002938/1.494, allocations: 0.7352 MB / 0.7718 GB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/1.496, allocations: 45.8 kB / 0.7718 GB, free: 4.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/1.498, allocations: 103.8 kB / 0.7719 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004461/1.499, allocations: 134.6 kB / 0.772 GB, free: 4.504 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/1.499, allocations: 55.14 kB / 0.7721 GB, free: 4.453 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00764/1.506, allocations: 3.01 MB / 0.775 GB, free: 1.984 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.1e-07/1.506, allocations: 4 kB / 0.775 GB, free: 1.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008056/1.515, allocations: 1.19 MB / 0.7762 GB, free: 0.7969 MB / 426.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 (169): * Single equations (assignments): 164 * 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.0007151/1.515, allocations: 175.5 kB / 0.7764 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0128/1.528, allocations: 5.914 MB / 0.7821 GB, free: 11.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.528, allocations: 0 / 0.7821 GB, free: 11.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003922/1.532, allocations: 2.002 MB / 0.7841 GB, free: 10.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003808/1.536, allocations: 0.5253 MB / 0.7846 GB, free: 9.555 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0283/1.564, allocations: 13.41 MB / 0.7977 GB, free: 12.13 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007077/1.571, allocations: 4.122 MB / 0.8017 GB, free: 8.004 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006328/1.578, allocations: 2.094 MB / 0.8038 GB, free: 5.918 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008657/1.579, allocations: 290.9 kB / 0.8041 GB, free: 5.637 MB / 458.7 MB Notification: Performance of SimCode: time 4.488e-06/1.579, allocations: 0 / 0.8041 GB, free: 5.637 MB / 458.7 MB Notification: Performance of Templates: time 0.3041/1.883, allocations: 41.07 MB / 0.8442 GB, free: 126.7 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches