Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001295, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001375, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247.4 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 46.11 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 75.81 kB / 418.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1252, allocations: 62.45 MB / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01419/0.1395, allocations: 13.48 MB / 494.2 MB, free: 7.727 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.15, allocations: 4.555 MB / 498.7 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003082/0.1532, allocations: 95.69 kB / 498.8 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008388/0.1616, allocations: 4.182 MB / 0.4912 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00637/0.168, allocations: 2.136 MB / 0.4933 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.1706, allocations: 0.9204 MB / 0.4942 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00914/0.1797, allocations: 6.124 MB / 0.5002 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007999/0.1878, allocations: 5.208 MB / 0.5053 GB, free: 400 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2535/0.4414, allocations: 2.112 MB / 0.5073 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006195/0.4476, allocations: 2.791 MB / 0.5101 GB, free: 16.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002539/0.4502, allocations: 472.6 kB / 0.5105 GB, free: 16.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005671/0.4559, allocations: 1.337 MB / 0.5118 GB, free: 16.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006117/0.4621, allocations: 2.491 MB / 0.5143 GB, free: 16.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008619/0.4707, allocations: 2.84 MB / 0.517 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01528/0.486, allocations: 8.797 MB / 0.5256 GB, free: 13.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4861, allocations: 0 / 0.5256 GB, free: 13.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4861, allocations: 0 / 0.5256 GB, free: 13.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004604/0.4866, allocations: 2.25 kB / 0.5256 GB, free: 13.22 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: 1731 * Number of variables: 1731 Notification: Performance of Generate backend data structure: time 0.02307/0.5097, allocations: 6.071 MB / 0.5315 GB, free: 9.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.5097, allocations: 13.48 kB / 0.5316 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/0.5238, allocations: 2.578 MB / 0.5341 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/0.5349, allocations: 3.737 MB / 0.5377 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003413/0.5353, allocations: 295.2 kB / 0.538 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002604/0.5379, allocations: 439.6 kB / 0.5384 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02668/0.5646, allocations: 11.55 MB / 0.5497 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003048/0.565, allocations: 54.97 kB / 0.5498 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001849/0.5669, allocations: 187.7 kB / 0.5499 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00383/0.5707, allocations: 2.029 MB / 0.5519 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/0.5934, allocations: 9.935 MB / 0.5616 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07268/0.6661, allocations: 45.55 MB / 0.6061 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.6781, allocations: 4.359 MB / 0.6104 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003858/0.682, allocations: 2.463 MB / 0.6128 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0179/0.6999, allocations: 9.853 MB / 0.6224 GB, free: 2.059 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.469e-05/0.7, allocations: 59.55 kB / 0.6224 GB, free: 1.992 MB / 462.1 MB Notification: Performance of pre-optimization done (n=171): time 4.849e-06/0.7, allocations: 0 / 0.6224 GB, free: 1.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=197): time 0.06052/0.7606, allocations: 19.9 MB / 0.6419 GB, free: 14.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.7608, allocations: 211.8 kB / 0.6421 GB, free: 13.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/0.7712, allocations: 4.689 MB / 0.6467 GB, free: 9.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005841/0.7718, allocations: 53.7 kB / 0.6467 GB, free: 9.027 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003234/0.7751, allocations: 3.562 MB / 0.6502 GB, free: 5.469 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001329/0.7764, allocations: 0.7639 MB / 0.6509 GB, free: 4.711 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003709/0.7802, allocations: 1.333 MB / 0.6522 GB, free: 3.367 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7803, allocations: 301.1 kB / 0.6525 GB, free: 3.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00436/0.7847, allocations: 2.406 MB / 0.6549 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007562/0.7923, allocations: 6.251 MB / 0.661 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01276/0.8051, allocations: 9.292 MB / 0.6701 GB, free: 13.95 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001363/0.8052, allocations: 36 kB / 0.6701 GB, free: 13.91 MB / 0.5138 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02266/0.8279, allocations: 9.779 MB / 0.6796 GB, free: 4.266 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.8281, allocations: 60 kB / 0.6797 GB, free: 4.207 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002655/0.8284, allocations: 140 kB / 0.6798 GB, free: 4.07 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005008/0.8334, allocations: 1.616 MB / 0.6814 GB, free: 2.449 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005366/0.8388, allocations: 1.482 MB / 0.6829 GB, free: 0.9648 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/0.854, allocations: 10.26 MB / 0.6929 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006386/0.8605, allocations: 359.3 kB / 0.6932 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001645/0.8622, allocations: 392 kB / 0.6936 GB, free: 5.695 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.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 (793): * Single equations (assignments): 788 * 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.007003/0.8692, allocations: 2.466 MB / 0.696 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/0.8705, allocations: 402.8 kB / 0.6964 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/0.8809, allocations: 4.235 MB / 0.7005 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-05/0.881, allocations: 24 kB / 0.7005 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-05/0.881, allocations: 8 kB / 0.7005 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.345e-05/0.881, allocations: 11.91 kB / 0.7006 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02805/0.9091, allocations: 9.719 MB / 0.71 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/0.9092, allocations: 4 kB / 0.7101 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/0.9109, allocations: 299.5 kB / 0.7103 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00464/0.9156, allocations: 1.368 MB / 0.7117 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005256/0.9161, allocations: 34.34 kB / 0.7117 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2752/1.191, allocations: 9.377 MB / 0.7209 GB, free: 189.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.191, allocations: 4.688 kB / 0.7209 GB, free: 189.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/1.204, allocations: 6.963 MB / 0.7277 GB, free: 186.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/1.206, allocations: 458.2 kB / 0.7281 GB, free: 186.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008909/1.207, allocations: 34.16 kB / 0.7281 GB, free: 186.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/1.208, allocations: 118.2 kB / 0.7283 GB, free: 186.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005165/1.209, allocations: 117.7 kB / 0.7284 GB, free: 186.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.209, allocations: 53.89 kB / 0.7284 GB, free: 186.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005815/1.215, allocations: 2.956 MB / 0.7313 GB, free: 185.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.482e-06/1.215, allocations: 0 / 0.7313 GB, free: 185.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007019/1.222, allocations: 1.182 MB / 0.7325 GB, free: 185.6 MB / 0.545 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.0005851/1.223, allocations: 165.1 kB / 0.7326 GB, free: 185.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01162/1.234, allocations: 7.035 MB / 0.7395 GB, free: 183.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.234, allocations: 0 / 0.7395 GB, free: 183.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002921/1.237, allocations: 2 MB / 0.7414 GB, free: 182.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/1.241, allocations: 0.546 MB / 0.742 GB, free: 182.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/1.262, allocations: 11.66 MB / 0.7534 GB, free: 174.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004683/1.266, allocations: 3.802 MB / 0.7571 GB, free: 171.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/1.268, allocations: 314.5 kB / 0.7574 GB, free: 171 MB / 0.545 GB Notification: Performance of SimCode: time 8.01e-07/1.268, allocations: 5.469 kB / 0.7574 GB, free: 171 MB / 0.545 GB Notification: Performance of Templates: time 0.1285/1.396, allocations: 111.7 MB / 0.8665 GB, free: 60.97 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches