Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001403/0.001403, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.355/1.355, allocations: 222.9 MB / 242.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2121/0.2121, allocations: 44.18 MB / 336.9 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 60.41 kB / 408.5 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1106, allocations: 60.83 MB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.2949/0.4056, allocations: 69.57 MB / 0.5263 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03423/0.4399, allocations: 13.85 MB / 0.5398 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01658/0.4565, allocations: 304.1 kB / 0.5401 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007553/0.4641, allocations: 4.053 MB / 0.5441 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005985/0.4702, allocations: 2.041 MB / 0.5461 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.4724, allocations: 0.8728 MB / 0.5469 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008395/0.4808, allocations: 6.465 MB / 0.5532 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007511/0.4884, allocations: 5.506 MB / 0.5586 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004123/0.4925, allocations: 2.181 MB / 0.5608 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004914/0.4975, allocations: 3.128 MB / 0.5638 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001572/0.4991, allocations: 476 kB / 0.5643 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.5027, allocations: 1.377 MB / 0.5656 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003456/0.5062, allocations: 2.572 MB / 0.5681 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004838/0.511, allocations: 2.921 MB / 0.571 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009983/0.521, allocations: 7.364 MB / 0.5782 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.5211, allocations: 3.984 kB / 0.5782 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5211, allocations: 0 / 0.5782 GB, free: 5.219 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003638/0.5215, allocations: 0 / 0.5782 GB, free: 5.219 MB / 414.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.01511/0.5366, allocations: 6.137 MB / 0.5842 GB, free: 15.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.5366, allocations: 12.03 kB / 0.5842 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.5487, allocations: 2.579 MB / 0.5867 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008496/0.5572, allocations: 3.797 MB / 0.5904 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002932/0.5575, allocations: 304.2 kB / 0.5907 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001703/0.5592, allocations: 439.9 kB / 0.5911 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0256/0.5848, allocations: 11.73 MB / 0.6026 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002474/0.5851, allocations: 55.48 kB / 0.6026 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00137/0.5865, allocations: 191.8 kB / 0.6028 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00359/0.5901, allocations: 2.089 MB / 0.6048 GB, free: 9.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02104/0.6112, allocations: 10.09 MB / 0.6147 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06017/0.6714, allocations: 45.97 MB / 0.6596 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/0.6827, allocations: 4.37 MB / 0.6639 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003422/0.6862, allocations: 2.464 MB / 0.6663 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01704/0.7032, allocations: 9.863 MB / 0.6759 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/0.7033, allocations: 51.56 kB / 0.6759 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=171): time 8.355e-06/0.7034, allocations: 0 / 0.6759 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197): time 0.05818/0.7615, allocations: 19.95 MB / 0.6954 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.7617, allocations: 213.2 kB / 0.6956 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008919/0.7706, allocations: 4.713 MB / 0.7002 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004914/0.7712, allocations: 61.64 kB / 0.7003 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002977/0.7742, allocations: 3.595 MB / 0.7038 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/0.7754, allocations: 0.7637 MB / 0.7045 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2634/1.039, allocations: 1.334 MB / 0.7058 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.804e-05/1.039, allocations: 305.8 kB / 0.7061 GB, free: 190.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004581/1.044, allocations: 2.411 MB / 0.7085 GB, free: 190.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006297/1.05, allocations: 6.278 MB / 0.7146 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/1.06, allocations: 9.323 MB / 0.7237 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002245/1.06, allocations: 38.81 kB / 0.7238 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01963/1.08, allocations: 9.794 MB / 0.7333 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/1.08, allocations: 71.38 kB / 0.7334 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001667/1.08, allocations: 133.8 kB / 0.7335 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004241/1.085, allocations: 1.615 MB / 0.7351 GB, free: 173 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004906/1.09, allocations: 1.485 MB / 0.7366 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/1.101, allocations: 10.25 MB / 0.7466 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005339/1.106, allocations: 366.7 kB / 0.7469 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/1.108, allocations: 391.7 kB / 0.7473 GB, free: 166.1 MB / 0.5294 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.003969/1.112, allocations: 2.488 MB / 0.7497 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000807/1.112, allocations: 410.5 kB / 0.7501 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006758/1.119, allocations: 4.231 MB / 0.7542 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.065e-05/1.119, allocations: 20 kB / 0.7543 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/1.119, allocations: 10.95 kB / 0.7543 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.62e-05/1.119, allocations: 7.969 kB / 0.7543 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/1.135, allocations: 9.783 MB / 0.7638 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/1.135, allocations: 0 / 0.7638 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/1.136, allocations: 299.6 kB / 0.7641 GB, free: 150 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003496/1.14, allocations: 1.362 MB / 0.7654 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002611/1.14, allocations: 36 kB / 0.7655 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009029/1.149, allocations: 9.384 MB / 0.7746 GB, free: 139 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.149, allocations: 0 / 0.7746 GB, free: 139 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009316/1.158, allocations: 6.982 MB / 0.7815 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/1.16, allocations: 455.7 kB / 0.7819 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007831/1.16, allocations: 33.36 kB / 0.7819 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/1.162, allocations: 119.8 kB / 0.782 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003889/1.162, allocations: 136.3 kB / 0.7822 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/1.163, allocations: 44 kB / 0.7822 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003716/1.166, allocations: 2.972 MB / 0.7851 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/1.166, allocations: 0 / 0.7851 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006029/1.172, allocations: 1.203 MB / 0.7863 GB, free: 127.1 MB / 0.5294 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.0005335/1.173, allocations: 171.2 kB / 0.7865 GB, free: 127 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0107/1.184, allocations: 7.014 MB / 0.7933 GB, free: 120 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.184, allocations: 4.062 kB / 0.7933 GB, free: 120 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002641/1.186, allocations: 2.009 MB / 0.7953 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/1.19, allocations: 0.5527 MB / 0.7958 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/1.208, allocations: 14.13 MB / 0.8096 GB, free: 103.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003269/1.212, allocations: 3.836 MB / 0.8134 GB, free: 99.38 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/1.213, allocations: 319.4 kB / 0.8137 GB, free: 99.07 MB / 0.5294 GB Notification: Performance of SimCode: time 9.21e-07/1.213, allocations: 0 / 0.8137 GB, free: 99.07 MB / 0.5294 GB Notification: Performance of Templates: time 0.3067/1.519, allocations: 113 MB / 0.924 GB, free: 169 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches