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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 94.75 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002204/0.0002205, allocations: 7.984 kB / 306.6 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09459/0.09482, allocations: 51.49 MB / 358.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.2045/0.2993, allocations: 59.54 MB / 417.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03195/0.3313, allocations: 13.96 MB / 431.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01144/0.3428, allocations: 303.2 kB / 431.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009193/0.352, allocations: 2.994 MB / 434.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02474/0.3768, allocations: 8.532 MB / 443.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004042/0.3808, allocations: 0.7924 MB / 444.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0673/0.4482, allocations: 48.57 MB / 492.8 MB, free: 4.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008433/0.4566, allocations: 6.5 MB / 499.3 MB, free: 14.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002/0.4587, allocations: 1.351 MB / 0.4889 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.4608, allocations: 1.756 MB / 0.4906 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000447/0.4612, allocations: 180 kB / 0.4908 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.4628, allocations: 0.9441 MB / 0.4917 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001683/0.4645, allocations: 2.018 MB / 0.4937 GB, free: 8.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009523/0.4655, allocations: 1.053 MB / 0.4947 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006814/0.4723, allocations: 7.221 MB / 0.5017 GB, free: 15.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4724, allocations: 0 / 0.5017 GB, free: 15.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4724, allocations: 0 / 0.5017 GB, free: 15.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002444/0.4726, allocations: 0 / 0.5017 GB, free: 15.72 MB / 430.1 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.01259/0.4852, allocations: 5.397 MB / 0.507 GB, free: 10.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.4853, allocations: 8.031 kB / 0.507 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04311/0.5284, allocations: 8.044 MB / 0.5149 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009107/0.5375, allocations: 3.876 MB / 0.5187 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.5378, allocations: 299.8 kB / 0.5189 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001436/0.5392, allocations: 431.6 kB / 0.5193 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02122/0.5605, allocations: 11.74 MB / 0.5308 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/0.5607, allocations: 51.52 kB / 0.5309 GB, free: 1.004 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005401/0.5612, allocations: 191.9 kB / 0.531 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2082/0.7694, allocations: 2.081 MB / 0.5331 GB, free: 148.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02287/0.7923, allocations: 9.984 MB / 0.5428 GB, free: 146.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05227/0.8447, allocations: 45.53 MB / 0.5873 GB, free: 107.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009493/0.8542, allocations: 4.263 MB / 0.5914 GB, free: 103.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01314/0.8674, allocations: 9.531 MB / 0.6008 GB, free: 93.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.8675, allocations: 51.56 kB / 0.6008 GB, free: 93.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=171): time 4.168e-06/0.8675, allocations: 0 / 0.6008 GB, free: 93.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=197): time 0.04363/0.9111, allocations: 18.54 MB / 0.6189 GB, free: 75.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.9112, allocations: 205.2 kB / 0.6191 GB, free: 74.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004962/0.9162, allocations: 4.936 MB / 0.6239 GB, free: 69.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002954/0.9165, allocations: 49.7 kB / 0.624 GB, free: 69.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001577/0.9181, allocations: 3.652 MB / 0.6275 GB, free: 66.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006213/0.9187, allocations: 0.7501 MB / 0.6283 GB, free: 65.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.9189, allocations: 124 kB / 0.6284 GB, free: 65.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002639/0.9192, allocations: 0.5744 MB / 0.629 GB, free: 64.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002555/0.9218, allocations: 2.171 MB / 0.6311 GB, free: 62.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003651/0.9254, allocations: 5.986 MB / 0.6369 GB, free: 54.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003519/0.929, allocations: 3.537 MB / 0.6404 GB, free: 51.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.955e-05/0.929, allocations: 36 kB / 0.6404 GB, free: 51.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.01116/0.9402, allocations: 8.746 MB / 0.6489 GB, free: 42.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.291e-05/0.9403, allocations: 60 kB / 0.649 GB, free: 42.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.373e-05/0.9404, allocations: 136 kB / 0.6491 GB, free: 42.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002616/0.943, allocations: 1.086 MB / 0.6502 GB, free: 41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003806/0.9468, allocations: 1.435 MB / 0.6516 GB, free: 39.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0084/0.9552, allocations: 8.391 MB / 0.6598 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004915/0.9602, allocations: 355.5 kB / 0.6601 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005334/0.9607, allocations: 380 kB / 0.6605 GB, free: 30.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (756): * Single equations (assignments): 751 * 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.003137/0.9639, allocations: 2.482 MB / 0.6629 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005859/0.9645, allocations: 414.7 kB / 0.6633 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005204/0.9697, allocations: 3.499 MB / 0.6667 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/0.9697, allocations: 21.17 kB / 0.6667 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.9697, allocations: 8 kB / 0.6668 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.9697, allocations: 7.969 kB / 0.6668 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/0.983, allocations: 9.063 MB / 0.6756 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.9831, allocations: 4.031 kB / 0.6756 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/0.9844, allocations: 307.5 kB / 0.6759 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002333/0.9868, allocations: 0.8495 MB / 0.6767 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.9869, allocations: 35.95 kB / 0.6768 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007136/0.9941, allocations: 7.531 MB / 0.6841 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9941, allocations: 4 kB / 0.6841 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007572/1.002, allocations: 6.171 MB / 0.6902 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/1.003, allocations: 471.6 kB / 0.6906 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004613/1.003, allocations: 32.38 kB / 0.6906 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.005, allocations: 103.9 kB / 0.6907 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000294/1.005, allocations: 121.1 kB / 0.6909 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/1.005, allocations: 51.98 kB / 0.6909 GB, free: 14.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004389/1.01, allocations: 3.157 MB / 0.694 GB, free: 11.46 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.733e-06/1.01, allocations: 0 / 0.694 GB, free: 11.46 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005624/1.015, allocations: 1.162 MB / 0.6951 GB, free: 10.31 MB / 462.1 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.00047/1.016, allocations: 185.4 kB / 0.6953 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00838/1.024, allocations: 5.509 MB / 0.7007 GB, free: 4.621 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.024, allocations: 0 / 0.7007 GB, free: 4.621 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002768/1.027, allocations: 1.898 MB / 0.7025 GB, free: 2.703 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/1.029, allocations: 0.5184 MB / 0.703 GB, free: 2.191 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.19/1.219, allocations: 12.82 MB / 0.7156 GB, free: 148.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005134/1.225, allocations: 3.972 MB / 0.7194 GB, free: 147.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005311/1.23, allocations: 2.001 MB / 0.7214 GB, free: 147.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007922/1.231, allocations: 272 kB / 0.7216 GB, free: 147.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/1.231, allocations: 4.062 kB / 0.7217 GB, free: 147.2 MB / 462.1 MB Notification: Performance of Templates: time 0.06471/1.295, allocations: 41.19 MB / 0.7619 GB, free: 117.1 MB / 462.1 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