Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 97.45 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 174.6 kB / 16.56 MB, free: 6.379 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.463/1.463, allocations: 205.4 MB / 222.7 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3738/0.3738, allocations: 43.54 MB / 314.5 MB, free: 9.055 MB / 254.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.0004937/0.0004937, allocations: 16 kB / 383.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1249, allocations: 58.85 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.2774/0.4023, allocations: 70.43 MB / 0.5012 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03546/0.4378, allocations: 15.96 MB / 0.5167 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01694/0.4548, allocations: 356.4 kB / 0.5171 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0161/0.471, allocations: 3.585 MB / 0.5206 GB, free: 8.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04008/0.5111, allocations: 10.15 MB / 0.5305 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006475/0.5176, allocations: 0.7969 MB / 0.5313 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04286/0.5605, allocations: 28.04 MB / 0.5587 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01374/0.5743, allocations: 7.812 MB / 0.5663 GB, free: 1.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004924/0.5793, allocations: 1.989 MB / 0.5682 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005467/0.5848, allocations: 2.652 MB / 0.5708 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002785/0.5877, allocations: 288 kB / 0.5711 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004874/0.5926, allocations: 1.003 MB / 0.5721 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005378/0.598, allocations: 3.09 MB / 0.5751 GB, free: 8.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003968/0.602, allocations: 1.649 MB / 0.5767 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01381/0.6159, allocations: 10.96 MB / 0.5874 GB, free: 11.88 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6159, allocations: 0 / 0.5874 GB, free: 11.88 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.6159, allocations: 0 / 0.5874 GB, free: 11.88 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005487/0.6165, allocations: 0 / 0.5874 GB, free: 11.88 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.0181/0.6346, allocations: 7.743 MB / 0.595 GB, free: 4.043 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.6346, allocations: 8.031 kB / 0.595 GB, free: 4.035 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05291/0.6876, allocations: 11.53 MB / 0.6062 GB, free: 8.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/0.7022, allocations: 5.367 MB / 0.6115 GB, free: 3.031 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000433/0.7027, allocations: 451.5 kB / 0.6119 GB, free: 2.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003408/0.7061, allocations: 0.5855 MB / 0.6125 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4437/1.15, allocations: 20.53 MB / 0.6325 GB, free: 130.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002697/1.15, allocations: 72.03 kB / 0.6326 GB, free: 130.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001204/1.151, allocations: 286.2 kB / 0.6329 GB, free: 130.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00634/1.158, allocations: 4.348 MB / 0.6371 GB, free: 130.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0367/1.194, allocations: 18.13 MB / 0.6548 GB, free: 126 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1022/1.297, allocations: 75.23 MB / 0.7283 GB, free: 72.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/1.313, allocations: 8.147 MB / 0.7362 GB, free: 63.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00046/1.314, allocations: 59.02 kB / 0.7363 GB, free: 63.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/1.314, allocations: 81.19 kB / 0.7364 GB, free: 63.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=450): time 8.887e-06/1.314, allocations: 3.938 kB / 0.7364 GB, free: 63.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=497): time 0.09516/1.409, allocations: 42.73 MB / 0.7781 GB, free: 20.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/1.409, allocations: 227 kB / 0.7783 GB, free: 20.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008561/1.418, allocations: 6.752 MB / 0.7849 GB, free: 13.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00114/1.419, allocations: 94.88 kB / 0.785 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003011/1.422, allocations: 5.688 MB / 0.7905 GB, free: 7.852 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002151/1.424, allocations: 1.813 MB / 0.7923 GB, free: 6.055 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007781/1.425, allocations: 220.9 kB / 0.7925 GB, free: 5.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005212/1.425, allocations: 0.7934 MB / 0.7933 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006/1.431, allocations: 4.941 MB / 0.7981 GB, free: 96 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01344/1.445, allocations: 11.06 MB / 0.8089 GB, free: 2.043 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/1.457, allocations: 7.357 MB / 0.8161 GB, free: 10.68 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002238/1.457, allocations: 60 kB / 0.8162 GB, free: 10.62 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.2839/1.741, allocations: 17.27 MB / 0.833 GB, free: 140.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001649/1.742, allocations: 100.2 kB / 0.8331 GB, free: 140.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003428/1.742, allocations: 217.8 kB / 0.8333 GB, free: 140.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005026/1.747, allocations: 1.852 MB / 0.8351 GB, free: 140.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009232/1.756, allocations: 2.587 MB / 0.8377 GB, free: 140.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/1.772, allocations: 15.04 MB / 0.8524 GB, free: 133.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009046/1.781, allocations: 0.668 MB / 0.853 GB, free: 133.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002309/1.783, allocations: 0.6272 MB / 0.8536 GB, free: 133.2 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 975 * Number of states: 0 () * Number of discrete variables: 51 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],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 (1360): * Single equations (assignments): 1347 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 42,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009398/1.793, allocations: 4.191 MB / 0.8577 GB, free: 131.6 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001535/1.794, allocations: 0.6134 MB / 0.8583 GB, free: 131.6 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01793/1.812, allocations: 9.837 MB / 0.8679 GB, free: 128 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001815/1.813, allocations: 86.62 kB / 0.868 GB, free: 128 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.393e-05/1.813, allocations: 11.11 kB / 0.868 GB, free: 128 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001253/1.813, allocations: 24.47 kB / 0.868 GB, free: 128 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04475/1.857, allocations: 21.93 MB / 0.8895 GB, free: 120.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.685e-05/1.858, allocations: 7.906 kB / 0.8895 GB, free: 120.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003742/1.861, allocations: 0.7866 MB / 0.8902 GB, free: 120.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003941/1.865, allocations: 1.506 MB / 0.8917 GB, free: 119.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001085/1.866, allocations: 97.84 kB / 0.8918 GB, free: 119.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/1.879, allocations: 14.05 MB / 0.9055 GB, free: 110.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/1.879, allocations: 22.09 kB / 0.9055 GB, free: 110.9 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01989/1.899, allocations: 17.52 MB / 0.9226 GB, free: 95.25 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003919/1.903, allocations: 1.412 MB / 0.924 GB, free: 93.86 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001369/1.905, allocations: 83.98 kB / 0.9241 GB, free: 93.78 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003231/1.908, allocations: 318.6 kB / 0.9244 GB, free: 93.47 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006799/1.909, allocations: 295.4 kB / 0.9247 GB, free: 93.19 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003063/1.909, allocations: 128 kB / 0.9248 GB, free: 93.06 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005423/1.914, allocations: 4.226 MB / 0.9289 GB, free: 88.85 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.91e-07/1.914, allocations: 0 / 0.9289 GB, free: 88.85 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008876/1.923, allocations: 2.071 MB / 0.931 GB, free: 86.79 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * 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 (381): * Single equations (assignments): 368 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 39,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008258/1.924, allocations: 269.2 kB / 0.9312 GB, free: 86.53 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01586/1.94, allocations: 12.21 MB / 0.9431 GB, free: 74.33 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/1.94, allocations: 4 kB / 0.9432 GB, free: 74.33 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006363/1.946, allocations: 4.96 MB / 0.948 GB, free: 69.32 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004166/1.951, allocations: 0.7357 MB / 0.9487 GB, free: 68.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03437/1.985, allocations: 24 MB / 0.9721 GB, free: 44.43 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009249/1.994, allocations: 6.267 MB / 0.9783 GB, free: 38.12 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01111/2.006, allocations: 4.107 MB / 0.9823 GB, free: 34.01 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002168/2.008, allocations: 455.4 kB / 0.9827 GB, free: 33.56 MB / 0.5138 GB Notification: Performance of SimCode: time 1.242e-06/2.008, allocations: 0 / 0.9827 GB, free: 33.56 MB / 0.5138 GB Notification: Performance of Templates: time 0.3531/2.361, allocations: 71.06 MB / 1.052 GB, free: 145.6 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/GearConstraint/GearConstraint.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches