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.001137/0.001136, allocations: 102.5 kB / 17.73 MB, free: 5.371 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.001201/0.001202, allocations: 191 kB / 18.66 MB, free: 4.445 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.45/1.45, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001266/0.001266, allocations: 47.92 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09431/0.09559, allocations: 46.62 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.1878/0.2835, allocations: 14.23 MB / 389.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009627/0.2931, allocations: 4.644 MB / 394 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002695/0.2959, allocations: 92.16 kB / 394.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006778/0.3027, allocations: 4.227 MB / 398.3 MB, free: 156 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006147/0.3089, allocations: 2.26 MB / 400.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.3109, allocations: 0.9334 MB / 401.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008224/0.3191, allocations: 5.896 MB / 407.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007212/0.3264, allocations: 5.299 MB / 412.7 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003516/0.3299, allocations: 2.206 MB / 414.9 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003867/0.3338, allocations: 2.944 MB / 417.9 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008125/0.3346, allocations: 496 kB / 418.4 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.337, allocations: 1.366 MB / 419.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002152/0.3391, allocations: 2.65 MB / 422.4 MB, free: 212 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002768/0.3419, allocations: 3.011 MB / 425.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008958/0.3509, allocations: 9.562 MB / 434.9 MB, free: 3.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3509, allocations: 0 / 434.9 MB, free: 3.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.3509, allocations: 0 / 434.9 MB, free: 3.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002037/0.3511, allocations: 4 kB / 434.9 MB, free: 3.582 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.0138/0.365, allocations: 6.343 MB / 441.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.365, allocations: 12.03 kB / 441.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.3768, allocations: 2.614 MB / 443.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008786/0.3857, allocations: 4.039 MB / 448 MB, free: 6.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/0.3859, allocations: 312.5 kB / 448.3 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009776/0.3869, allocations: 451.9 kB / 448.7 MB, free: 5.676 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01861/0.4055, allocations: 12.23 MB / 460.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001238/0.4057, allocations: 59.48 kB / 461 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004583/0.4061, allocations: 199.8 kB / 461.2 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003487/0.4096, allocations: 2.202 MB / 463.4 MB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01772/0.4274, allocations: 10.54 MB / 473.9 MB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05633/0.4837, allocations: 47.34 MB / 0.5091 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.4949, allocations: 4.605 MB / 0.5135 GB, free: 6.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003386/0.4983, allocations: 2.639 MB / 0.5161 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01574/0.514, allocations: 10.45 MB / 0.5263 GB, free: 8.902 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.5141, allocations: 51.88 kB / 0.5264 GB, free: 8.844 MB / 462.1 MB Notification: Performance of pre-optimization done (n=192): time 4.008e-06/0.5141, allocations: 0 / 0.5264 GB, free: 8.844 MB / 462.1 MB Notification: Performance of matching and sorting (n=218): time 0.05452/0.5686, allocations: 20.98 MB / 0.5469 GB, free: 3.758 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.5689, allocations: 213.2 kB / 0.5471 GB, free: 3.504 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2177/0.7866, allocations: 4.815 MB / 0.5518 GB, free: 148.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006937/0.7873, allocations: 56.83 kB / 0.5518 GB, free: 148.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003125/0.7905, allocations: 3.725 MB / 0.5555 GB, free: 146.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001249/0.7917, allocations: 0.8316 MB / 0.5563 GB, free: 145.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002408/0.7941, allocations: 1.397 MB / 0.5576 GB, free: 145.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.941e-05/0.7942, allocations: 306.4 kB / 0.5579 GB, free: 144.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004435/0.7987, allocations: 2.583 MB / 0.5604 GB, free: 144.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006365/0.805, allocations: 6.558 MB / 0.5669 GB, free: 137.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/0.817, allocations: 9.803 MB / 0.5764 GB, free: 129.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002528/0.8173, allocations: 39.94 kB / 0.5765 GB, free: 129.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02073/0.8381, allocations: 10.26 MB / 0.5865 GB, free: 126.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.8382, allocations: 66.97 kB / 0.5865 GB, free: 126.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/0.8383, allocations: 138.2 kB / 0.5867 GB, free: 126.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003995/0.8423, allocations: 1.615 MB / 0.5883 GB, free: 125.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004944/0.8473, allocations: 1.56 MB / 0.5898 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/0.858, allocations: 10.27 MB / 0.5998 GB, free: 119.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005755/0.8638, allocations: 373.6 kB / 0.6002 GB, free: 119.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/0.865, allocations: 408 kB / 0.6006 GB, free: 119.2 MB / 478.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.004126/0.8691, allocations: 2.576 MB / 0.6031 GB, free: 116.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008395/0.87, allocations: 430.4 kB / 0.6035 GB, free: 116.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007252/0.8772, allocations: 4.617 MB / 0.608 GB, free: 112.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.031e-05/0.8773, allocations: 28 kB / 0.608 GB, free: 112.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.8773, allocations: 7.75 kB / 0.608 GB, free: 112.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.8773, allocations: 11.97 kB / 0.608 GB, free: 112.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/0.8949, allocations: 10.43 MB / 0.6182 GB, free: 101.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/0.895, allocations: 4.031 kB / 0.6182 GB, free: 101.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.8966, allocations: 343.5 kB / 0.6186 GB, free: 101.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003584/0.9002, allocations: 1.354 MB / 0.6199 GB, free: 100.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/0.9004, allocations: 47.92 kB / 0.6199 GB, free: 100.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009335/0.9097, allocations: 9.387 MB / 0.6291 GB, free: 90.44 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.9098, allocations: 4 kB / 0.6291 GB, free: 90.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/0.9208, allocations: 7.562 MB / 0.6365 GB, free: 82.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002494/0.9233, allocations: 0.7806 MB / 0.6372 GB, free: 82.04 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/0.9243, allocations: 36 kB / 0.6373 GB, free: 82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/0.9263, allocations: 127.8 kB / 0.6374 GB, free: 81.88 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004289/0.9267, allocations: 140.3 kB / 0.6375 GB, free: 81.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.9269, allocations: 55.98 kB / 0.6376 GB, free: 81.69 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004351/0.9312, allocations: 3.041 MB / 0.6406 GB, free: 78.65 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9313, allocations: 0 / 0.6406 GB, free: 78.65 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007784/0.9391, allocations: 1.262 MB / 0.6418 GB, free: 77.39 MB / 478.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.0006251/0.9397, allocations: 175.5 kB / 0.642 GB, free: 77.22 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009396/0.9491, allocations: 6.392 MB / 0.6482 GB, free: 70.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.9492, allocations: 0 / 0.6482 GB, free: 70.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002927/0.9521, allocations: 2.2 MB / 0.6503 GB, free: 68.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003662/0.9558, allocations: 0.5583 MB / 0.6509 GB, free: 68.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/0.9741, allocations: 11.71 MB / 0.6623 GB, free: 56.36 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003863/0.978, allocations: 3.999 MB / 0.6662 GB, free: 52.32 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004127/0.9821, allocations: 2.087 MB / 0.6683 GB, free: 50.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008196/0.983, allocations: 287.4 kB / 0.6685 GB, free: 49.95 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.983, allocations: 0 / 0.6685 GB, free: 49.95 MB / 478.1 MB Notification: Performance of Templates: time 0.07307/1.056, allocations: 43.93 MB / 0.7114 GB, free: 6.125 MB / 478.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches