Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001496/0.001496, allocations: 111 kB / 17.75 MB, free: 5.344 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.001792/0.001792, allocations: 186.5 kB / 18.68 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009264/0.0009264, allocations: 47.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2067, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01374/0.2205, allocations: 13.58 MB / 415 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007666/0.2282, allocations: 4.545 MB / 419.5 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009504/0.2291, allocations: 91.75 kB / 419.6 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006635/0.2358, allocations: 4.198 MB / 423.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.2395, allocations: 2.237 MB / 426.1 MB, free: 116 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.241, allocations: 0.9243 MB / 427 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006131/0.2471, allocations: 6.069 MB / 433.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005204/0.2524, allocations: 5.219 MB / 438.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002438/0.2548, allocations: 2.138 MB / 440.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003073/0.2579, allocations: 2.824 MB / 443.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007086/0.2586, allocations: 476 kB / 443.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.2608, allocations: 1.358 MB / 445.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00199/0.2628, allocations: 2.564 MB / 447.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002385/0.2652, allocations: 2.886 MB / 450.5 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007693/0.2729, allocations: 9.177 MB / 459.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2729, allocations: 0 / 459.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.2729, allocations: 4 kB / 459.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001399/0.2731, allocations: 0 / 459.7 MB, free: 14.34 MB / 382.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.01075/0.2838, allocations: 6.13 MB / 465.8 MB, free: 8.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2839, allocations: 8.031 kB / 465.8 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.2957, allocations: 2.575 MB / 468.4 MB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008666/0.3044, allocations: 3.882 MB / 472.3 MB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.3047, allocations: 300.2 kB / 472.6 MB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009493/0.3056, allocations: 435.8 kB / 473 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01838/0.324, allocations: 11.73 MB / 484.7 MB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001586/0.3242, allocations: 51.59 kB / 484.8 MB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007129/0.3249, allocations: 187.8 kB / 485 MB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0035/0.3284, allocations: 2.093 MB / 487.1 MB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/0.3466, allocations: 10.08 MB / 497.1 MB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05128/0.3979, allocations: 45.76 MB / 0.5302 GB, free: 8.828 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.4091, allocations: 4.366 MB / 0.5344 GB, free: 4.316 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003123/0.4123, allocations: 2.475 MB / 0.5369 GB, free: 1.832 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1846/0.5969, allocations: 9.846 MB / 0.5465 GB, free: 126.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.5969, allocations: 50.53 kB / 0.5465 GB, free: 126.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=171): time 4.849e-06/0.597, allocations: 0 / 0.5465 GB, free: 126.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=197): time 0.04673/0.6437, allocations: 19.97 MB / 0.566 GB, free: 114.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.6438, allocations: 201.2 kB / 0.5662 GB, free: 114.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004318/0.6481, allocations: 4.709 MB / 0.5708 GB, free: 109.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.6482, allocations: 53.7 kB / 0.5709 GB, free: 109.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.6495, allocations: 3.598 MB / 0.5744 GB, free: 105.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000404/0.6499, allocations: 0.763 MB / 0.5751 GB, free: 105 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/0.6511, allocations: 1.336 MB / 0.5764 GB, free: 103.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.561e-05/0.6512, allocations: 305.1 kB / 0.5767 GB, free: 103.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002588/0.6538, allocations: 2.406 MB / 0.5791 GB, free: 101 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003632/0.6574, allocations: 6.273 MB / 0.5852 GB, free: 92.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006683/0.6641, allocations: 9.331 MB / 0.5943 GB, free: 81.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.182e-05/0.6642, allocations: 40 kB / 0.5943 GB, free: 81.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=858) (initialization): time 0.0126/0.6768, allocations: 9.802 MB / 0.6039 GB, free: 71.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.645e-05/0.6769, allocations: 60 kB / 0.604 GB, free: 71.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.22e-05/0.6769, allocations: 136 kB / 0.6041 GB, free: 71.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00387/0.6808, allocations: 1.617 MB / 0.6057 GB, free: 69.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003783/0.6846, allocations: 1.485 MB / 0.6071 GB, free: 68.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.6948, allocations: 10.25 MB / 0.6171 GB, free: 57.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003645/0.6985, allocations: 371.3 kB / 0.6175 GB, free: 57.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003669/0.6989, allocations: 395.4 kB / 0.6179 GB, free: 57.16 MB / 462.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 (796): * Single equations (assignments): 791 * 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.002539/0.7014, allocations: 2.488 MB / 0.6203 GB, free: 54.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/0.7019, allocations: 406.8 kB / 0.6207 GB, free: 54.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007007/0.7089, allocations: 4.236 MB / 0.6248 GB, free: 50.01 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.7089, allocations: 12.09 kB / 0.6248 GB, free: 50 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.7089, allocations: 0 / 0.6248 GB, free: 50 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005671/0.7095, allocations: 459.7 kB / 0.6253 GB, free: 49.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004792/0.71, allocations: 31.98 kB / 0.6253 GB, free: 49.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/0.7116, allocations: 115.8 kB / 0.6254 GB, free: 49.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003052/0.7119, allocations: 144.8 kB / 0.6256 GB, free: 49.25 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007466/0.7193, allocations: 4.644 MB / 0.6301 GB, free: 44.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005643/0.725, allocations: 5.718 MB / 0.6357 GB, free: 38.88 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001506/0.7265, allocations: 1.486 MB / 0.6371 GB, free: 37.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003066/0.7296, allocations: 2.972 MB / 0.64 GB, free: 34.43 MB / 462.1 MB Notification: Performance of Backend: time 3.71e-07/0.7296, allocations: 0 / 0.64 GB, free: 34.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007754/0.7374, allocations: 4.891 MB / 0.6448 GB, free: 29.57 MB / 462.1 MB Notification: Performance of SimCode: time 0.01242/0.7498, allocations: 11.12 MB / 0.6557 GB, free: 18.41 MB / 462.1 MB Notification: Performance of Templates: time 0.08502/0.8348, allocations: 53.78 MB / 0.7082 GB, free: 12.91 MB / 0.4981 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches