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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 104.6 kB / 17.16 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 47.94 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1103, allocations: 46.62 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.2664/0.3768, allocations: 70.17 MB / 396.8 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03448/0.4113, allocations: 14.05 MB / 410.8 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02237/0.4338, allocations: 306.5 kB / 411.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007628/0.4415, allocations: 4.238 MB / 415.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00634/0.4478, allocations: 2.123 MB / 417.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.4501, allocations: 0.8591 MB / 418.3 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01006/0.4602, allocations: 8.521 MB / 426.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006901/0.4671, allocations: 5.181 MB / 432 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003992/0.4712, allocations: 1.948 MB / 434 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005351/0.4765, allocations: 3.125 MB / 437.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001597/0.4782, allocations: 344 kB / 437.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003747/0.4819, allocations: 1.273 MB / 438.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003936/0.4859, allocations: 2.526 MB / 441.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006168/0.4921, allocations: 2.863 MB / 444.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.5045, allocations: 9.185 MB / 453.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.5045, allocations: 0 / 453.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5046, allocations: 0 / 453.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003171/0.5049, allocations: 0 / 453.3 MB, free: 2.738 MB / 350.1 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.01535/0.5202, allocations: 6.34 MB / 459.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5203, allocations: 12.03 kB / 459.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.5313, allocations: 2.605 MB / 462.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008994/0.5404, allocations: 3.989 MB / 466.2 MB, free: 5.801 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003181/0.5407, allocations: 314.8 kB / 466.5 MB, free: 5.531 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002542/0.5433, allocations: 446.8 kB / 467 MB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03005/0.5733, allocations: 12.24 MB / 479.2 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003809/0.5738, allocations: 55.58 kB / 479.3 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002063/0.5759, allocations: 197.7 kB / 479.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004014/0.5799, allocations: 2.203 MB / 481.7 MB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0217/0.6016, allocations: 10.54 MB / 492.2 MB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07355/0.6752, allocations: 47.56 MB / 0.5271 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/0.6872, allocations: 4.594 MB / 0.5316 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003963/0.6911, allocations: 2.647 MB / 0.5342 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2598/0.951, allocations: 10.43 MB / 0.5444 GB, free: 106.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/0.9511, allocations: 53.25 kB / 0.5444 GB, free: 106.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=192): time 6.592e-06/0.9511, allocations: 1.594 kB / 0.5444 GB, free: 106.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=218): time 0.06495/1.016, allocations: 20.99 MB / 0.5649 GB, free: 101.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.617e-05/1.016, allocations: 203.5 kB / 0.5651 GB, free: 101.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008908/1.025, allocations: 4.817 MB / 0.5698 GB, free: 99.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006872/1.026, allocations: 63.44 kB / 0.5699 GB, free: 99.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002522/1.028, allocations: 3.721 MB / 0.5735 GB, free: 96.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001247/1.03, allocations: 0.8311 MB / 0.5743 GB, free: 96.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002223/1.032, allocations: 1.395 MB / 0.5757 GB, free: 95.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.321e-05/1.032, allocations: 305.1 kB / 0.576 GB, free: 95.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004512/1.037, allocations: 2.574 MB / 0.5785 GB, free: 93.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005625/1.042, allocations: 6.562 MB / 0.5849 GB, free: 84.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/1.055, allocations: 9.8 MB / 0.5945 GB, free: 73.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001534/1.055, allocations: 41.09 kB / 0.5945 GB, free: 73.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02035/1.076, allocations: 10.27 MB / 0.6046 GB, free: 64.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.323e-05/1.076, allocations: 64 kB / 0.6046 GB, free: 64.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/1.076, allocations: 140 kB / 0.6047 GB, free: 63.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003906/1.08, allocations: 1.618 MB / 0.6063 GB, free: 62.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005126/1.085, allocations: 1.563 MB / 0.6079 GB, free: 60.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/1.096, allocations: 9.554 MB / 0.6172 GB, free: 51.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005686/1.102, allocations: 386.4 kB / 0.6176 GB, free: 50.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/1.103, allocations: 405.3 kB / 0.6179 GB, free: 50.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 (834): * Single equations (assignments): 829 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005305/1.108, allocations: 2.564 MB / 0.6204 GB, free: 47.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/1.109, allocations: 425.3 kB / 0.6208 GB, free: 47.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008688/1.118, allocations: 4.622 MB / 0.6254 GB, free: 42.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.297e-05/1.118, allocations: 20 kB / 0.6254 GB, free: 42.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/1.118, allocations: 8 kB / 0.6254 GB, free: 42.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.77e-05/1.118, allocations: 15.95 kB / 0.6254 GB, free: 42.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02245/1.141, allocations: 10.49 MB / 0.6356 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/1.141, allocations: 8.125 kB / 0.6357 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/1.143, allocations: 349 kB / 0.636 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003834/1.147, allocations: 1.351 MB / 0.6373 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00036/1.147, allocations: 43.98 kB / 0.6373 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009383/1.156, allocations: 8.74 MB / 0.6459 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.156, allocations: 2.438 kB / 0.6459 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/1.168, allocations: 7.565 MB / 0.6533 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002525/1.171, allocations: 0.7856 MB / 0.654 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001287/1.172, allocations: 32.19 kB / 0.6541 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002442/1.174, allocations: 131.8 kB / 0.6542 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005231/1.175, allocations: 128.5 kB / 0.6543 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/1.175, allocations: 66.02 kB / 0.6544 GB, free: 12.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005471/1.181, allocations: 3.037 MB / 0.6573 GB, free: 9.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.21e-07/1.181, allocations: 0 / 0.6573 GB, free: 9.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007481/1.188, allocations: 1.267 MB / 0.6586 GB, free: 8.668 MB / 446.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 (169): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006818/1.189, allocations: 176.3 kB / 0.6588 GB, free: 8.512 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009994/1.199, allocations: 6.371 MB / 0.665 GB, free: 2.523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.199, allocations: 4.562 kB / 0.665 GB, free: 2.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003558/1.203, allocations: 2.194 MB / 0.6671 GB, free: 344 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005308/1.208, allocations: 0.5261 MB / 0.6676 GB, free: 15.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02647/1.234, allocations: 14.37 MB / 0.6817 GB, free: 1.449 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008224/1.243, allocations: 4.008 MB / 0.6856 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006653/1.249, allocations: 2.079 MB / 0.6876 GB, free: 11.33 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/1.251, allocations: 283.4 kB / 0.6879 GB, free: 11.05 MB / 478.1 MB Notification: Performance of SimCode: time 2.745e-06/1.251, allocations: 0 / 0.6879 GB, free: 11.05 MB / 478.1 MB Notification: Performance of Templates: time 0.292/1.543, allocations: 45.65 MB / 0.7325 GB, free: 187 MB / 494.1 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