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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 187 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009643/0.0009643, allocations: 98.28 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3213/0.3213, allocations: 43.5 MB / 360.7 MB, free: 51.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009646/0.0009648, allocations: 47.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1149, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.2873/0.4022, allocations: 82.25 MB / 0.5559 GB, free: 11.38 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03172/0.4339, allocations: 15.94 MB / 0.5715 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01828/0.4522, allocations: 353.9 kB / 0.5718 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009423/0.4617, allocations: 4.781 MB / 0.5765 GB, free: 14.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.4718, allocations: 3.009 MB / 0.5794 GB, free: 13.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003058/0.4749, allocations: 0.8349 MB / 0.5803 GB, free: 12.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01731/0.4923, allocations: 11.96 MB / 0.5919 GB, free: 8.488 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01357/0.5059, allocations: 6.366 MB / 0.5982 GB, free: 3.645 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006052/0.512, allocations: 2.651 MB / 0.6007 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007542/0.5195, allocations: 4.342 MB / 0.605 GB, free: 12.63 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002341/0.5219, allocations: 456 kB / 0.6054 GB, free: 12.18 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004966/0.5269, allocations: 1.338 MB / 0.6067 GB, free: 10.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005608/0.5326, allocations: 3.627 MB / 0.6103 GB, free: 7.207 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007287/0.5399, allocations: 4.236 MB / 0.6144 GB, free: 2.945 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0154/0.5553, allocations: 13.34 MB / 0.6274 GB, free: 5.566 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5553, allocations: 0 / 0.6274 GB, free: 5.566 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5554, allocations: 0 / 0.6274 GB, free: 5.566 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004984/0.5559, allocations: 0 / 0.6274 GB, free: 5.566 MB / 442.7 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.0203/0.5762, allocations: 9.041 MB / 0.6363 GB, free: 12.44 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.5762, allocations: 8.031 kB / 0.6363 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02171/0.598, allocations: 5.46 MB / 0.6416 GB, free: 6.949 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01234/0.6103, allocations: 5.082 MB / 0.6466 GB, free: 1.809 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004786/0.6109, allocations: 455.9 kB / 0.647 GB, free: 1.363 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002834/0.6137, allocations: 0.5859 MB / 0.6476 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03229/0.646, allocations: 20.54 MB / 0.6676 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000229/0.6463, allocations: 63.47 kB / 0.6677 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00111/0.6474, allocations: 279.7 kB / 0.668 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006323/0.6538, allocations: 4.353 MB / 0.6722 GB, free: 6.473 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03241/0.6862, allocations: 18.25 MB / 0.69 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4587/1.145, allocations: 75.57 MB / 0.7638 GB, free: 95.51 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01741/1.162, allocations: 8.178 MB / 0.7718 GB, free: 92.04 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006118/1.169, allocations: 5.354 MB / 0.777 GB, free: 89.85 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/1.169, allocations: 72.61 kB / 0.7771 GB, free: 89.83 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/1.169, allocations: 69.16 kB / 0.7772 GB, free: 89.77 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=450): time 5.761e-06/1.169, allocations: 0 / 0.7772 GB, free: 89.77 MB / 0.4949 GB Notification: Performance of matching and sorting (n=497): time 0.0844/1.253, allocations: 42.94 MB / 0.8191 GB, free: 57.36 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/1.254, allocations: 223 kB / 0.8193 GB, free: 57.09 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008455/1.262, allocations: 6.525 MB / 0.8257 GB, free: 50.57 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001003/1.263, allocations: 89.7 kB / 0.8258 GB, free: 50.47 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002476/1.266, allocations: 5.647 MB / 0.8313 GB, free: 44.82 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001939/1.267, allocations: 1.804 MB / 0.8331 GB, free: 42.99 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002889/1.27, allocations: 2.313 MB / 0.8353 GB, free: 40.66 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 5.053e-05/1.27, allocations: 301.1 kB / 0.8356 GB, free: 40.37 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005988/1.276, allocations: 5.203 MB / 0.8407 GB, free: 35.16 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009361/1.286, allocations: 11.39 MB / 0.8518 GB, free: 20.79 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01728/1.303, allocations: 17.93 MB / 0.8693 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002029/1.303, allocations: 60 kB / 0.8694 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1524) (initialization): time 0.2691/1.572, allocations: 18.35 MB / 0.8873 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001811/1.573, allocations: 96.56 kB / 0.8874 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004527/1.573, allocations: 217.2 kB / 0.8876 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007265/1.58, allocations: 2.35 MB / 0.8899 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009389/1.59, allocations: 2.646 MB / 0.8925 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/1.607, allocations: 16.15 MB / 0.9082 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009101/1.616, allocations: 0.6783 MB / 0.9089 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002263/1.618, allocations: 0.6338 MB / 0.9095 GB, free: 134.7 MB / 0.5105 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 (1400): * Single equations (assignments): 1387 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (3,40,77.8%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008721/1.627, allocations: 4.195 MB / 0.9136 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/1.628, allocations: 0.6064 MB / 0.9142 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/1.646, allocations: 10.59 MB / 0.9245 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001407/1.646, allocations: 90.95 kB / 0.9246 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.314e-05/1.646, allocations: 13.56 kB / 0.9246 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.021e-05/1.646, allocations: 22.77 kB / 0.9247 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04281/1.689, allocations: 22.65 MB / 0.9468 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.773e-05/1.689, allocations: 16.31 kB / 0.9468 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003795/1.693, allocations: 0.7817 MB / 0.9476 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005226/1.698, allocations: 2.034 MB / 0.9496 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001078/1.699, allocations: 85.55 kB / 0.9496 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/1.713, allocations: 15.02 MB / 0.9643 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-06/1.713, allocations: 15.94 kB / 0.9643 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1138/1.827, allocations: 79.8 MB / 1.042 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003985/1.831, allocations: 1.414 MB / 1.044 GB, free: 29.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001218/1.833, allocations: 91.92 kB / 1.044 GB, free: 29.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003343/1.836, allocations: 325.4 kB / 1.044 GB, free: 28.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007822/1.837, allocations: 298.6 kB / 1.044 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003008/1.837, allocations: 126.4 kB / 1.044 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006671/1.844, allocations: 4.06 MB / 1.048 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/1.844, allocations: 0 / 1.048 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01184/1.856, allocations: 2.661 MB / 1.051 GB, free: 21.62 MB / 0.5105 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,37,77.8%), (1,2,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009986/1.857, allocations: 253.9 kB / 1.051 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01699/1.874, allocations: 12.69 MB / 1.064 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/1.874, allocations: 4 kB / 1.064 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006832/1.881, allocations: 5.115 MB / 1.069 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006414/1.887, allocations: 0.761 MB / 1.069 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2583/2.145, allocations: 28.72 MB / 1.097 GB, free: 147.9 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01003/2.155, allocations: 6.254 MB / 1.104 GB, free: 146.9 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01057/2.166, allocations: 4.137 MB / 1.108 GB, free: 146.8 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002652/2.169, allocations: 457.5 kB / 1.108 GB, free: 146.8 MB / 0.5262 GB Notification: Performance of SimCode: time 1.443e-06/2.169, allocations: 0 / 1.108 GB, free: 146.8 MB / 0.5262 GB Notification: Performance of Templates: time 0.146/2.315, allocations: 93.32 MB / 1.199 GB, free: 81.54 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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