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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 240.9 MB, free: 10.95 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000967/0.0009669, allocations: 109.6 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008342/0.0008346, allocations: 35.94 kB / 350 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2518, allocations: 49.44 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.05193/0.3038, allocations: 69.53 MB / 469 MB, free: 11.55 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02905/0.3329, allocations: 13.95 MB / 482.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01311/0.3461, allocations: 307.2 kB / 483.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009145/0.3553, allocations: 4.216 MB / 487.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007559/0.3629, allocations: 2.04 MB / 489.5 MB, free: 6.996 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.3653, allocations: 0.8582 MB / 490.4 MB, free: 6.137 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01006/0.3754, allocations: 8.794 MB / 499.2 MB, free: 13.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006992/0.3825, allocations: 5.112 MB / 0.4924 GB, free: 8.145 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003274/0.3858, allocations: 1.892 MB / 0.4943 GB, free: 6.246 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005008/0.3908, allocations: 3.007 MB / 0.4972 GB, free: 3.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0019/0.3927, allocations: 332 kB / 0.4975 GB, free: 2.906 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004033/0.3968, allocations: 1.283 MB / 0.4988 GB, free: 1.621 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2865/0.6833, allocations: 2.425 MB / 0.5012 GB, free: 11.13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006972/0.6903, allocations: 2.757 MB / 0.5039 GB, free: 10.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.7006, allocations: 8.823 MB / 0.5125 GB, free: 9.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.7007, allocations: 2.938 kB / 0.5125 GB, free: 9.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.7007, allocations: 0 / 0.5125 GB, free: 9.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003755/0.7011, allocations: 1.312 kB / 0.5125 GB, free: 9.812 MB / 378.7 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.0173/0.7184, allocations: 6.132 MB / 0.5185 GB, free: 7.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.7185, allocations: 8.5 kB / 0.5185 GB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/0.7311, allocations: 2.585 MB / 0.521 GB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/0.7416, allocations: 3.805 MB / 0.5247 GB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004304/0.7421, allocations: 306.1 kB / 0.525 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003096/0.7452, allocations: 431.6 kB / 0.5254 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02711/0.7724, allocations: 11.74 MB / 0.5369 GB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003785/0.7728, allocations: 47 kB / 0.5369 GB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002044/0.7748, allocations: 194.7 kB / 0.5371 GB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003556/0.7784, allocations: 2.091 MB / 0.5392 GB, free: 3.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02033/0.7988, allocations: 10.08 MB / 0.549 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07029/0.8691, allocations: 45.97 MB / 0.5939 GB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.8802, allocations: 4.375 MB / 0.5982 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003555/0.8838, allocations: 2.469 MB / 0.6006 GB, free: 8.844 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01765/0.9015, allocations: 9.853 MB / 0.6102 GB, free: 14.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.9016, allocations: 56.09 kB / 0.6103 GB, free: 14.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=171): time 5.961e-06/0.9016, allocations: 0 / 0.6103 GB, free: 14.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=197): time 0.05628/0.9579, allocations: 19.96 MB / 0.6297 GB, free: 10.81 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.958, allocations: 209.2 kB / 0.6299 GB, free: 10.56 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007978/0.966, allocations: 4.705 MB / 0.6345 GB, free: 5.844 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004181/0.9664, allocations: 49.7 kB / 0.6346 GB, free: 5.789 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002698/0.9691, allocations: 3.6 MB / 0.6381 GB, free: 2.191 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001065/0.9702, allocations: 0.7581 MB / 0.6388 GB, free: 1.438 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002689/0.9729, allocations: 1.346 MB / 0.6402 GB, free: 88 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.973, allocations: 305.1 kB / 0.6404 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003669/0.9767, allocations: 2.414 MB / 0.6428 GB, free: 13.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005878/0.9826, allocations: 6.267 MB / 0.6489 GB, free: 5.254 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01184/0.9945, allocations: 9.328 MB / 0.658 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001571/0.9947, allocations: 40 kB / 0.6581 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.02253/1.017, allocations: 9.797 MB / 0.6676 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001942/1.017, allocations: 62.66 kB / 0.6677 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002463/1.018, allocations: 136 kB / 0.6678 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004816/1.023, allocations: 1.616 MB / 0.6694 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005094/1.028, allocations: 1.491 MB / 0.6709 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/1.041, allocations: 9.536 MB / 0.6802 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005488/1.046, allocations: 366 kB / 0.6805 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/1.048, allocations: 392 kB / 0.6809 GB, free: 3.93 MB / 0.5105 GB 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.005702/1.054, allocations: 2.482 MB / 0.6833 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/1.055, allocations: 414.6 kB / 0.6837 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2575/1.313, allocations: 4.235 MB / 0.6879 GB, free: 221 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.502e-05/1.313, allocations: 21.09 kB / 0.6879 GB, free: 221 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.469e-05/1.313, allocations: 7.906 kB / 0.6879 GB, free: 221 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.192e-05/1.313, allocations: 9.766 kB / 0.6879 GB, free: 221 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01899/1.332, allocations: 9.764 MB / 0.6974 GB, free: 218.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/1.332, allocations: 6.484 kB / 0.6974 GB, free: 218.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/1.333, allocations: 295.8 kB / 0.6977 GB, free: 218.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00372/1.337, allocations: 1.361 MB / 0.699 GB, free: 217.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002303/1.337, allocations: 37.39 kB / 0.6991 GB, free: 217.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008857/1.346, allocations: 8.732 MB / 0.7076 GB, free: 213 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.346, allocations: 4.719 kB / 0.7076 GB, free: 213 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06526/1.411, allocations: 42.96 MB / 0.7496 GB, free: 174.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007255/1.412, allocations: 459.3 kB / 0.75 GB, free: 174.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004537/1.413, allocations: 28 kB / 0.75 GB, free: 174.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.414, allocations: 111.8 kB / 0.7501 GB, free: 174.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003521/1.415, allocations: 125.1 kB / 0.7503 GB, free: 174 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/1.415, allocations: 49.64 kB / 0.7503 GB, free: 173.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003489/1.418, allocations: 2.968 MB / 0.7532 GB, free: 171 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/1.418, allocations: 3.094 kB / 0.7532 GB, free: 171 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005345/1.424, allocations: 1.598 MB / 0.7548 GB, free: 169.4 MB / 0.5105 GB 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 (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.000378/1.424, allocations: 174.1 kB / 0.7549 GB, free: 169.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007338/1.431, allocations: 5.967 MB / 0.7608 GB, free: 163.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.431, allocations: 0 / 0.7608 GB, free: 163.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002486/1.434, allocations: 2.009 MB / 0.7627 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/1.437, allocations: 0.5126 MB / 0.7632 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/1.454, allocations: 15.37 MB / 0.7782 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003888/1.458, allocations: 3.933 MB / 0.7821 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004515/1.463, allocations: 2.004 MB / 0.784 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007395/1.464, allocations: 267.4 kB / 0.7843 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/1.464, allocations: 0 / 0.7843 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.07354/1.537, allocations: 53.58 MB / 0.8366 GB, free: 85.81 MB / 0.5105 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches